-
Notifications
You must be signed in to change notification settings - Fork 174
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
Field deprecation via schema using directive @deprecated #8
Comments
This would be a great addition - directives aren't being removed, the |
Cool, I'll get that going. Thanks! |
acidbluebriggs
pushed a commit
to acidbluebriggs/graphql-java-tools
that referenced
this issue
Apr 27, 2017
…), or an empty @deprecated, directive can be used within the schema definition and the messages will now be available when a client introspects the schema for deprecated values. The README.md has also been updated to reflect the new addition.
acidbluebriggs
pushed a commit
to acidbluebriggs/graphql-java-tools
that referenced
this issue
May 2, 2017
…), or an empty @deprecated, directive can be used within the schema definition and the messages will now be available when a client introspects the schema for deprecated values. The README.md has also been updated to reflect the new addition.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There doesn't seem to be a way to publish deprecated messages for Fields/Enums. There is an implementation of a @deprecated directive added to the graphql-js implementation found At this merge. Could we add this processing to the SchemaParser.kt class so we can deprecate via the schema?
I'm currently working on adding this and was wondering if there were any issues you might have with this? I noticed on the README.md for 3.0 that the @doc directive seems to have been removed. Is there a reason for this? Are directives being removed completely? If so, how are we going to be able to deprecate fields/enums in the schema?
The text was updated successfully, but these errors were encountered: