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
The returned __typename is correct, and I can also query fields of CustomPage by using the ... on CustomPage syntax.
As soon as I use the bulk-load feature (eg. by creating a _graphql/bulkLoad.yml config for some extensions), I lose polymorphism and all pages get "Page" as their __typename. Queries with fragments also fail, with an error like:
"Fragment cannot be spread here as objects of type "Page" can never be of type "CustomPage"."
The text was updated successfully, but these errors were encountered:
Let's say that I have a
Page
and aCustomPage
class:When I query
I get the following result:
The returned
__typename
is correct, and I can also query fields ofCustomPage
by using the... on CustomPage
syntax.As soon as I use the bulk-load feature (eg. by creating a
_graphql/bulkLoad.yml
config for some extensions), I lose polymorphism and all pages get"Page"
as their__typename
. Queries with fragments also fail, with an error like:The text was updated successfully, but these errors were encountered: