Replies: 3 comments
-
|
There is no proxy method for |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, so only proxy methods are exposed from the |
Beta Was this translation helpful? Give feedback.
-
|
You can access the backend from the cache object like this: The reason this is not exposed on the cache object is because it is an optional method. So make sure your caching backend supports |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe I've misunderstood something, but if I try to initialize
NullCachelikeSimpleCacheis done in the README.md, something goes wrong andhasmethod is missing.Test 1
Output
Test 2
If I import
NullCachedirectly,hasmethod works as expected and always returnsFalse.Output
Beta Was this translation helpful? Give feedback.
All reactions