github.com/shippio/gqlgen@v0.0.0-20220912092219-633ea699ef07/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 }