protoc-gen-fieldmask icon indicating copy to clipboard operation
protoc-gen-fieldmask copied to clipboard

Generate FieldMask utility functions for protobuf

Results 2 protoc-gen-fieldmask issues
Sort by recently updated
recently updated
newest added

protoc-gen-fieldmask只会在当前文件中查找,同package但是不同文件的message就找不到了。 举个例子: grpc.proto ``` message BatchGetUserRequest { string user_id = 1; google.protobuf.FieldMask user_field_mask = 2 [ (fieldmask.option.Option).in = {gen: false}, (fieldmask.option.Option).out = { gen: true, message: "BatchGetUserResponse", } ]; }...

enhancement

user.proto:9:5: Option "(fieldmask.option.Option)" unknown. Ensure that your proto definition file imports the proto which defines the option. Keep on getting this. How to solve this ? Please help.