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
{{ message }}
This repository has been archived by the owner on May 28, 2024. It is now read-only.
subscription($myId: ID!) {
myQuery(id: $myId) {
id
fieldA {
filedB {
... on UnionTypeA {
fieldC
fieldD
}
... on UnionTypeB {
fieldC
fieldE
}
}
}
}
}
My subscription gateway is generating errors from the backend:
[GraphQL error]: Cannot query field "fieldC" on type "MyUnion". Did you mean to use an inline fragment on "UnionTypeA" or "UnionTypeB"?
[GraphQL error]: Cannot query field "fieldD" on type "MyUnion". Did you mean to use an inline fragment on "UnionTypeA" or "UnionTypeB"?
[GraphQL error]: Cannot query field "fieldE" on type "MyUnion". Did you mean to use an inline fragment on "UnionTypeA" or "UnionTypeB"?
Additionally, logging the selection being returned from the buildNonPayloadSelections method is giving the following shape:
Given a subscription with the shape:
My subscription gateway is generating errors from the backend:
Additionally, logging the selection being returned from the
buildNonPayloadSelections
method is giving the following shape:It seems the generated selection has dropped the fragments?
The text was updated successfully, but these errors were encountered: