-
Notifications
You must be signed in to change notification settings - Fork 310
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
Nested Batches #997
Comments
There were improvements for interface mappings in 1.3, but overall it's not clear what you mean with one vs two requests. Could you provide more information, what version you're trying this with, maybe a sample query and explain what the two requests are? |
Thank you for your reply. |
Rather than explaining that in plain text, could you show a sample schema, a request and a controller method signature? |
This is my Schema:
This is my BatchMapping for the Extension
A query would be like:
Hope this helps. It's a really confusing situation for me too, unfortunately. |
I am having a similar issue and don't know if I should open a new ticket. I figured, that I can get the BatchLoaderEnvironment, GraphQLContext, Principle. I would expect something like @argument("filter") Map<FilterClass, List> being possible.... |
@Segelente could you please use https://start.spring.io to create a starter project with the relevant versions, and then add minimal code that helps to demonstrate the issue. As I said in my previous comment, the behavior depends on the version you're using and a number of other things, so it's best if you iterate over something until you can demonstrate the issue. If that's easy then it shouldn't take long. If it is not, then you can try different things and compare to your code until you can demonstrate it. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Hello everyone, |
Hello there,
I wanted to know if and how it is currently possible to use the BatchMapping with only one request for this situation:
Basically currently when mapping on type extension and field data it requested data from my server twice. Is it possible in this situation to avoid a second call and call everything in one go?
The text was updated successfully, but these errors were encountered: