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
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
2a75aefb0f
Reademes updated with new banner
...
Notice board added
2022-07-13 10:11:02 +06:00
Kingkor Roy Tirtho
115b9e5f5d
Docs added for Query QueryJob & QueryBowlScope
...
Configured favicon
2022-07-13 04:33:48 +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
89272d5c00
Updated fl_query_hooks deps
2022-07-08 04:41:22 +06:00
Kingkor Roy Tirtho
151e5fecfa
Logo links are permanent in README now
2022-07-08 04:28:31 +06:00
Kingkor Roy Tirtho
90dc1470ed
README logo path fix
2022-07-08 04:24:56 +06:00
Kingkor Roy Tirtho
8b834fce82
Updated and added README
2022-07-08 04:03:35 +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
e0c70d153f
Internal API change
...
now query & mutation share same base class
queries are now self-refetchable
queryJobs & mutationJobs now support dynamic key allowing dynamic Query/Mutation creation
query status & mutation status are now just on point & accurate
2022-06-21 17:16:06 +06:00
Kingkor Roy Tirtho
634bb3f912
Simple documentation added
...
Useful utility methods added in query_bowl
2022-06-20 14:27:54 +06:00
Kingkor Roy Tirtho
d7635abb0e
using valuekeys for keeping track of mounts in query & mutations
...
QueryBuilder & MutaionBuilder are now null proof
2022-06-20 12:28:37 +06:00
Kingkor Roy Tirtho
7d337e02da
mutation support added
...
multiple data, error/mutate listeners on query
2022-06-19 16:53:20 +06:00
Kingkor Roy Tirtho
617d920464
stupid tests created
2022-06-13 11:35:35 +06:00
Kingkor Roy Tirtho
f0a7579ea2
cache time & garbage collection support added
...
onData & onError callbacks WIP
2022-06-12 15:18:43 +06:00
Kingkor Roy Tirtho
547cf65dd8
added lazy query support
...
fixed possible race condition of simultanous refetches of the same query
2022-06-09 13:33:39 +06:00
Kingkor Roy Tirtho
9bcdfc9db7
query reusability by QueryJob
...
QueryJob.task External Data Support
Query task is now pure function
Query.data is non-nullable (even the type)
2022-06-05 19:10:33 +06:00
Kingkor Roy Tirtho
081a7f1344
Merge branch 'reimplementation'
2022-05-28 18:40:03 +06:00
Kingkor Roy Tirtho
8034a6a11e
removed old implementation
2022-05-28 18:37:00 +06:00
Kingkor Roy Tirtho
4e6ae2dd66
deps update
2022-05-28 18:36:15 +06:00
Kingkor Roy Tirtho
aba6d1852b
periodic staleData refetch functionality
...
+Query initialData support
+Query manual update support
+Query.reset support
2022-05-28 18:28:20 +06:00
Kingkor Roy Tirtho
4eadc99d15
alpha stale_time & caching support
2022-05-27 13:21:58 +06:00
Kingkor Roy Tirtho
64c852fddc
Initial Support
2022-05-27 12:51:13 +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