Skip to content

Commit

Permalink
chore(deps): update dependency mediatr to 12.4.1 (#87)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency mediatr to 12.4.1

* Restore the previous behavior of registering generic handlers from before MediatR 12.4.1

---------

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Anthony Simmon <[email protected]>
  • Loading branch information
3 people authored Sep 20, 2024
1 parent a4fbeb7 commit 51e78ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/Workleap.Extensions.MediatR/MediatorBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ void Configure(MediatRServiceConfiguration configuration)
// See: https://github.com/jbogard/MediatR/pull/989#issuecomment-1883574379
RegisterPreAndPostNonGenericClosedProcessors(configuration);

// Restore the previous behavior of registering generic handlers from before MediatR 12.4.1
// https://github.com/jbogard/MediatR/compare/v12.4.0...v12.4.1
configuration.RegisterGenericHandlers = true;

// Allow developers to override default configuration if needed
userDefinedConfigure?.Invoke(configuration);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MediatR" Version="12.4.0" />
<PackageReference Include="MediatR" Version="12.4.1" />
<PackageReference Include="MediatR.Contracts" Version="2.0.1" />
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 51e78ed

Please sign in to comment.