orbitjs / orbit

Composable data framework for ambitious web applications.
https://orbitjs.com
MIT License
2.33k stars 134 forks source link

Expand validation error descriptions #896

Closed dgeb closed 2 years ago

dgeb commented 2 years ago

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