Skip to content

Include source info? #1319

@shadiramadan

Description

@shadiramadan

How do I include source info (comments) when using protoc-gen-es ?

For go @jhump made a nice helper to add them back:

  • github.com/jhump/protoreflect/v2/sourceinfo/cmd/protoc-gen-gosrcinfo

It would be nice if this was just a simple protoc setting we could set to prevent them being stripped out!

I'm trying to avoid needing to write a helper to add them back myself!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions