Apollo Clientでクエリ結果に__typenameしか返ってこないとき
Fragmentをネストしているときとか
Apollo
Clientでクエリした結果で特定のプロパティについて
{__typename: 'FooBar'}
しか返ってこないやつ
ひとつの原因として、
InMemoryCache
に
possibleTypes
をApolloに提供していない場合がある
https://www.apollographql.com/docs/react/data/fragments/#using-fragments-with-unions-and-interfaces
#GraphQL