-
Notifications
You must be signed in to change notification settings - Fork 68
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
DOC Show more information in ValidationException message #677
DOC Show more information in ValidationException message #677
Conversation
ec16e8b
to
7be0d77
Compare
902631b
to
e6d717a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably worth adding a note that out of the box the only validation messages which have this additional context are ones produced by a call to DataObject::validate()
.
Also add some docs around the new API in the validation documentation section.
I don't know how to do this. The most relevant section would be here We could add something like this, but it seems like far too much basically irrelevant detail
|
e6d717a
to
1973b19
Compare
I'm not saying we should document what I wonder if we should also provide |
Updated |
1973b19
to
b020233
Compare
b020233
to
955ea81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will merge after code PRs
Issue silverstripe/silverstripe-framework#11423