codegen/testserver/followschema/useptr.graphql (
10
lines of code) (
raw
):
type A { id: ID! } type B { id: ID! } union TestUnion = A | B extend type Query { optionalUnion: TestUnion }