queryx_riverpod 0.1.1
queryx_riverpod: ^0.1.1 copied to clipboard
Riverpod bindings for QueryX — reactive queries, mutations, and infinite pagination with automatic widget rebuilds.
Changelog #
0.1.1 #
Initial release.
queryxClientProvider— the singleQueryClientoverride point.queryProvider<T>—.autoDisposeStateNotifierProviderbacked by a queryxQuery<T>, exposingQueryxSnapshot<T>with awhen()helper.mutationProvider<T,V,C>— backed by a queryxMutation<T,V,C>.optionsBuilderreceivesRefso lifecycle callbacks can reachqueryxClientProviderfor cache writes/invalidation.infiniteQueryProvider<T,P>— backed by a queryxInfiniteQuery<T,P>.QueryNotifier,MutationNotifier,InfiniteQueryNotifierexposed directly for the.family/ dependent-query pattern (see README).- Depends on pure-Dart
riverpod, notflutter_riverpod— the whole binding layer is unit-testable withdart test, no Flutter harness needed. - Test suite: initial fetch, cross-provider deduplication on a shared
QueryKey, invalidation-triggered refetch, mutation lifecycle + invalidation, infinite pagination.