-
Notifications
You must be signed in to change notification settings - Fork 830
feat: add showConstraintMessages
option to ValidationError.toString()
#1612
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
feat: add showConstraintMessages
option to ValidationError.toString()
#1612
Conversation
0cb41b3
to
f212c28
Compare
2ef8ff0
to
0da8f89
Compare
Hi! Thanks for opening this PR, can you rebase or cherry-pick it to the latest |
f212c28
to
227a48a
Compare
@NoNameProvided I just cherry-picked the commit to the latest develop branch 👍 |
227a48a
to
1796341
Compare
@NoNameProvided and I fixed the tests just now 😄 |
4fd8298
to
1d48045
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.
I think "show" is a better word than "use". Other possible candidates are "print", "list", "return", "display".
1d48045
to
fc517f6
Compare
440c393
to
909fa5c
Compare
909fa5c
to
4f60259
Compare
Let's see what the workflow says |
Apparently needs approval from a maintainer... |
4f60259
to
7e9e15b
Compare
showConstraintMessages
option to ValidationError.toString()
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Add
useConstraintMessages
option parameter to ValidationError.toString function to use constraint messages instead of constraint names in the string representation for an error.Checklist
Update index.md
)develop
)npm run prettier:check
passesnpm run lint:check
passesFixes
fixes #1611