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
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
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