You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works as expected when testing with GraphiQL.
In Apollo client this throws an error.
The issue is made apparent in const value: any = result[resultFieldKey]; because resultFieldKey is value, but result is an array of Cell types, rather than a single Cell type.
I feel like I tried many alternative query and schema layouts to work around this issue, but none have helped. I've only have a few hours of experience using GraphQL and Apollo, so I will be excited to learn if I'm doing something incorrectly or this is an issue that can be fixed in the client.
Thank you!
The text was updated successfully, but these errors were encountered:
This works fine in GraphiQL, but when I use it in Apollo Client I get
Hypothetical Schema
Hypothetical JQL
Hypothetical result
This works as expected when testing with GraphiQL.
In Apollo client this throws an error.
The issue is made apparent in
const value: any = result[resultFieldKey];
becauseresultFieldKey
isvalue
, butresult
is an array ofCell
types, rather than a singleCell
type.I feel like I tried many alternative query and schema layouts to work around this issue, but none have helped. I've only have a few hours of experience using GraphQL and Apollo, so I will be excited to learn if I'm doing something incorrectly or this is an issue that can be fixed in the client.
Thank you!
The text was updated successfully, but these errors were encountered: