jcward / haxe-graphql

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

hxgen: does the generator need to do anything to support @include directives ? #25

Closed jcward closed 6 years ago

jcward commented 6 years ago

...or are they mostly a runtime concern?

In any case, write some tests on them.

jcward commented 6 years ago

I think it should verify that the query provides the arguments.

WRT parameters in fragments -- search for this is what GraphQL today does -- I believe it should also verify that, for any parameter usage in a fragment, the top-level query must provide all referenced params.