protoc-gen-gotag
protoc-gen-gotag copied to clipboard
Add custom struct tags to protobuf generated structs
So I have generated protobuf messages for go as well as nodejs But in the generated typescript file, I have the tagger imports How can I exclude this from that...
go generate ./... api/assessment/metric.proto: is a proto3 file that contains optional fields, but code generator protoc-gen-gotag hasn't been updated to support optional fields in proto3. Please ask the owner of...
`OverwriteGeneratorFile` expects path received from `OutputPath`. But with `outdir` parameter it modified and generator can't overwrite file leaving it untouched.
Hey @srikrsna, this project has been very helpful. Thank you for your work! The lack of engagement on Issues and Pull Requests (particularly to keep supporting newer proto features) is...
Bump github.com/lyft/protoc-gen-star version to Bump github.com/lyft/protoc-gen-star/v2 with other dependencies. Enable optional field support in `proto3`.
I have a message like this. I want to generate the custom for the 'operator' and 'article_id' , but I do not want to generate for the app_token because it...
The following command will auto add provided custom tag options to generated go structs ``` protoc -I /usr/local/include \ -I . \ --gotag_out=auto="form-as-camel":. --gotag_opt=suffix="form:optional+required" example/example.proto Generated Go struct type Foo...
The current library supports adding custom tags automatically but doesn't support auto adding custom tag options automatically. Can we add the following feature to auto add custom tag options along...
Add an option to allow absolute path for input file ``` protoc -I /usr/local/include \ -I ./pkg \ --gotag_out=outabsdir="/absolutePath:/absolutePath" example/example.proto ``` this will attempt to execute the tag replacement in...