Skip to content

Allow blank values to be stored in reactive cache

Reuben Pereira requested to merge 56851-blank-values-in-reactive-cache into master

What does this MR do?

The reactive caching concern was using .present? to determine if it got a valid value from the cache. .present? returns false for values such as false, [], {}. Change this check to !.nil? instead so that such values can also be stored in cache.

What are the relevant issue numbers?

#56851 (closed)

Does this MR meet the acceptance criteria?

Edited by Nick Thomas

Merge request reports