Replies: 1 comment 15 replies
-
Can you tell me if you use the decorator over an endpoint method or on service method? You are on which version? |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the @usecache decorator on a service function with mongoose cache, which is correctly writing the data to the cache, but on every call of the decorated function with the same params it is overwriting the cache (under the same key). Is this expected ? Should I be using cache.get to check for a cached entry before calling the decorated function ?
Thanks for the help.
Beta Was this translation helpful? Give feedback.
All reactions