You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In method find_message_type_by_name, it try to search message by name in all descriptors, but it looks like just return error if it can't find message in the first descriptor, and won't continue.
For example, I have descriptors = [Some("google/protobuf/timestamp.proto"), Some("google/protobuf/duration.proto"), Some("feast/types/Value.proto"), Some("feast/types/Field.proto"), Some("feast/types/FeatureRow.proto"), Some("ServingService.proto")].
And set pact:proto to ServingService.proto.
When running consumer testing, I got error: Failed to set the interaction: Failed to process protobuf: Did not find a message type 'Value' in the file descriptor 'Some("ServingService.proto")'
But actually Value is defined in Value.proto
The text was updated successfully, but these errors were encountered:
I can't replicate this, in my test the find_message_type_by_name function does look in all descriptors.
The problem must be somewhere else. Can you provide debug logs? Also, maybe try the latest version of the plugin. It may have been fixed with the changes from one of the other fixes.
In method
find_message_type_by_name
, it try to search message by name in all descriptors, but it looks like just return error if it can't find message in the first descriptor, and won't continue.For example, I have
descriptors = [Some("google/protobuf/timestamp.proto"), Some("google/protobuf/duration.proto"), Some("feast/types/Value.proto"), Some("feast/types/Field.proto"), Some("feast/types/FeatureRow.proto"), Some("ServingService.proto")]
.And set
pact:proto
toServingService.proto
.When running consumer testing, I got error:
Failed to set the interaction: Failed to process protobuf: Did not find a message type 'Value' in the file descriptor 'Some("ServingService.proto")'
But actually
Value
is defined inValue.proto
The text was updated successfully, but these errors were encountered: