Unable to use MediatR and Optional with manual registration of standard api interfaces
JeremyBP opened this issue · 0 comments
JeremyBP commented
When we call registration methods like AddApizrFor or AddApizrFor(typeof(TWebApi)) with WithMediation and/or WithOptionalMediation options, MediatR handlers as Optional handlers are not registered.
No problem with assembly scanning registration.