sling_gql_gen 0.1.1
sling_gql_gen: ^0.1.1 copied to clipboard
Code generator for sling_gql: turns a GraphQL introspection JSON into typed Accessor classes matching the sling_gql runtime contract.
0.1.1 #
example/README.md: schema → CLI → generated output walkthrough, shown on the pub.dev Example tab.- README uses
flutter pub add --dev sling_gql_gen/dart run sling_gql_gen. - Repository: pub workspace + melos, CI on every push, releases via
melos version.
0.1.0 #
Initial release — proof of concept.
sling_gql_genCLI: GraphQL introspection JSON → typedAccessorclasses for thesling_gqlruntime.--scalar Name=DartType[:converter]custom scalar mapping.--key-fieldto pick the entity key; emitskeyed:/lookup:facts for cache normalization.- Generates the
QueryandMutationroots plus aclient.mutate(...)extension.