Field names that start with on_ will get a bad query #182
Open
Description
my schema has a on_demand field, but in the code it thinkts it should be fragment
if (f.startsWith('on_')) {
ctx.fragmentCounter++
To query some fields only on a certain type you can use graphql fragments
In genql you can express the fragments for union and interface types using the on_ prefixed fields in a query
any work arounds?
Metadata
Assignees
Labels
No labels