Skip to content

Does the "required" keyword have any extra meaning, or is it irrelevant with protobufs v3? #3678

Answered by raphael
RedMarcher asked this question in Q&A
Discussion options

You must be logged in to vote

Goa generates explicit validation code based on the use of Required in the design. It leverages Protobuf v3 new optional keyword to implement the validation code (and implements the same logic for any HTTP endpoint as well). So definitely not legacy.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RedMarcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants