Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Service locator is not registering services decorated with attribute "ServiceLocatorRegistration" #1504
since version > 5.9 such kind of registration doesn't work anymore.
Version of Library
Version of OS(s) listed above with issue
Steps to Reproduce
test should contain a object of type TestService
UnregisteredServiceException or something alike.
Also, something is wrong with registering types with conversions and filtering. For example I have a lot of Telerik controls and this line should exclude everything from Telerik.* namespace:
But it doesn't happening.
The reason is that the TypeCache is no longer aggressively loaded in advance:
The way to solve this with the current stable version is to call
In the near future we will allow type cache initialization for the auto registration manager (makes sense when using the registration via attributes).