Skip to content

Commit

Permalink
fix: update CacheNulls to true #506
Browse files Browse the repository at this point in the history
  • Loading branch information
Memoyu committed Nov 18, 2023
1 parent 699742a commit 3166fee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EasyCaching.Core/Configurations/BaseProviderOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public class BaseProviderOptions
public string SerializerName { get; set; }

/// <summary>
/// Get or sets whether null values should be cached, default is false.
/// Get or sets whether null values should be cached, default is true.
/// </summary>
public bool CacheNulls { get; set; } = false;
public bool CacheNulls { get; set; } = true;
}
}

0 comments on commit 3166fee

Please sign in to comment.