Skip to content

Commit 2141779

Browse files
author
Michael Bonifacio
committed
Remove duplicate OriginalError field
- Keep only OriginalJsonSchemaError (our convention) - OriginalError was mistakenly re-added during upstream merge
1 parent bf68afe commit 2141779

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

errors/validation_error.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ type SchemaValidationFailure struct {
5151
// The original jsonschema.ValidationError object, if the schema failure originated from the jsonschema library.
5252
OriginalJsonSchemaError *jsonschema.ValidationError `json:"-" yaml:"-"`
5353

54-
// OriginalError is an alias for OriginalJsonSchemaError for backwards compatibility
55-
OriginalError *jsonschema.ValidationError `json:"-" yaml:"-"`
56-
5754
// Context is the raw schema object that failed validation (for programmatic access)
5855
Context interface{} `json:"-" yaml:"-"`
5956
}

0 commit comments

Comments
 (0)