jcward / haxe-graphql

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

Generate type definitions for queries #5

Closed jcward closed 6 years ago

jcward commented 6 years ago

Here's a simple example of a graphql query:

selection_999 2428

Based on the schema, this has an expected type. Generate that typedef in Haxe. :)

jcward commented 6 years ago

Generating typedefs for queries -- fixed in b550eff4

jcward commented 6 years ago

Well, we have result types for each query... but we also want auto-generated functions (with correct args signatures) for each query. They should optionally take callbacks and/or returns promises, using the result types.

jcward commented 6 years ago

Well, I'm going to close this, and open a separate issue #26 for utility methods.