Closed JoeStead closed 7 years ago
Top of the evening, @JoeStead 👋 Thanks for reporting this!
I have to make some assumptions, as it is not 100% clear to me what your setup is like.
RawRabbit.vNext
(rather than the ones from RawRabbit.Extensions
).The last thing that happens before returning the IServiceCollection
is that the custom
delegate/action is called. This ensures that whatever custom configuration that is provided in the AddRawRabbit
call is registered last.
Let me know if any of my assumptions are wrong and feel free to post a snippet of how you register RawRabbit and how I can reproduce it.
Take care!
Hello again, @JoeStead - I haven't heard from you in a while, so closing this issue for now. Feel free to re-open if you have any more input on the topic!
When using the
AddRawRabbit
ServiceCollection extension method, it currently overwrites any existing registrations.Instead of overwriting existing registrations, it should only register the type if one does not already exist.