dadhi / DryIoc

DryIoc is fast, small, full-featured IoC Container for .NET
MIT License
1.03k stars 122 forks source link

Resolve with IfUnresolved.ReturnDefaultIfNotRegistered throws if dependency is not registered #489

Closed dadhi closed 2 years ago

dadhi commented 2 years ago

IfUnresolved.ReturnDefaultIfNotRegistered is not propagated to dependencies.

dadhi commented 2 years ago

On hold - I need to think more of it, cause inheriting the setting break too many tests.

dadhi commented 2 years ago

The behavior is by design. See #502 for the enhancement.