:wave: Hi all, apologies in advance if the locatio...
# pact-plugins
c
πŸ‘‹ Hi all, apologies in advance if the location is obvious, I'm trying to find an example of using the gRPC plugin with a JS consumer. So far I've only found jvm, go, and rust examples here https://docs.pact.io/implementation_guides/pact_plugins/examples/grpc. The provider is a go app with protobuf, so I have been able to find examples with that. Thanks so much!
blobwave 1
y
Hey, It isn't obvious no, we don't have one under the pact-foundation at the moment, here is one I created a while back https://github.com/YOU54F/pluginopedia/tree/main/example-project-js-grpc-plugin/test
c
Ah thanks, that is helpful πŸ™‡ I couldn't find the documentation on the
usingPlugin
,
addSynchronousInteraction
, etc APIs. I checked here https://docs.pact.io/implementation_guides/javascript/docs/consumer#api , is there somewhere else that information is located? Thanks again!
m
It is currently a little hidden, mostly because it’s hidden behind the feature flag. There is an example v4 project in the repo
πŸ‘ 1
I think we should release it and add the docs, despite it not being feature complete yet (e.g. no async messages in the V4 interface yet)