Closed Katulus closed 6 years ago
Ping @hikalkan.
Thank you for fixing this. I will check and merge.
Do you have any time frame for releasing this? I need the changes in order to make my code work so whether I should rather use custom fork for now or whether you plan to release it in few days and I can use official Nuget.
Thank you for your contribution. I will release it now.
If you have a class that has constructor dependency
IEnumerable<T>
and there are multiple services of typeT
registered in container then the order of items injected to constructor is opposite to registration order. That causes issues in some ASP.NET Core classes.You have correct
Reverse
inScopedWindsorServiceProvider.ResolveInstanceOrNull()
when someone asks forIEnumerable<T>
directly but that does not cover nested dependencies.See unit tests
*_ResolvingClassDependingOnCollection_*
.