Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

argo lint and submit should warn/fail when unknown fields are detected #892

Closed
jessesuen opened this issue Jun 25, 2018 · 0 comments
Closed
Labels
type/feature Feature request
Milestone

Comments

@jessesuen
Copy link
Member

Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST

What happened:

The json package in golang 1.10 supports the ability to detect unknown fields:
https://golang.org/pkg/encoding/json/#Decoder.DisallowUnknownFields

This will be tremendously helpful when running argo lint and argo submit so we can catch mistakes in the YAML.

@jessesuen jessesuen added the type/feature Feature request label Jun 25, 2018
@jessesuen jessesuen added this to the v2.2 milestone Aug 14, 2018
icecoffee531 pushed a commit to icecoffee531/argo-workflows that referenced this issue Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant