meltano / sdk

Write 70% less code by using the SDK to build custom extractors and loaders that adhere to the Singer standard: https://sdk.meltano.com
https://sdk.meltano.com
Apache License 2.0
94 stars 68 forks source link

break: Support the same env var formats as Meltano #1896

Open edgarrmondragon opened 1 year ago

edgarrmondragon commented 1 year ago

Currently, a setting of array type can be parsed from an env var with the following format:

MY_ENV_VAR='a,b,c'

However, Meltano expects array settings to be JSON arrays:

MY_ENV_VAR='["a","b","c"]'

This mismatch is surprising to users familiar with Meltano, and to developers using Meltano to test connectors during development. In the latter case, the env vars and .env file are incompatible.

Related:

edgarrmondragon commented 1 year ago

We could do this in a non-breaking way by adding a flag that's present in the cookiecutter templates so new packages support the new format

stale[bot] commented 1 month ago

This has been marked as stale because it is unassigned, and has not had recent activity. It will be closed after 21 days if no further activity occurs. If this should never go stale, please add the evergreen label, or request that it be added.