grpc-node icon indicating copy to clipboard operation
grpc-node copied to clipboard

grpc-loader: Expose field options

Open n0v1 opened this issue 8 months ago • 3 comments

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

In our proto files we would like to use custom options on field level (see FieldOptions in descriptor.proto) to store application-specific data like translations, relationships or categories. We compile our proto files to file descriptor sets and load those with grpc-loader. Unfortunately custom options on field level are currently not exposed by the objects created by proto-loader.

Describe the solution you'd like

Similar to #2711 for custom options on method level we would like proto-loader to expose custom options on field level.

Would you accept a pull request for this?

n0v1 avatar Jun 10 '24 11:06 n0v1