Skip to content

Commit

Permalink
Merge pull request #800 from ydie22/type-forwarding
Browse files Browse the repository at this point in the history
Adding type forwardings for types that were moved to the Contracts package
  • Loading branch information
jbogard authored Nov 19, 2022
2 parents 9128e9c + df43601 commit d2f166e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/MediatR/TypeForwardings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using System.Runtime.CompilerServices;
using MediatR;

[assembly: TypeForwardedTo(typeof(IBaseRequest))]
[assembly: TypeForwardedTo(typeof(IRequest<>))]
[assembly: TypeForwardedTo(typeof(IRequest))]
[assembly: TypeForwardedTo(typeof(INotification))]
[assembly: TypeForwardedTo(typeof(Unit))]

0 comments on commit d2f166e

Please sign in to comment.