Open
Description
openedon Jul 28, 2024
Description
As redis does not support caching null values, currently in the implementation of redis-cache a check is there to throw a exception if the value is null. However, there can be a configuration to safely ignore the null value instead of throwing exception or trying to store it.
Same was discussed in #39547, hence creating this issue to have a configuration parameter which can achieve this behavior of safely ignoring null values instead of trying to save it in cache or throwing exception.
Implementation ideas
A parameter like cacheInfo.ignoreNullValues
before the block where the exception is thrown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment