TheThingsIndustries / protoc-gen-fieldmask

Generate field mask utilities from proto files
Apache License 2.0
10 stars 3 forks source link

Support field mask for repeated struct #37

Open sysulq opened 4 years ago

sysulq commented 4 years ago

Summary

We need support select specified field for the slice of struct, which would be great.

Why do we need this?

message demo {
  repeated A a=1;
}

message A {
  int32 a=1;
  int32 b=2;
}

In some situations, we need to support return the specified b field to clients only.

What is already there? What do you see now?

...

What is missing? What do you want to see?

...

Environment

...

How do you propose to implement this?

...

Can you do this yourself and submit a Pull Request?

rvolosatovs commented 4 years ago

Sounds good, are you willing to contribute this feature?

sysulq commented 4 years ago

I wanna to try this, but I have no time recently...