I am using graphql-request 7.1.2 (will try 7.4.0 soon) together with the (amazing) gql-tada.
however there is one minor problem:
- graphql-request does not fetch __typename in general
- gql.tada also does not assume that you fetch __typename, but with one exception: interfaces (and unions).
This leads to the situation that the types differ from the actual runtime data, which can lead to runtime errors.
see 0no-co/gql.tada#508
is there an option to fetch __typename automatically?
I am using graphql-request 7.1.2 (will try 7.4.0 soon) together with the (amazing) gql-tada.
however there is one minor problem:
This leads to the situation that the types differ from the actual runtime data, which can lead to runtime errors.
see 0no-co/gql.tada#508
is there an option to fetch __typename automatically?