When writing <my grpc interaction>, what format am...
# protobufs
r
When writing my grpc interaction, what format am I actually using? This doesn’t seem to be according the Pact v3 json file format or V4. Is there any documentation on what I have to write in my Go pact test for protobufs? Still struggling to get something working. 🙏
My current problem is finding out how to get resolve this:
Copy code
2022-12-23T12:39:38.876907Z ERROR ThreadId(01) pact_ffi::plugins: Failed to call out to plugin - Request to configure interaction failed: Failed to process protobuf: Error: Expected a comma, got ')'
   ╭─[expression:1:17]
   │
 1 │ matching(boolean)
   ·                 ┬  
   ·                 ╰── Expected a comma before this
───╯
y
Should be matching(boolean, true)
Or false depending on what val you want :)
😆 1
r
Thanks @Yousaf Nabi (pactflow.io), that seemed to be the documentation page I didn’t find.
y
My pleasure Ringo, yeah it probably needs to be more prominent and linked to example uses in code.
m
I wonder if we could link to the expression guide in that error @uglyog? or it might just be simpler to improve the plugin getting started guide for users (not authors which we spent a little more the on recently) I think the error message is really good, but obviously if you didn't know the language in the first place that doesn't help!
u
That's a good idea