Commit Graph
11 Commits
Author SHA1 Message Date
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 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