protoc-gen-star
protoc-gen-star copied to clipboard
protoc plugin library for efficient proto-based code generation
Thanks a lot for this wonderful framework. I was building a protoc-gen plugin and needed a post processor for `GoImports`. As it was not a part of this framework, I...
I'm writing a protoc extension where the idea of scope exists. So for Visitor to be useful I need to know when the visitor has finished passing through a Node....
[Field mask](https://developers.google.com/protocol-buffers/docs/reference/csharp/class/google/protobuf/well-known-types/field-mask) seems to be missing from the WKT list. Was it intentional? If so may I know the reasoning? Otherwise can we add it?
While this plugin's abstraction of the CodeGeneratorRequest is the main purpose of the plugin, there are times it's necessary to get the original CodeGeneratorRequest that was parsed from stdin. In...
The glide project is saying it is unmaintained - https://github.com/Masterminds/glide/releases/tag/v0.13.3. Consider moving dependency management to Go modules or dep.
Hi folks, Before I knew this package existed, I implemented a similar AST-like structure over at [python-betterproto](https://github.com/danielgtaylor/python-betterproto). I actually think it's remarkable that we independently arrived at almost exactly the...
Export `Context.FieldType{PackageName,ImportPath}`, which can be quite useful in various scenarios. Extracted from #51
This change makes `protoc-gen-star` conform to the behaviour of `protoc-gen-go` in the presence of an `import_path` parameter that contains slashes. See https://github.com/golang/protobuf/blob/v1.4.2/protoc-gen-go/generator/generator.go#L637-L643 for evidence of this behaviour in `protoc-gen-go`. Fixes...