You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what should be investigated or refactored
validation.ValidationCommand should return error == nil when validation is successfully executed regardless of wether or not there are ValidationErrors present as those can be handled using the ValidationResponse.Result
validator.Validate() should no longer return the basicErrors and instead return the jsonschema.ValidatonError to allow for additional handling by the consumer of the original jsonschema error
make above accessible to the ValidationResponse via the JsonSchemaError field of type *jsonschema.ValidationError
… an error when the validation has been successfully run
fix(validator)!: validator.Validate() no longer returns the parsed basic output as an error and instead returns the jsonschema.ValidationError
fix(cmd): validate cmd updated to handle ValidationCommand & validator.Validate changes
… error if validation was run (#267)
* fix(validation)!: #266 validation.ValidationCommand no longer returns an error when the validation has been successfully run
fix(validator)!: validator.Validate() no longer returns the parsed basic output as an error and instead returns the jsonschema.ValidationError
fix(cmd): validate cmd updated to handle ValidationCommand & validator.Validate changes
* fix(validation_command): added safety err handling with commment to issue opened to resolve the GetValidationResult returning an error
* fix(cmd): validate cmd now returns the Result json as an error instead of validationResponse.JsonSchemaError
Describe what should be investigated or refactored
validation.ValidationCommand
should returnerror == nil
when validation is successfully executed regardless of wether or not there areValidationErrors
present as those can be handled using theValidationResponse.Result
validator.Validate()
should no longer return thebasicErrors
and instead return thejsonschema.ValidatonError
to allow for additional handling by the consumer of the original jsonschema errorValidationResponse
via theJsonSchemaError
field of type*jsonschema.ValidationError
Additional context
The text was updated successfully, but these errors were encountered: