Getting the Best of TypeScript and GraphQL: Union Types
The combination of TypeScript and GraphQL can be very powerful. Both TypeScript and GraphQL support the concept of discriminated unions.
Tags: graphql, typescript, codegen