I am using com.graphql-java:java-dataloader: version 3.3.0. I have a scenario whew the graphql request is something of the shape:
query myQuery($id: ID!) {
node(id: $id) {
id
... on myObject {
name
field1 {
totalCount
}
field2 {
totalCount
}
field3 {
totalCount
}
field4 {
totalCount
}
}
}
}
I have 4 classes that extend DataLoader, to resolve field1 to field4. Each of them use the same key id. I don't see the DataLoader's batchLoadFunction function getting executed for any of the 4 calls to dataloader.load()
Is this behaviour expected? Also, did something changed between the above version 3.3.0 and a previous version 3.1.2?