fl-query icon indicating copy to clipboard operation
fl-query copied to clipboard

Asynchronous data fetching & data invalidation libraries for Flutter

Results 19 fl-query issues
Sort by recently updated
recently updated
newest added

Is it possible to set initial data asynchronously? I'd like to fetch offline data from the database and have that show first then it gets replaced when the query is...

My query is set up like this: ```dart final qGetTokenRefresh = useQuery( 'getTokenRefresh', getTokenRefresh, onError: (error) { print('caught error '); }); String? tokenRefresh = qGetTokenRefresh.data; ``` This is the query...

When we try to run flutter integration tests on any code that uses `fl_query`, it crashes with the following error: ``` ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following...

This code does not work as expected: ``` final someParams = [...] someMutation.mutate(someParams); someParams.clear(); ``` this one does: ``` final someParams = [...] await someMutation.mutate(someParams); someParams.clear(); ``` I'd say it's...

bug

Hey @KRTirtho @PetrKubes97 i have a scenario where i want to update cart with cart count, the API get calls but it doesn't update cart count. I am using query...

Hello, I've been exploring your amazing library but am on the verge of giving it up due to an issue that I can't seem to resolve. In the useInfiniteQuery hook,...

Is it possible to handle error globally, like onError, in QueryClient, or QueryClientProvider to handle all error from any query or any mutation,

For my project, this would be more useful than refetchQueries, as I don't want to be loading too much stuff in the background.

enhancement

Would appreciate it if you could check over it and suggest changes @PetrKubes97

It is impossible to delete a key one by one, not to mention dynamic keys according to queries