sling_gql 0.1.1
sling_gql: ^0.1.1 copied to clipboard
GraphQL client for Flutter where the widget is the query — read a field, get the query. Proof of concept.
0.1.1 #
example/main.dart: a complete, self-contained app (query, mutation, optimistic write) shown on the pub.dev Example tab.- Repository: pub workspace + melos, CI on every push, releases via
melos version.
0.1.0 #
Initial release — proof of concept.
QueryBuilder/MutationBuilder/SlingScope: read typed accessors duringbuild(), get the query.- Selection recording, per-frame batching into one GraphQL document, argument → variable extraction with deterministic aliases.
- Normalized cache (
__typename:identities, by-id lookups,evict,gc,snapshot/onChange), per-field rebuild notifications. - Skeleton state before data arrives,
preparefor conditional reads, waterfall warnings in dev mode. - Mutations with optimistic writes, journaled and rolled back on failure.
- Partial
errors[]handling, sticky errors withrefetch, retry cooldown. - Cursor pagination helpers,
CacheScope.listfor list membership updates.