mesqueeb / vuex-easy-firestore

Easy coupling of firestore and a vuex module. 2-way sync with 0 boilerplate!
https://mesqueeb.github.io/vuex-easy-firestore
MIT License
234 stars 28 forks source link

Allow get options to be passed to .get() #347

Closed ajgagnon closed 2 years ago

ajgagnon commented 4 years ago

This would allow us to specify { source: cache} in fetch and fetchAndAdd actions to read directly from cache instead of from the server. This could potentially save a lot of reads in the case where we know there is no new content and would prefer to read from cache directly if possible.

Thanks for an awesome library!

mesqueeb commented 2 years ago

@ajgagnon thanks for this. sorry that it took me more than a year!