github.com/99designs/gqlgen@v0.17.45/codegen/testserver/singlefile/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 }