Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: support for deprecating input values #864

Open
mrtnzlml opened this issue Jan 27, 2021 · 3 comments
Open

Feature request: support for deprecating input values #864

mrtnzlml opened this issue Jan 27, 2021 · 3 comments
Labels
enhancement Improvement of existing features or bugfix

Comments

@mrtnzlml
Copy link

Hola! 馃憢 Thanks for considering this feature request! 馃檪

Is your feature request related to a problem? Please describe.

GraphQL now supports deprecation of input values, see:

It would be very useful if Juniper would support this as well. Juniper currently throws the following error:

error: attribute `Deprecation` can not be used inside of GraphQL input object

  = note: The macro is known to Juniper. However, not all valid #[graphql] attributes are available for each macro

Describe the solution you'd like

馃

Describe alternatives you've considered

I am not aware of any other alternatives. This feels like a missing feature in Juniper itself.

Additional context

none

@mrtnzlml mrtnzlml added the enhancement Improvement of existing features or bugfix label Jan 27, 2021
@tyranron tyranron added this to the 0.16.0 milestone Jun 7, 2022
@tyranron
Copy link
Member

Wondering why it's not in the spec yet, the explanation is here:
graphql/graphql-spec#525 (comment)

@tyranron tyranron removed this from the 0.16.0 milestone Aug 19, 2022
@mrtnzlml
Copy link
Author

@tyranron Seems like this feature didn't make it into the latest spec release; however, might be worth mentioning that this feature was accepted, see: graphql/graphql-spec#805

@tyranron
Copy link
Member

@mrtnzlml nice, so we'll have it with the next spec release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing features or bugfix
Projects
None yet
Development

No branches or pull requests

3 participants