git.sr.ht/~sircmpwn/gqlgen@v0.0.0-20200522192042-c84d29a1c940/codegen/testserver/useptr.graphql (about) 1 type A { 2 id: ID! 3 } 4 5 type B { 6 id: ID! 7 } 8 9 union TestUnion = A | B 10 11 extend type Query { 12 optionalUnion: TestUnion 13 }