grpc / grpc/grpc-java

Validation support

Open
#3,926 13 comments 11 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

Description

### What version of gRPC are you using?
NA

### What did you expect to see?
A provision to validate input data in a meaningful way, preferably using bean validation 2.0 (JSR 380)

My assumption is that currently I have to do adhoc validation for every single request & it defeats the whole purpose of having a framework like bean validation.

Is there any plan to integrate this with bean validation?

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reviewing the gRPC Java request-processing path and how Bean Validation 2.0 (JSR 380) could integrate with it. Done would require an agreed framework-level approach to meaningful request validation rather than per-request ad hoc checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, java
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.