Skip to content
Discussion options

You must be logged in to vote

Hey! To use connect-es you have to define the types in protobuf. You will get similar type inference, if not better, on the client side when using connect-es. You can still use zod for validations like email etc... and protobuf will ensure the basic types (string/number) are as expected.

We are working on https://github.com/bufbuild/protovalidate, which aims to bring validation to protobuf messages. It already has support for several languages with TS being actively worked on.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by nicksnyder
Comment options

You must be logged in to vote
1 reply
@nicksnyder
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants