Skip to content

Remove use of deprecated juniper::graphql_object! #74

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

Closed
wants to merge 1 commit into from

Conversation

davidpdrsn
Copy link
Owner

@davidpdrsn davidpdrsn commented Sep 21, 2019

Fixes #55

This isn't complete yet. This patch currently removes support for having
descriptions on field arguments. That is because getting those to work
requires funky stuff in the juniper proc macro invocation.

While it could totally be made to work I would rather wait since it
requires a bit of refactoring and since it should work seamlessly once
RFC 2564 is stable,
which seems to happen in 1.39.


Blocked by graphql-rust/juniper#421

Fixes #55

This isn't complete yet. This patch currently removes support for having
descriptions on field arguments. That is because getting those to work
[requires funky stuff][funky] in the juniper proc macro invocation.

While it could totally be made to work I would rather wait since it
requires a bit of refactoring and since it should work seamlessly once
[RFC 2564](rust-lang/rust#60406) is stable,
which seems to happen in 1.39.

[funky]: https://docs.rs/juniper_codegen/0.13.2/juniper_codegen/attr.object.html#customization-documentation-renaming-
@Centril
Copy link

Centril commented Sep 21, 2019

Stabilization for 2564 just landed.

@davidpdrsn
Copy link
Owner Author

Once graphql-rust/juniper#441 is shipped and merged we should be able to move forward with this.

@davidpdrsn
Copy link
Owner Author

This landed in #122.

@davidpdrsn davidpdrsn closed this Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

graphql_object! is deprecated
2 participants