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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to work with juniper master #121

Closed
8 tasks done
davidpdrsn opened this issue Oct 6, 2020 · 3 comments
Closed
8 tasks done

Update to work with juniper master #121

davidpdrsn opened this issue Oct 6, 2020 · 3 comments

Comments

@davidpdrsn
Copy link
Owner

davidpdrsn commented Oct 6, 2020

It seems support for async GraphQL interfaces have landed in juniper master graphql-rust/juniper#682.

I think the time has come to start updating juniper-from-schema to support the latest master of juniper with all the changes thats been made. We should also migrate all generated code to use the juniper proc macros rather than the old and deprecated declarative macros.

I suspect this is going to be quite a big task and require some work. I urge users to remain patient. The work has begun!

Todo

@davidpdrsn davidpdrsn changed the title Update to work async juniper Update to work with async juniper Oct 6, 2020
@davidpdrsn davidpdrsn changed the title Update to work with async juniper Update to work with juniper master Oct 11, 2020
@davidpdrsn davidpdrsn pinned this issue Oct 11, 2020
@davidpdrsn
Copy link
Owner Author

#122 is merged and we're now compatible with juniper master. At least all the tests are passing.

Still some work to be done around subscriptions and async. See the todo list in the top comment.

@davidpdrsn
Copy link
Owner Author

We now support async resolvers with a new @juniper(async: true) directive and the #[async_trait] attribute. You can find an example here.

@davidpdrsn
Copy link
Owner Author

The master branch now supports juniper 0.15. I've made a milestone for the things remaining before doing a proper release https://github.com/davidpdrsn/juniper-from-schema/milestone/1.

@davidpdrsn davidpdrsn unpinned this issue Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant