jcward / haxe-graphql

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

hxgen: Support __typename in queries #19

Closed jcward closed 9 months ago

jcward commented 6 years ago

Should be possible in any object type (though not fragments)

selection_999 2520

jcward commented 6 years ago

And how about the introspection keywords: https://graphql.org/learn/introspection/

__schema, __type, __typekind, __field, __inputvalue, __enumvalue, __directive
jcward commented 9 months ago

Related to #43 -- creates as_enum() and returns unions as a switchable enum.

jcward commented 9 months ago

In fact, I'm closing this as a duplicate of #43 - the other directives may be filed in their own issue(s).