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

Expand validation error descriptions #896

Merged
merged 2 commits into from
Dec 27, 2021
Merged

Expand validation error descriptions #896

merged 2 commits into from
Dec 27, 2021

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Dec 27, 2021

The description for validation errors will now include all the descriptions of associated validation issues, which may in turn contain descriptions for nested validation issues.

For instance, instead of the generic description record operation is invalid, an expanded description such as the following will be used:

record operation is invalid
- relationship data is invalid
  - relatedRecord has a type 'person' which is not an allowed type for this relationship

Closes #890

@dgeb dgeb merged commit 5fc123e into main Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ValidationError in console obscures issues
1 participant