Skip to content

[REQ] Improve protobuf generator by adding custom options for api and model files #21074

Open
@andrewwilsonnew

Description

@andrewwilsonnew

Is your feature request related to a problem? Please describe.

Our project requires custom options in the proto api and model files.

Describe the solution you'd like

Can define 2 new options in the protobuf generator:

  • customOptionsApi
  • customOptionsModel

#21075

Describe alternatives you've considered

n/a

Additional context

Some good options that you can provide include:

  • option cc_generic_services = true; # C++
  • option optimize_for = SPEED;

java options see here

  • option java_multiple_files = true;
  • option java_package = "com.example.tutorial.protos.api";
  • option java_outer_classname = "ExampleProtos";

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions