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

allow npe2 validate to notify on extra fields #241

Open
nclack opened this issue Aug 15, 2022 · 0 comments
Open

allow npe2 validate to notify on extra fields #241

nclack opened this issue Aug 15, 2022 · 0 comments

Comments

@nclack
Copy link
Collaborator

nclack commented Aug 15, 2022

Description

Once #237 is merged, the validation performed when npe2 reads a manifest will be less strict. Extra fields will be ignored. This is desirable because it's nice to prefer compatibility when reading manifests.

Strict validation is desirable when a developer is creating a manifest. It's desirable to see extra fields, including, e.g. spelling mistakes.

Proposed new feature: Add a flag to the npe2 validate command that controls strictness - optionally turning on/off detection of extra fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant