Let plugins specify metadata for key/values inside array settings
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
(#2363 (closed)) more helpful.
As I wrote in #2363 (comment 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
.