Skip to content

Improved exception content (invalid field)#21

Merged
osteel merged 1 commit intomainfrom
feature/improve-exception-content
Jul 1, 2022
Merged

Improved exception content (invalid field)#21
osteel merged 1 commit intomainfrom
feature/improve-exception-content

Conversation

@osteel
Copy link
Owner

@osteel osteel commented Jul 1, 2022

Description

This PR appends the invalid field when the validation error is a schema mismatch.

Motivation and context

Current exceptions miss this information, making tracking the error more difficult.

How has this been tested?

With a real scenario and the ValidationExceptionTest class has been completed.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the CONTRIBUTING document.
  • My pull request addresses exactly one patch/feature.
  • I have created a branch for this patch/feature.
  • Each individual commit in the pull request is meaningful.
  • I have added tests to cover my changes.
  • If my change requires a change to the documentation, I have updated it accordingly.

@osteel osteel merged commit f0fc193 into main Jul 1, 2022
@osteel osteel mentioned this pull request Jul 1, 2022
@osteel osteel deleted the feature/improve-exception-content branch February 3, 2023 18:26
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

Successfully merging this pull request may close these issues.

1 participant

Comments