Unclear error message for using batchkey
without enabling batching
#2029
Labels
good first issue
Good for newcomers.
state: inactive
No current action needed/possible; issue fixed, out of scope, or superseded.
The error message for enabling batching in upstream is not very clear if someone specifies the batchKey in the
@http
but forgets to enable batching in the@upstream
directive.Steps to Reproduce
Use this config and start the server
Actual
INFO File read: ./examples/jsonplaceholder_batch.graphql ... ok INFO N + 1 detected: 0 ERROR Invalid Configuration Caused by: • GroupBy can only be applied if batching is enabled [at Post.user.@http]
Expected
The text was updated successfully, but these errors were encountered: