-
Notifications
You must be signed in to change notification settings - Fork 6
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
When some keys are in error, mandatory key are not enforced #19
Labels
Projects
Milestone
Comments
Depends on #74. |
bfabio
added a commit
to bfabio/publiccode-parser-go
that referenced
this issue
Feb 14, 2021
* Refactored the way the library does validation: now we use github.com/go-playground/validator/v10 instead of custom ones. * Now Parse() always return ValidationErrors containing one or more ValidationError if any validation error is present. * The parser tries not to stop the validation early and give as many errors as possible immediately. * The strict mode was removed * The default output is now errorformat friendly (https://vim-jp.org/vimdoc-en/quickfix.html#error-file-format) * pcvalidate learned the -json switch to ouput the report as JSON * Specify the errored keys as a subset of JSONPath (fe. documentation.eng.features[3]) Fix italia#76, Fix italia#19, Fix italia#74, Fix italia#60.
bfabio
added a commit
to bfabio/publiccode-parser-go
that referenced
this issue
Feb 16, 2021
* Refactored the way the library does validation: now we use github.com/go-playground/validator/v10 instead of custom ones. * Now Parse() always return ValidationErrors containing one or more ValidationError if any validation error is present. * The parser tries not to stop the validation early and give as many errors as possible immediately. * The strict mode was removed * The default output is now errorformat friendly (https://vim-jp.org/vimdoc-en/quickfix.html#error-file-format) * pcvalidate learned the -json switch to ouput the report as JSON * Specify the errored keys as a subset of JSONPath (fe. documentation.eng.features[3]) Fix italia#76, Fix italia#19, Fix italia#74, Fix italia#60.
bfabio
added a commit
to bfabio/publiccode-parser-go
that referenced
this issue
Jun 16, 2021
* Refactored the way the library does validation: now we use github.com/go-playground/validator/v10 instead of custom ones. * Now Parse() always return ValidationErrors containing one or more ValidationError if any validation error is present. * The parser tries not to stop the validation early and give as many errors as possible immediately. * The strict mode was removed * The default output is now errorformat friendly (https://vim-jp.org/vimdoc-en/quickfix.html#error-file-format) * pcvalidate learned the -json switch to ouput the report as JSON * Specify the errored keys as a subset of JSONPath (fe. documentation.eng.features[3]) Fix italia#76, Fix italia#19, Fix italia#74, Fix italia#60.
bfabio
added a commit
to bfabio/publiccode-parser-go
that referenced
this issue
Mar 11, 2022
* Refactored the way the library does validation: now we use github.com/go-playground/validator/v10 instead of custom ones. * Now Parse() always return ValidationErrors containing one or more ValidationError if any validation error is present. * The parser tries not to stop the validation early and give as many errors as possible immediately. * The strict mode was removed * The default output is now errorformat friendly (https://vim-jp.org/vimdoc-en/quickfix.html#error-file-format) * pcvalidate learned the -json switch to ouput the report as JSON * Specify the errored keys as a subset of JSONPath (fe. documentation.eng.features[3]) Fix italia#76, Fix italia#19, Fix italia#74, Fix italia#60.
bfabio
added a commit
to bfabio/publiccode-parser-go
that referenced
this issue
Mar 11, 2022
* Refactored the way the library does validation: now we use github.com/go-playground/validator/v10 instead of custom ones. * Now Parse() always return ValidationErrors containing one or more ValidationError if any validation error is present. * The parser tries not to stop the validation early and give as many errors as possible immediately. * The strict mode was removed * The default output is now errorformat friendly (https://vim-jp.org/vimdoc-en/quickfix.html#error-file-format) * pcvalidate learned the -json switch to ouput the report as JSON * Specify the errored keys as a subset of JSONPath (fe. documentation.eng.features[3]) Fix italia#76, Fix italia#19, Fix italia#74, Fix italia#60.
bfabio
added a commit
to bfabio/publiccode-parser-go
that referenced
this issue
Feb 18, 2023
* Refactored the way the library does validation: now we use github.com/go-playground/validator/v10 instead of custom ones. * Now Parse() always return ValidationErrors containing one or more ValidationError if any validation error is present. * The parser tries not to stop the validation early and give as many errors as possible immediately. * The strict mode was removed * The default output is now errorformat friendly (https://vim-jp.org/vimdoc-en/quickfix.html#error-file-format) * pcvalidate learned the -json switch to ouput the report as JSON * Specify the errored keys as a subset of JSONPath (fe. documentation.eng.features[3]) Fix italia#76, Fix italia#19, Fix italia#74, Fix italia#60.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When validating a Publiccode which has some error in compilation and some mandatory keys missing, it only enforce for malformed keys and not for required. Solving compilation errors it warns you about the required key missing.
I expect the full list on what's going wrong every time.
The text was updated successfully, but these errors were encountered: