Commit Graph

20 Commits

Author SHA1 Message Date
Kingkor Roy Tirtho f47ca98472 feat(infinite-query): onData and onError listener support 2022-09-16 14:32:23 +06:00
Kingkor Roy Tirtho 2a3ac29f64 feat(infinite-query): add useInfiniteQuery hook with example 2022-09-14 13:14:23 +06:00
Kingkor Roy Tirtho 95b1837620 feat(infinite-query): add refetchPages, refetchOnStale, refetchOnMount support 2022-09-14 12:49:30 +06:00
Kingkor Roy Tirtho 61958c7d94 feat(infinite-query): add all the features of query in infinite query
Separated common logic of both `InfiniteQuery` and `Query` in a base class `BaseQuery` resulting in `InfiniteQuery` inheriting already having implemented features of `Query`
2022-08-24 21:47:13 +06:00
Kingkor Roy Tirtho 1452d7d79e feat: add initial support for InfiniteQuery
Added new infinite query class with it's own builder widget and integration with query_bowl
The `cast` method used in mutation and query are now a mixin instead of BasicOperation property
2022-08-21 20:10:40 +06:00
Kingkor Roy Tirtho c02f42a31a build: bump versions for upcoming v0.2.0 & add changelog 2022-08-07 13:58:25 +06:00
Kingkor Roy Tirtho bd70d2800f Merge branch 'main' into docs 2022-08-07 13:09:55 +06:00
Kingkor Roy Tirtho 58674ab30a docs: add dynamic query & mutation section 2022-08-07 13:09:19 +06:00
Kingkor Roy Tirtho cdd1e96b2a Merge branch 'main' into docs 2022-08-07 12:15:06 +06:00
Kingkor Roy Tirtho a28cc2801c chore: merge main 2022-08-07 12:14:56 +06:00
Kingkor Roy Tirtho 8eaa6b04d1 docs: add paginated-query section and update optimistc update section 2022-08-07 12:13:03 +06:00
Kingkor Roy Tirtho 462a7042fa feat: add support for keepPreviousData & examples regarding this 2022-08-07 10:54:28 +06:00
Kingkor Roy Tirtho 4d6d1a1648 refactor(example): package specific examples instead of a single example 2022-08-04 09:20:20 +06:00
Kingkor Roy Tirtho 8034a6a11e removed old implementation 2022-05-28 18:37:00 +06:00
Kingkor Roy Tirtho 0b4c030806 utils tests created
TQueryFnData, TData & TQueryData now only can be Maps or subclass of Map
2022-02-14 12:02:30 +06:00
Kingkor Roy Tirtho 57c265ba72 test created fo NotifyManager 2022-02-12 20:26:11 +06:00
Kingkor Roy Tirtho 58f98e6e74 scheduleMicrotask utils removed in favor of dart:async
getQueryData wrong arrangment of arguments
Query & Retryer's future property is replaced with Completer
queryFn, fetchFn & fn types corrected
exported all the functions/class/enum  from core (incomplete)
flutter dependency dropped since the core is a Dart package
2022-02-12 12:58:17 +06:00
Kingkor Roy Tirtho 599453c82e cleared junks 2022-02-10 18:31:35 +06:00
Kingkor Roy Tirtho 3ec81de606 +QueryObserver
+Query
+notifyManager
+onlineManager
+QueryCache
2022-02-10 18:29:42 +06:00
Kingkor Roy Tirtho c7169b04c7 initial commit with cache support & example 2022-02-07 00:11:15 +06:00