jcward / haxe-graphql

Utilities for working with Haxe and GraphQL.
MIT License
23 stars 6 forks source link

Allow query selections on union types (via fragments) #30

Closed jcward closed 6 years ago

jcward commented 6 years ago

Regarding: https://github.com/jcward/haxe-graphql/blob/cd1494a88e11c6e9b624229b2d4834bab484e769/proj/hxgen/src/graphql/HaxeGenerator.hx#L676

Yes, a sub selection is required (but only consisting of fragments, if I'm not mistaken):