D-James-GH / cached_query

Simple caching for flutter apps
MIT License
55 stars 10 forks source link

Support serialization/deserialization at the Query level #11

Closed josh-burton closed 7 months ago

josh-burton commented 1 year ago

I've just started to implement this package in a few apps. It's great!

Currently there is support for custom deserialization on QueryConfig (the field is called serializer but I think this is incorrect), but serialization of the query data to json happens within the query storage, expecting toJson to exist.

I'd like to suggest: