You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a bug that could cause the service instantiation to never complete in some very rare cases.
The @RdiService annotation now has an optional as parameter that allows to register the service as a supertype of it. For example if Circle implements Shape and the Circle class has @RdiService(as = Shape.class) on it, it would be possible to inject it in methods accepting a Shape as parameter. This feature was made possible with the addition of ServiceDescriptor.Builder#setConcreteType(Class) which allows to specify a subtype of the service class to instantiate when building a service descriptor.