haxe-graphql
haxe-graphql copied to clipboard
hxgen: Support __typename in queries
Should be possible in any object type (though not fragments)
And how about the introspection keywords: https://graphql.org/learn/introspection/
__schema, __type, __typekind, __field, __inputvalue, __enumvalue, __directive
Related to #43 -- creates as_enum()
and returns unions as a switchable enum.
In fact, I'm closing this as a duplicate of #43 - the other directives may be filed in their own issue(s).