• Clayton Coleman's avatar
    protobuf: During generation, copy protobuf tags back · 14a3aaf4
    Clayton Coleman authored
    The protobuf tags contain the assigned tag id, which then ensures
    subsequent generation is consistently tagging (tags don't change across
    generations unless someone deletes the protobuf tag).
    
    In addition, generate final proto IDL that is free of gogoproto
    extensions for ease of generation into other languages.
    
    Add a flag --keep-gogoproto which preserves the gogoproto extensions in
    the final IDL.
    14a3aaf4
generator.go 18.8 KB