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
There is no a non-complex way to add this method compared to the value it provides.
To partly mitigate its absence and add the DryIoc rich error messages back I have added the new rule Rules.WithServiceProviderGetServiceShouldThrowIfUnresolved is added (#331).
Option 1 - composition
Implement the DryIocServiceProvider wrapping the IResolver But the IResolver itself implements the IServiceProvider, so I am afraid to mess things up.
Option 2 - inheritance
Inherit the new container type from the Container and implement the ISupportRequiredService.
Un-sealing the Container seems a non-breaking change
There is also to need to overload With(...) method to keep the new container type when applying the rules
I expect the confusion for what type of pre-configured container to create and pass to the DryIocServiceProviderFactory,
Related to the #180
The text was updated successfully, but these errors were encountered: