Comments (3)
Hi @FocusHuang, the buf.build/bufbuild/validate-go
plugin is for protoc-gen-validate
which is a different project.
protovalidate
(this project) does not require any code generation. You can look at the README for an example on how to perform validation.
Duplicate of #67 (comment)
from protovalidate-go.
Why was the code generation function of protoc-gen-validate abandoned? @nicksnyder
from protovalidate-go.
Hi @Panlq! We covered the impetus for moving to a non-codegen approach in our blog post announcing the protovalidate project. If you have further questions, please don't hesitate to open a new issue. We're more than happy to provide further clarification.
from protovalidate-go.
Related Issues (20)
- gen proto issue HOT 1
- The validate returns an error object. How do I get the correct field name and the corresponding check message HOT 2
- [BUG] Non-deterministic error values when using `string.uuid` HOT 4
- Make evaluator threadsafe without mutex HOT 1
- Trouble to build for ` no field or method errors` in cel-go HOT 7
- [BUG] Processing a message that contains multiple unique constraints causes a runtime error. HOT 1
- [QUESTION] validate.proto file not found after running "go get -u github.com/bufbuild/protovalidate-go" HOT 3
- [BUG] Migrate off cel.OptCheckStringFormat
- Un-typedef errors.ValidationError to buf.validate.Violations
- StandardConstraintResolver interface needs to return errors
- [BUG] undefined: atomic.Pointer v0.3.3 HOT 1
- Part of the validation code is not generated HOT 2
- [Question] How to use protovalidate-go in github-actions HOT 2
- Document recommendation for instantiating/managing validator instances HOT 2
- [Feature Request] Allow extending default cel.Env created by protovalidate.New HOT 4
- Fails to validate a simple message HOT 2
- [BUG] error evaluating repeated.unique: internal error: runtime error: invalid memory address or nil pointer dereference HOT 1
- [BUG] Cannot build with Bzlmod HOT 13
- [Question] What's the correct way to write cel expressions for validating a single item in a repeated field? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protovalidate-go.