Closed juckerf closed 7 years ago
commit 43d75d1 adds a new hook which can be used as after hook to remove the hook.result.cache
property from the final result.
(i just saw that travis failed, probably i'm gonna adjust the tests for commit d267c76)
Thank you for this nice addition. I will bump the npm version as it is now a little different to use.
Probably if one migrates the express routes to a feathers service, one can add a .setup(app) method to the service and get the redisClient from there.
Services have very strict routes with precise verbs: find, get, patch, etc. How do you see this? the express route on the other hand is perfectly flexible... Maybe using a post object submited to find method? or params?
commit be07cde fixes an issue when
hook.params is empty
(and therefore hook.params.query cannot be converted into an object)commit d267c76 fixes #2 partially. Partially because I was not able to pass the
redisClient
to the cache routes. Probably if one migrates the express routes to a feathers service, one can add a.setup(app)
method to the service and get the redisClient from there.