gqlify 0.1.0
gqlify: ^0.1.0 copied to clipboard
GraphQL, simplified for Dart. A build-time GraphQL code generator producing small, strongly typed Dart APIs from a schema and operation documents.
0.1.0 #
First release.
- Generates a typed Dart API from a GraphQL schema (SDL or introspection
JSON) and your
.graphqloperations:await api.fetchPerson(id: '1'). - Fragments become interfaces; unions and interfaces become sealed classes
with a fallback for types added later; enums, input objects (with explicit
nullvs omitted),@oneOfand custom scalars are supported. - Full validation of your operations against the schema, with clear, located errors and deprecation warnings.
dart run gqlify generate/checkwith a correctness-first cache, plus--clean,--explain,cache verifyandcache clear.- A
build_runnerbuilder that produces exactly the same files as the CLI. - Modes for operations, schema types only, or both.
