An unquoted `YYYY-MM-DD` date value under `config` in `meltano.yml` causes `meltano config <plugin>` to crash
Having the following in meltano.yml
breaks plugin config generation:
config:
start_date: 2019-09-01
As reported by Jonas B on Slack:
With
meltano config tap-woocommerce
I get along other things the output:start_date [env: TAP_WOOCOMMERCE_START_DATE] current value: '2019-09-01' (from meltano.yml)
If I put the date plain in the yaml, it starts to execute, but crashes with
TypeError: Object of type date is not JSON serializable
As I wrote there, '2019-09-01'
should be a string, because without quotes YAML will interpret it as a date
object which (as the error shows) cannot be serialized into JSON. We should be able to work around that though, by having Meltano automatically serialize date
objects using the ISO8601 format.
Edited by Douwe Maan