You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The option keys is not respected. The first time you call the function, the return value is as expected but if you call a second time the function with a different name , it will return the previous value instead of the correct one.
I've made a minimal project to demonstrate the issue. The instructions to reproduce the bug are in the README.md.
The text was updated successfully, but these errors were encountered:
Keep in mind the option :keys is not available for the cacheable decorator (it is only allowed on cache_evict and cache_put decorators), then, it is being ignored in your example. You have to use the option :key instead. You can check the docs: https://hexdocs.pm/nebulex/Nebulex.Caching.Decorators.html#cacheable/3-options.
Hi,
I've updated few applications to Elixir 1.16.0 and found an issue with Nebulex and decorated functions.
If you take the following example:
The option
keys
is not respected. The first time you call the function, the return value is as expected but if you call a second time the function with a differentname
, it will return the previous value instead of the correct one.I've made a minimal project to demonstrate the issue. The instructions to reproduce the bug are in the
README.md
.The text was updated successfully, but these errors were encountered: