bookshelf-cache-redis icon indicating copy to clipboard operation
bookshelf-cache-redis copied to clipboard

Return instances of Model/Collection.

Open avaly opened this issue 6 years ago • 1 comments

This is a great plugin, but I would like that the returned values be actual Model or Collection instances, instead of simple objects with just a toJSON method.

https://github.com/strapi/bookshelf-cache-redis/blob/master/src/index.js#L88-L90

We're missing out on all the APIs provided by Model or Collection.

avaly avatar Feb 08 '18 17:02 avaly

Hi @avaly sorry for delay. Actually we are focus on Strapi v3 and don't support this module. Please submit a PR if you want any update for this repo. Thank you

lauriejim avatar Mar 13 '18 11:03 lauriejim