More helpful error messages for common schema errors, e.g. singular input
, parameter
, argument
, output
#12899
Labels
input
, parameter
, argument
, output
#12899
Summary
It would be nice if Argo could catch some common schema errors, such as accidentally using
input
instead ofinputs
.Particularly for templating it can be hard to tell what went wrong
Follow-up to this Slack thread where a user had:
and was getting errors that didn't really help narrow down the problem -- similar to #10630:
This could be considered a subissue of #10630 to be specifically more helpful for these common typos (and perhaps other common typos).
This type of detection could also be useful outside of templating -- for invalid YAML manifests for instance that accidentally use
input
instead ofinputs
.Use Cases
It could help quite greatly when debugging mistakes in Workflows, and would reduce support burden as well, given how common these can be.
Message from the maintainers:
Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: