Skip to content

proto field name to validation error #48 (Java) #317

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

Merged
merged 4 commits into from
Feb 19, 2020
Merged

proto field name to validation error #48 (Java) #317

merged 4 commits into from
Feb 19, 2020

Conversation

mortenlocka
Copy link
Contributor

Hi,

A java implementation of #48

Copy link
Contributor

@rmichela rmichela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's stick stick with spaces for indenting.

@rmichela
Copy link
Contributor

Can you also please rebase onto master?

@mortenlocka mortenlocka requested a review from rmichela February 16, 2020 12:53
@rmichela
Copy link
Contributor

@rodaine or @akonradi Do either of you want to weigh in? This looks good to me. It doesn't change existing behavior.

@akonradi
Copy link
Contributor

For Java I'm happy to defer to @rmichela

@akonradi akonradi removed their request for review February 19, 2020 19:00
@rmichela rmichela merged commit bcadd58 into bufbuild:master Feb 19, 2020
hexdigest pushed a commit to hexdigest/protoc-gen-validate that referenced this pull request Mar 26, 2020
* Save fields in validation exception

Signed-off-by: Morten Løcka <[email protected]>

* ValidationException to StatusRuntimeException with BadRequest status details.

Signed-off-by: Morten Løcka <[email protected]>

* Extended tests with BadRequests details from validation exception

Signed-off-by: Morten Løcka <[email protected]>

* formatting and cleanup

Signed-off-by: Morten Løcka <[email protected]>
Signed-off-by: Maxim Chechel <[email protected]>
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.

3 participants