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
Hey 👋 ! Yeah, you're right, by default in Nebulex v2 nil values are skipped and that is not documented. Thanks for reporting it, we need to add docs here. On the other hand (quick update), for Nebulex v3 which is ongoing, this is not a constraint anymore, any value will be allowed to be cached.
Hi,
Thank you for your incredible work :)
We are experiencing some crashes after storing some nil values using
Cache.put_all([{:key, nil}], ttl: ttl)
. We use version 2.4.2.The backtrace is:
Reading the code, it seems like we should not store nil values; however, I think this behaviour is not documented 😅
https://github.com/cabol/nebulex/blob/v2.4.2/lib/nebulex/adapters/local.ex#L510
Thank you
The text was updated successfully, but these errors were encountered: