Consider this query:
query MyFavorites {
me {
favorites {
item {
__typename
... on Order {
id
}
}
}
}
}
It fails with:
Missing required __typename on sub type Order of type FavoriteItem selected on field item
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.
Consider this query:
It fails with:
But
__typenameis included outside the fragment, on every type.I can work around it by adding
__typenameinside... on Order, but it should not be necessary.