<#2322 Let plugins specify metadata for key/values...
# meltano-repo-activity
g
#2322 Let plugins specify metadata for key/values inside array settings Issue created by MeltyBot Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2366 Originally created by @DouweM on 2020-09-28 203202 --- This would let us add metadata for the key/value pairs inside `tap-spreadsheets-anywhere`'s
tables
array
, to make
meltano config <plugin> list
and
meltano config <plugin> init
(https://gitlab.com/meltano/meltano/-/issues/2363) more helpful. As I wrote in https://gitlab.com/meltano/meltano/-/issues/2363#note_419966123:
Meltano's configuration layer doesn't currently "understand" settings inside arrays, since it's built around the assumption that 1 setting has 1 key and 1 value, which breaks once an array can have multiple objects inside it with different key paths and values, but the same corresponding setting definition. Thus, from Meltano's perspective, the
tables
key is just a single setting with a massive array value.
We would also need to figure out how to deal with these array-nested settings when loading/storing config in environment variables, and when storing using
meltano config <plugin> set
or listing in
meltano config <plugin> list
. meltano/meltano