go-grpc-middleware icon indicating copy to clipboard operation
go-grpc-middleware copied to clipboard

CUE-based validator?

Open sashabaranov opened this issue 4 years ago • 1 comments

CUE language for data validation has been gaining some momentum recently. It claims to have protobuf integration similar to what grpc_validator is doing.

I'm wondering if it would make sense to bring CUE-based data validation in gRPC middleware?

sashabaranov avatar Jul 19 '21 20:07 sashabaranov

Hi, thanks for your issue. How would that actually work? Do you have a concrete proposal that we can action? I think you'd need some sort of annotation in the protobuf files for the validation logic, right?

johanbrandhorst avatar Jul 23 '21 01:07 johanbrandhorst

No response back, so closing, we can always reopen, thanks! (:

bwplotka avatar Apr 13 '23 10:04 bwplotka