-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Unimplemented attribute #826
Conversation
whoops... looks like I somehow merged @DmitryVasilevsky 's changes with my own here. I'll try to fix this up... |
d3d32fe
to
97a5024
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This implementation LGTM. Thank you!
Since we had that discussion about the fate of @Config()
recently, looking at this PR with fresh eyes, this feature seems more-or-less equivalent to the @Config()
attribute. We could define a special Config expression that should never be true, like @Config(Unimplemented)
. Would reduce complexity (since it would just get handled along with all the other @Config
ged items in the preprocessing step) and I think the behavior would be ... the same? Minus some very specific error reporting... which could be worth the added complexity.
That's my current take on the feature itself, but I'm happy whichever way you decide to go. Thanks for all the revisions and discussion!
This change introduces the @unimplemented() attributed which can be used to mark an item as something that should not be used. The motivation behind including this and not just treating it as a Not Found error is to give the user more information that this API may have previously existing and is not currently supported (see #699 for context).
Co-authored-by: Scott Carda <[email protected]>
c823d7c
to
d2fa415
Compare
This change introduces the
@Unimplemented()
attributed which can be used to mark an item as something that should not be used. The motivation behind including this and not just treating it as aNot Found
error is to give the user more information that this API may have previously existing and is not currently supported (see #699 for context).