zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.24k stars 612 forks source link

Update cache with the result of multiple queries #1290

Closed danielleitelima closed 1 year ago

danielleitelima commented 1 year ago

Perhaps this is already possible, and I missed it in the documentation, my apologies if that's the case. Would be really handy to be able to cache the result of many queries or mutations automatically using the same cache repository. This use case is interesting for e-commerce, where the user actions always return the same cart result updated.

danielleitelima commented 1 year ago

Please disregard my request. This is already provided by the library and is one of the key concepts behind GraphQL itself. For those interested in learning more, please check this post.