Skip to content

Add information about violations to error message - #554

Open
anuraaga wants to merge 3 commits into
bufbuild:mainfrom
anuraaga:error-message
Open

anuraaga wants to merge 3 commits into
bufbuild:mainfrom
anuraaga:error-message

Conversation

@anuraaga

@anuraaga anuraaga commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

This follows the same style as protovalidate-es, one violation in the message and a count if there are more than one.

Fixes #546

/cc @stefanvanburen

@anuraaga
anuraaga requested a review from jonbodner-buf October 9, 2026 01:53
@stefanvanburen

Copy link
Copy Markdown
Contributor

Seems reasonable to me once y'all agree in bufbuild/protovalidate#536 :)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Include violations in ValidationError's message

2 participants