James Demaine
03/04/2024, 11:39 AMpact_ffi::plugins: Failed to call out to plugin - Request to configure interaction failed: Failed to process protobuf: Failed to invoke protoc binary: exit code exit status: 1 back when running it. I've checked in the plugins dir that it has actually downloaded protoc and the executable is accessible - any help would be appreciated!Yousaf Nabi (pactflow.io)
James Demaine
03/04/2024, 12:05 PMJames Demaine
03/04/2024, 12:08 PMYousaf Nabi (pactflow.io)
protoc executable on the command line?
protoc --version
https://grpc.io/docs/protoc-installation/
if that works, can you invoke the protobuf plugin directly, to run the plugin?
There is a grpc example here in the pact-plugin repo, you could try that for starters to check it isn’t something in your test.
https://github.com/pact-foundation/pact-plugins/pull/55James Demaine
03/04/2024, 12:12 PMJames Demaine
03/04/2024, 12:13 PM{"port":41785, "serverKey":"3ddf4cc4-fbcd-4a1c-9db3-b513fc0e57af"}Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
James Demaine
03/04/2024, 12:19 PM.proto file. Many thanks!James Demaine
03/04/2024, 3:07 PM"numbers": "atLeast(1), eachValue(matching(regex, '\\d+', '100))" for repeated fields. If say for example I had a repeated list of objects (potentially containing different types of primitive) instead of a repeated primitive as above, how would I handle that?Yousaf Nabi (pactflow.io)
James Demaine
03/04/2024, 3:49 PMMatt (pactflow.io / pact-js / pact-go)
Asset but not require that field.
@rholshausen any ideas?rholshausen
03/05/2024, 1:01 AMJames Demaine
03/05/2024, 9:09 AMrholshausen
03/05/2024, 10:20 PMJames Demaine
03/06/2024, 9:16 AMrholshausen
03/06/2024, 10:16 PMrholshausen
03/06/2024, 10:17 PMrholshausen
03/06/2024, 10:55 PMrholshausen
03/06/2024, 10:57 PMrholshausen
03/06/2024, 11:01 PM"pact:match": "eachValue(matching($'Asset'))
and not "pact-match":James Demaine
03/07/2024, 9:58 AMMatt (pactflow.io / pact-js / pact-go)