Commit Graph

28 Commits

Author SHA1 Message Date
Kingkor Roy Tirtho 0fa58dcb84 chore: update deps 2023-05-29 08:45:38 +06:00
Kingkor Roy Tirtho 6b277647b7 chore: bump version for pre release 2023-03-05 16:47:12 +06:00
Kingkor Roy Tirtho fbe1f9591a chore: use local path to lib in examples 2023-03-05 15:01:22 +06:00
Kingkor Roy Tirtho 8d118dff7a chore: remove unnecessary plugin registrant files 2023-03-05 13:35:57 +06:00
Kingkor Roy Tirtho 121c996903 chore: remove unneeded deps from lock files 2023-03-05 13:18:20 +06:00
Kingkor Roy Tirtho d964216ee1 chore: remove unnecessary deps 2023-02-23 23:44:24 +06:00
Kingkor Roy Tirtho 7fabf44756 feat: useQuery hook with working example 2023-02-23 22:50:37 +06:00
Kingkor Roy Tirtho 5dde200c84 feat: safe cancellation of running operation on reset 2023-02-23 13:14:42 +06:00
Kingkor Roy Tirtho efa2c81505 feat: add infinite query builder with example
fix(query): updateQueryFn refetch when stale and update state of builders when widget is mounted
2023-02-21 12:03:45 +06:00
Kingkor Roy Tirtho 18584a3c57 feat: cache, client, query builder add and refreshOnQueryFnChange option
fix: retryer wrong logic
2023-02-14 21:50:06 +06:00
Kingkor Roy Tirtho b304466d73 feat: initial query and retryer implementation 2023-02-10 22:11:33 +06:00
Kingkor Roy Tirtho 074175ed39 feat: add query and infinite query disk caching support 2022-12-15 15:43:40 +06:00
Kingkor Roy Tirtho a7c03f891f fix: refetchOnExternalDataChange isn't working #18 2022-12-14 14:06:40 +06:00
Kingkor Roy Tirtho 6676f508ae build: generated files update 2022-10-12 22:12:25 +06:00
Kingkor Roy Tirtho f0d3bd36a7 chore: update generated configuration 2022-10-07 19:46:44 +06:00
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 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 4d6d1a1648 refactor(example): package specific examples instead of a single example 2022-08-04 09:20:20 +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 915f2aecfc [docs] MutationJob docs added
[docs] fl-query for flutter blog added
2022-07-18 18:39:28 +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 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 2ead7fd2be refetchOnReconnect support added for Query 2022-06-22 21:52:13 +06:00