Skip to content

Expand validation error descriptions#896

Merged
dgeb merged 2 commits into
mainfrom
validation-descriptions
Dec 27, 2021
Merged

Expand validation error descriptions#896
dgeb merged 2 commits into
mainfrom
validation-descriptions

Conversation

@dgeb

@dgeb dgeb commented Dec 27, 2021

Copy link
Copy Markdown
Member

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