To answer your <question> Tim: The current protob...
# protobufs
m
To answer your question Tim: The current protobuf (and gRPC) plugin is here: https://github.com/pactflow/pact-protobuf-plugin/#unsupported-features and is only supported in Pact JVM and Rust at the moment. We will be adding support into Golang in the next little while, and then seeking feedback from the early adopters before rolling out widely
r
@Matt (pactflow.io / pact-js / pact-go) hello, any progress on Pact-Go + GRPC we could leverage at this very moment?
m
Yes, albeit it’s very much alpha and I’d expect the API to change. Given the introduction of the new V4 spec and plugins, it has (positively) impacted the vision for the API, which might take a few goes/feedback to get right
https://github.com/pact-foundation/pact-go/compare/2.x.x...feat/v3-type-system is the branch, which will merge back into 2.x.x once it’s clean and then a new beta version released
🙌 1
I haven’t yet put together a proper running gRPC example using the new interface, but this is an internal test that uses the public API: https://github.com/pact-foundation/pact-go/compare/2.x.x...feat/v3-type-system
This is a working gRPC example using the FFI methods. Those methods aren’t exposed publicly but you can probably glean what it enables, and how you’d translate that into the actual API above
I plan to spend a bit more time on it tomorrow, if I’m up to it (have been unwell with The Rona…….)
Speaking of - off to bed 🤒
r
Take care!!
m
Thanks 🙏