-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let's talk about expanding beyond schema / Other Uses Cases #4
Comments
I'd like to implement something like graphql-tag in haxe and integrate it with Apollo. |
@Randonee So, if I understand the graphql-tag description, it looks like it takes a graphql string and generates GraphQL AST? This is exactly what Parser.hx does, in pure Haxe. I've just added query support today. You can play with it in the web demo - enter some queries on the left: It's missing the It's not a complete implementation (e.g. directives are tbd, fragments will come shortly, The thing I'm working on beyond AST is generating a Haxe typedef to strongly-type the expected result from the server, e.g. for the above:
Ha, just noticed a bug... :) |
wow that was fast, thanks for adding operations! |
Right now these tools focus on using graphql merely as a schema / type description tool.
For me, this is my primary use case -- generating Haxe type definitions from a graphql schema. As such, my next step is to generate type definitions for queries, and think about how arguments affect the schema.
I know this is only a small subset of the GraphQL ecosystem. Tell me about how you'd like to use Haxe+GraphQL.
The text was updated successfully, but these errors were encountered: