Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that protovalidate does not require any code generation #278

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.

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
docs/migrate.md Outdated Show resolved Hide resolved
Co-authored-by: Philip K. Warren <[email protected]>
@rodaine rodaine merged commit 283c515 into main Nov 26, 2024
5 checks passed
@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