Skip to content

Add Configuration.from_value() method #462

@rmk135

Description

@rmk135

Got a question in comments for configuration provider (http://disq.us/p/2hflii0):

Let say I load some environments variable using .from_env() . After that I want to add extra config variable, like some constant (string, number, datetime ...). How do you add extra constant variable to the same config? Do we have some function similar to .from_env() Ex: .from_value() ?

There is no .from_value() method right now. I think it's a good idea to add it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions