everett icon indicating copy to clipboard operation
everett copied to clipboard

document why default values are always strings

Open willkg opened this issue 9 years ago • 2 comments

There are a couple of architecture choices that we've made that should get documented so it's clear why it is the way it is.

One that comes up in conversations with people is that default values are always strings that get passed to the parser rather than parsed values. For example 'true' vs. True. I think it's a worthwhile thing to explain in the docs. One nice thing that might come of this is that someone comes up with a better way to meet my requirements.

This issue covers writing that up.

willkg avatar Aug 12 '16 16:08 willkg

I think https://github.com/willkg/everett/blob/master/everett/manager.py#L874 is enough to let this be closed.

pjz avatar Aug 21 '19 17:08 pjz

That's buried in the ConfigManager API docs and this issue covers writing something that's easier for everyone to bump into who needs to.

willkg avatar Aug 26 '19 15:08 willkg