Commit Graph
37 Commits
Author SHA1 Message Date
Kingkor Roy Tirtho 2b835505a3 refactor(QueryBowl): query bowl logic as a separate class instead of a stateful widget
feat: add QueryCache class for storing, updating, removing all the query/mutation/infiniteQueries
refactor(test): update tests according to new query bowl refactor
refactor(fl_query_hooks): update the hooks according to new query bowl refactor
2022-09-22 22:03:28 +06:00
Kingkor Roy Tirtho f435f101c4 docs: add infinite query page 2022-09-19 12:20:48 +06:00
Kingkor Roy Tirtho f47ca98472 feat(infinite-query): onData and onError listener support 2022-09-16 14:32:23 +06:00
Kingkor Roy Tirtho 6eb7b2a429 feat(infinite-query): add setInfiniteQueryData support 2022-09-14 13:04:55 +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 462a7042fa feat: add support for keepPreviousData & examples regarding this 2022-08-07 10:54:28 +06:00
Kingkor Roy Tirtho 6d2952ae6a more tests added for Query
prefetchQuery support added
seperate methods for adding & removing listeners for events of both query & mutations
refetchInterval not working when used Query.fromOptions bug fixed
2022-07-28 12:01:37 +06:00
Kingkor Roy Tirtho f0741045a5 query tests added 2022-07-20 12:21:18 +06:00
Kingkor Roy Tirtho 88841e71f8 Query & Mutation Builders now doesn't create a new instance 2022-07-12 03:15:44 +06:00
Kingkor Roy Tirtho 4afaa4b471 Separated vanilla flutter & the flutter_hooks version of the package 😢
CHANGELOGS created for both package
2022-07-08 03:48:04 +06:00
Kingkor Roy Tirtho 8563abf117 finalized for 1st release 2022-07-07 10:30:28 +06:00
Kingkor Roy Tirtho afa9933c91 refetch on external data change support added 2022-07-05 09:28:43 +06:00
Kingkor Roy Tirtho 53fc86eac1 Docs: Front page Images added
QueryBuilder & useQuery onData, onError not working bugfix
2022-07-03 19:08:18 +06:00
Kingkor Roy Tirtho 78bb84e7b9 basic README Documentation added
doc comments for query bowl added
license, contribution guidelines & code of conduct added
2022-06-26 23:47:53 +06:00
Kingkor Roy Tirtho ff8fa9eb15 removed unneeded query parameter from QueryTaskFunction 2022-06-26 15:03:23 +06:00
Kingkor Roy Tirtho d8024714cd removed dependOnQuery from beacuse of infinite renders
example created for various usecases with various features
hooks now use standard hook API instead of using Hook Class
variable query & mutation not working bug fix
mutation onMutate listeners not getting called bug fix
2022-06-24 12:51:27 +06:00
Kingkor Roy Tirtho 2ead7fd2be refetchOnReconnect support added for Query 2022-06-22 21:52:13 +06:00
Kingkor Roy Tirtho 73711ee77d Depended queries support added 2022-06-22 17:56:24 +06:00
Kingkor Roy Tirtho 8c53f1b0fe files moved to src folder
added flutter_hooks support with example
2022-06-22 13:46:40 +06:00
Kingkor Roy Tirtho 8034a6a11e removed old implementation 2022-05-28 18:37:00 +06:00
Kingkor Roy Tirtho b5a73f8cae Fixed some tests & bugs in queryObserver 2022-05-01 13:19:51 +06:00
Kingkor Roy Tirtho fe558c0cb7 QueryObserver bug-hunt ongoing 2022-04-28 13:14:37 +06:00
Kingkor Roy Tirtho 421aa85bce fixed timeUntilStale returning negetive Duration instead of 0 2022-04-24 18:47:07 +06:00
Kingkor Roy Tirtho 1d76c3df3d almost fixed query_observer 23rd bug 2022-04-22 22:17:19 +06:00
Kingkor Roy Tirtho 181c5f8616 QueryObserver test created 2022-04-13 13:53:02 +06:00
Kingkor Roy Tirtho 06e15c3096 fixed the long existing bug of null fields overrriding the fields in Map of notifyOptions 2022-03-26 10:47:43 +06:00
Kingkor Roy Tirtho 2c9960a8c3 queryCache tests creating done & 100% passes 2022-02-23 09:30:00 +06:00
Kingkor Roy Tirtho 3d3f3381e9 query_cache related bug fix using query_cache_test 2022-02-18 10:36:20 +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 75af8f5cdd online_manager tests created with invalid failing suits 2022-02-13 13:13:03 +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 70b84fe85a Single Query support completed 2022-02-12 10:57:01 +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