Skip to content

Clarify that protovalidate does not require any code generation#278

Merged
rodaine merged 2 commits intomainfrom
tstamm/Clarify-that-protovalidate-does-not-require-any-code-generation
Nov 26, 2024
Merged

Clarify that protovalidate does not require any code generation#278
rodaine merged 2 commits intomainfrom
tstamm/Clarify-that-protovalidate-does-not-require-any-code-generation

Conversation

@timostamm
Copy link
Member

protoc-gen-validate is a plugin that generates validation code. protovalidate uses runtime libraries instead, and does not require code generation.

This seems to be a frequent point of confusion for users when migrating. E.g. #275, #269, #177, #178, #73, #47.

I suggest we spell out this major difference in the main readme and the migration guide.

@github-actions
Copy link

github-actions bot commented Nov 26, 2024

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedNov 26, 2024, 3:21 PM

@timostamm timostamm requested a review from nicksnyder November 26, 2024 14:53
Co-authored-by: Philip K. Warren <pkwarren@users.noreply.github.com>
@rodaine rodaine merged commit 283c515 into main Nov 26, 2024
@rodaine rodaine deleted the tstamm/Clarify-that-protovalidate-does-not-require-any-code-generation branch November 26, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments