dry-rb / dry-container

A simple, configurable object container implemented in Ruby
https://dry-rb.org/gems/dry-container
MIT License
335 stars 41 forks source link

Optionally not resolve relative to namespace #55

Closed niels-s closed 5 years ago

niels-s commented 5 years ago

PR #47 introduced feature to resolve relative to the namespace but there wasn't an option to resolve keys from other namespaces or the root. This change gives people the option to disable the relative namespacing.

I've also first opened a support ticket/question but found out there wasn't currently a workaround