Replies: 2 comments
-
I am moving this to discussion as its really a question not a bug |
Beta Was this translation helpful? Give feedback.
-
No - these have alises on them - they are different result fields
Right so is a batch call - so you should have 1 call with 2 keys in it. I am not sure why you do this
There will be two different context items here - one for each dataloader call
You cant merge them - they are different fields - the data loader works differently to the old |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I have query like, queryStr:
I will update my graphql server from graphql-java V7.0 to graphql-java V22
The old contacts data fetcher using @Batched annotation and can get sources from environment fine, and primayrContacts and otherContacts query as two batch.
when using V22, I refacter code as:
and the contacts data fetcher :
There are some question at --TODO1 above:
Hope to receive a response from the expert, Thanks!
Beta Was this translation helpful? Give feedback.
All reactions