Skip to content

Commit

Permalink
fix dependance issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Nov 6, 2024
1 parent fec737e commit 5adeb19
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected override async Task<TResponse> Process(
{
SlidingExpiration = cacheRequest.SlidingExpiration(),
AbsoluteExpiration = cacheRequest.AbsoluteExpiration(),

};

await _distributedCache
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected override async Task<TResponse> Process(

var response = await next().ConfigureAwait(false);

// expire cache
// expire cache
if (request is not ICacheExpire cacheRequest)
return response;

Expand Down
2 changes: 1 addition & 1 deletion src/MediatR.CommandQuery/Dispatcher/RemoteDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public RemoteDispatcher(HttpClient httpClient, JsonSerializerOptions serializerO

var response = await JsonSerializer.DeserializeAsync<TResponse>(stream, _serializerOptions, cancellationToken);

// expire cache
// expire cache
if (request is not ICacheExpire cacheRequest)
return response;

Expand Down
5 changes: 4 additions & 1 deletion src/MediatR.CommandQuery/MediatR.CommandQuery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
<ItemGroup>
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="MediatR" Version="12.4.1" />
<PackageReference Include="Microsoft.Extensions.Caching.Hybrid" Version="9.0.0-preview.9.24507.7" />
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.4.8" />
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.0-rc.2.24473.5" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0-rc.2.24473.5" />
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.0-rc.2.24473.5" />
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.4.7" />
<PackageReference Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" />
<PackageReference Include="SystemTextJsonPatch" Version="4.0.0" />
</ItemGroup>
Expand Down

0 comments on commit 5adeb19

Please sign in to comment.