square / wire

gRPC and protocol buffers for Android, Kotlin, Swift and Java.
https://square.github.io/wire/
Apache License 2.0
4.21k stars 571 forks source link

Add support for Api, FieldMask, SourceContext, and Type from protobuf's `.proto' files. #2976

Open oldergod opened 1 month ago

jianchaoxudd commented 1 month ago

hey @oldergod ,

The field mask you in this issue is the google.protobuf.fieldmask? https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/field_mask.proto

oldergod commented 1 month ago

Yes, all types listed are from .proto files within https://github.com/protocolbuffers/protobuf/tree/main/src/google/protobuf

jianchaoxudd commented 1 month ago

Yes, all types listed are from .proto files within https://github.com/protocolbuffers/protobuf/tree/main/src/google/protobuf

Nice! Do you have timeline for FieldMask support at least?

oldergod commented 1 month ago

Not at all. They should all already be working but you'll run into troubles if you have a codebase using Wire and protoc alongside each other. Those types will be generated by both and conflict.

jianchaoxudd commented 1 month ago

I see. We are internally using Wire-Runtime to parse protobuf file, but there is no ProtoType.FieldMask yet.