Cast environment variables config values into their respective JSON schema type
Summary
Currently only arrays of strings are parsed: value1,value2 -> ["value1", "value2"]. A similar process for number, boolean and integer would be valuable.
Proposed benefits
- Users can fully rely on environment variables and
.envto configure their taps - Richer data types can be used for environment variables
Proposal details
We already have some functions to check for data types in https://gitlab.com/meltano/sdk/-/blob/main/singer_sdk/helpers/_typing.py, so we could extend and leverage those when parsing environment variables.
Best reasons not to build
Support for environment variables is not common in the Singer ecosystem.