-
Notifications
You must be signed in to change notification settings - Fork 99
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
How to call multiple queries at the same time? #632
Comments
Hi we don't support this capability in the DGS framework today. |
@dingyo777 I think it is supported in the 6.x versions #426 |
@TLmaK0 Thank you for sharing! I will try with it. But it seems that generated kotlin codes with gradle task FYI, my config at kotlin project is as follows:
|
@mbossenbroek Would you give me some guideline or example? My question is how multiple queries or mutations call at once in kotlin2. |
@srinivasankavitha or do you have a plan to support batch queries or batch mutations in kotlin version with code-gen? Currently, with generated types, projection and DgsClient, it is hard to call mutiple queries or mutations at once. |
Hi @dingyo777 - no we don't use this feature at all internally, so will not be prioritizing it. |
Yeah, I never added support for that in the newer kotlin query api, but I am interested in adding it for a use case that I have... That said, I likely won't get around to adding it for a few months, so not sure if that helps you at all :/ |
@srinivasankavitha @mbossenbroek |
I should also note that I'm open to contributions if you'd like to throw up a PR. I'd be more than happy to get you started if you're interested in that route. |
@dingyo777 could you confirm that this would work for your needs? https://github.com/Netflix/dgs-codegen/pull/676/files#diff-91edda77a8b25bbc8aa8f2fc0e7f194b330ccca58db4ca1f0adb7aa5b7d123db |
This is released now |
I want to call multiple graphql queries at the same time, something like
How can I do this by DGS framework?
May I get some examples?
I tried to find out it in docs and this github, but I couldn't
The text was updated successfully, but these errors were encountered: