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
I can work around it by adding __typename inside ... on Order, but it should not be necessary.
Hi there @cmeeren, this indeed doesn't sound necessary as long as the resulting __typename field value is adjacent to the fields of the sub types (Order in this case). This is required by the deserialization libraries to know which union case to unmarshall the data into.
It looks like a doable fix, any chance you could take a stab at it? I could probably look into it but very low on time these days for OSS work
Consider this query:
It fails with:
But
__typename
is included outside the fragment, on every type.I can work around it by adding
__typename
inside... on Order
, but it should not be necessary.The text was updated successfully, but these errors were encountered: