Skip to content

Commit 4841f08

Browse files
authored
Merge pull request #10 from PandaTechAM/development
nullability fix
2 parents 93863ce + 546a352 commit 4841f08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/DistributedCache/DistributedCache.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
<PackageReadmeFile>Readme.md</PackageReadmeFile>
99
<Authors>Pandatech</Authors>
1010
<Copyright>MIT</Copyright>
11-
<Version>4.0.0</Version>
11+
<Version>4.0.1</Version>
1212
<PackageId>Pandatech.DistributedCache</PackageId>
1313
<Title>Pandatech Distributed Cache</Title>
1414
<PackageTags>pandatech;cache;hybrid-cache;distributed-cahce;message-pack;rate-limiting;redis-lock;redis;fusion-cache</PackageTags>
1515
<Description>Pandatech.DistributedCache is a lightweight .NET library that extends the new HybridCache abstraction for seamless distributed caching on top of Redis. It provides strongly typed caching with MessagePack serialization, distributed locking, rate limiting, and stampede protection. With fewer than 500 lines of code, it is both easy to understand and simple to adopt, while still offering robust features for production environments.</Description>
1616
<RepositoryUrl>https://github.com/PandaTechAM/be-lib-distributed-cache</RepositoryUrl>
17-
<PackageReleaseNotes>Changed ICacheService with HybridCache interface. Not backward compatible with previous version</PackageReleaseNotes>
17+
<PackageReleaseNotes>Nullability fix</PackageReleaseNotes>
1818
</PropertyGroup>
1919

2020
<ItemGroup>

src/DistributedCache/Extensions/HybridCacheExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static async ValueTask<TValue> GetOrDefaultAsync<TValue>(this HybridCache
2020
);
2121
}
2222

23-
public static async ValueTask<(bool Exists, TValue? Value)> TryGetAsync<TValue>(this HybridCache cache,
23+
public static async ValueTask<(bool Exists, TValue Value)> TryGetAsync<TValue>(this HybridCache cache,
2424
string key,
2525
CancellationToken ct = default)
2626
{

0 commit comments

Comments
 (0)