Respawnsive / Apizr

Refit based web api client management, but resilient (retry, connectivity, cache, auth, log, priority, etc...)
https://www.apizr.net
Apache License 2.0
140 stars 12 forks source link

Unable to use MediatR and Optional with manual registration of standard api interfaces #2

Closed JeremyBP closed 4 years ago

JeremyBP commented 4 years ago

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.