-
Notifications
You must be signed in to change notification settings - Fork 18
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
Any plan to support to async await resolvers ? #21
Comments
Same question. @alexsteinerde, can you let us know your plans for this repository? Thanks! |
The async/await support comes with Graphiti already built in. This package is only a layer on top with additional resolver functions for Fluent objects which don't require mention EventLoops to the public API at the moment. Or do you have any specific function that ships with this package and doesn't support async/await? |
The native Graphiti methods are not integrated with Vapor and Fluent, in particular the request object. So we can't use the async throws method without adding the Vapor integration layer manually. |
I'm sorry but I currently don't see any |
Maybe he's referring to |
You use |
Hi,
Swift GraphQL supports resolvers with async throws, in addition to NIO eventLoop.
Do you have any plan to provide support for them too ?
The text was updated successfully, but these errors were encountered: