We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dim::Container#register_env is missing a feature that #register has, the ability to provide a block for default values.
Dim::Container#register_env
#register
Right now you can do this:
container.register(:aws_access_key_id) do # some code that returns what the value of container.aws_access_key_id should be end
but not this:
container.register_env(:aws_access_key_id) do # some code that returns what the value of container.xyz should be end
This issue would get both methods in parity
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dim::Container#register_env
is missing a feature that#register
has, the ability to provide a block for default values.Right now you can do this:
but not this:
This issue would get both methods in parity
The text was updated successfully, but these errors were encountered: