Closed jcollum-nutrien closed 4 days ago
I captured the request payload from studio.apollographql.com vs the request payload from the React code. The only difference was one carriage return at the end of the payload's query
field.
Closing this old issue, we need a graphql-js minimal reproduction to confirm a bug. Please feel free to reopen if you can provide more information!
Version:
Code:
RECOMMENDATION_LIST_QUERY
is the query below.Request payload from Chrome network panel:
Which is this with the \n turned into actual returns:
Actual result via web app (React):
But when I run the same query in the Apollo interface I get valid results.
Kinda stuck here. This seems like a bug since the identical query works in the Apollo web interface. We have a ton of similar queries that aren't running into these validation issues.
One thing: that validation error is incredibly unhelpful. What field didn't validate? Is a field missing? Line and column numbers are unhelpful, they usually don't resolve to anything meaningful in web app land.