Skip to content

Commit

Permalink
Merge pull request #21 from SimCubeLtd/renovate/mediatr.extensions.mi…
Browse files Browse the repository at this point in the history
…crosoft.dependencyinjection-11.x

Update dependency MediatR.Extensions.Microsoft.DependencyInjection to v11
  • Loading branch information
prom3theu5 authored Oct 2, 2022
2 parents 631728a + 41f9239 commit 93178c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/SimCube.Spartan/SimCube.Spartan.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</PropertyGroup>

<ItemGroup Label="Package References">
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="10.0.1" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="11.0.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.2.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0-rc.1.22426.10" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/SimCube.Spartan/SimCube.Spartan.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/SimCube.Spartan/Validation/ValidationBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public class ValidationBehavior<TRequest, TResponse> : IPipelineBehavior<TReques
/// Performs the validation.
/// </summary>
/// <param name="request">The request to validate.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <param name="next">The next middleware in the request pipeline.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>The result of the validation, or the result of the next result in the pipeline if validation is successful.</returns>
public async Task<TResponse> Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate<TResponse> next)
public async Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TResponse> next, CancellationToken cancellationToken)
{
var context = new ValidationContext<TRequest>(request);

Expand Down

0 comments on commit 93178c6

Please sign in to comment.