socotecio / django-socio-grpc

gRPC for Django.
https://django-socio-grpc.readthedocs.io/
Apache License 2.0
104 stars 22 forks source link

Implement Buf Validation #316

Open legau opened 3 months ago

legau commented 3 months ago

https://github.com/bufbuild/protovalidate

This adds validation directly inside .proto files. This could be great for UUID fields :

message User {
    string id = 1 [(buf.validate.field).string.tuuid = true];
}