From 3166fee4d1e9fac83865f8b59232a2f08aad1b94 Mon Sep 17 00:00:00 2001 From: Memoyu Date: Sat, 18 Nov 2023 11:13:07 +0800 Subject: [PATCH] fix: update CacheNulls to true #506 --- src/EasyCaching.Core/Configurations/BaseProviderOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EasyCaching.Core/Configurations/BaseProviderOptions.cs b/src/EasyCaching.Core/Configurations/BaseProviderOptions.cs index 3ec88f96..b1d2dfe2 100644 --- a/src/EasyCaching.Core/Configurations/BaseProviderOptions.cs +++ b/src/EasyCaching.Core/Configurations/BaseProviderOptions.cs @@ -42,8 +42,8 @@ public class BaseProviderOptions public string SerializerName { get; set; } /// - /// Get or sets whether null values should be cached, default is false. + /// Get or sets whether null values should be cached, default is true. /// - public bool CacheNulls { get; set; } = false; + public bool CacheNulls { get; set; } = true; } }