Hi - I'm really struggling with using the protobuf...
# protobufs
b
Hi - I'm really struggling with using the protobuf plugin, I'm getting a
Messages with StartGroup wire type fields are not supported
error. I get these two lines in the log - > 2025-12-09T175743.046300Z ERROR tokio-runtime-worker pact_protobuf_plugin:message decoder Was expecting String but received an unknown fixed 32 bit type > 2025-12-09T175743.046532Z ERROR tokio-runtime-worker pact_protobuf_plugin:message decoder Was expecting String but received an unknown 64 bit type The ComparisonResult is
Copy code
ComparisonResult@222 "ComparisonResult(statusMismatch=null, headerMismatches={}, bodyMismatches=Ok(value=BodyComparisonResult(mismatches={$=[BodyMismatch(expected=[B@38826984, actual=[B@4a6a3d06, mismatch=Messages with StartGroup wire type fields are not supported, path=$, diff=null)]}, diff=[-{usernameJemail�{���123��, +user_int_id: 5384906, +user_id: "MW_Italy12", +privileges: 31, +email: "michaelw+2072@domain.com", +address1: "123 Test St.", +city: "wqwe", +country: "IT", +zipcode: "Q1Q1Q1", +flags: 35651591, +registered {, +  seconds: 1220021689, +}, +phone: "39999999999 ", +birth_date {, +  seconds: 570844800, +}, +flags2: 70368755974148, +default_currency: "EUR", +sex: "U", +])), metadataMismatches={})"
I saw that Groups are not supported - is there anything I can do to avoid this? I have a feeling the groups are the registered and birth_date values, in the .proto file these are google.protobuf.Timestamp When I debug through, these 2 fields are FieldDescriptor.JavaType.MESSAGE
r
The gRPC plugin doesn't support group fields
Can you share your proto file so we can review it?
b
TransformedUser.proto