When it's the last item in the conditional array, I get the error: { name: "personIsActive", value: "1", operator: EQ }
This is also true of any template field I add, like"personLastName".
personIsActive is a checkbox
personLastName is a TextField
Once I make sure the template field isn’t the last item in my search conditions array it works.
Describe the Bug
I’m not sure anyone else found this issue using GraphQL on the Edge.
This graphql query works fine locally (docker):
But when I push to the edge, I get this error:
To Reproduce
When it's the last item in the conditional array, I get the error:
{ name: "personIsActive", value: "1", operator: EQ }
This is also true of any template field I add, like"personLastName"
.Once I make sure the template field isn’t the last item in my search conditions array it works.
Expected Behavior
I would expect it to work fine regardless of the order of the conditional objects, especially since it work locally in the docker setup.
Possible Fix
May be a something with parsing the query?
Provide environment information