Tools for parsing GraphQL schema and queries into Haxe type definitions.
Status: alpha - see various projects for their feature / compatibility notes.
Try gql2hx live in your browser or via NPM: npm install -g gql2hx
See the various directories under ./proj
:
- hxgen - Haxe Code Generator (from GraphQL AST)
- parser - Pure-Haxe GraphQL parser (direct port from graphql-js v14.3.0)
- gql2hx-npm - NPM module packaging the Haxe Generator
- gql2hx-haxelib - (Placeholder / TBD) Haxelib module providing macro-time access to these tools
- ast - GraphQL AST Definitions
- webdemo - live demo of .graphql -> Haxe code
Development sponsored by: