Expected content of connectors
config is not intuitive, add validation and documentation
#42
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
See discussion here. The
connectors
config implements the config like shown here, but it expects only the content inside theconnectors
key, not the entireconnectors: [ ... ]
. This is not intuitive and has caught a few users.We should either improve the documentation or add validation around this. As the likely user mistake is that someone provides
connectors: [ ... ]
instead of just[ ... ]
, we could easily check for a connectors key with nested array and unpack it (and similarly make sure the array contains what looks like valid connectors (maybe checking for atype
andid
?).The text was updated successfully, but these errors were encountered: