Cast environment variables config values into their respective JSON schema type #390
Labels
Accepting Pull Requests
evergreen
kind/Feature
New feature or request
migrated from gitlab
valuestream/SDK
Milestone
Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/393
Originally created by @edgarrmondragon on 2022-05-20 18:16:14
Summary
Currently only arrays of strings are parsed:
value1,value2
->["value1", "value2"]
. A similar process fornumber
,boolean
andinteger
would be valuable.Proposed benefits
.env
to configure their tapsProposal 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.
The text was updated successfully, but these errors were encountered: