Hello! Is there a way to provide metadata to the p...
# protobufs
a
Hello! Is there a way to provide metadata to the pact verifier so it can inject it into the grpc call? for example if we need to provide an access token to a provider in RPC call. For REST requests we use requestFilter. What can be done for grpc pact verifier?
a
Thank you @rholshausen, Is there any example/documentation for nodejs? I can't figure out how implement this in js?
r
Node.js may not support this yet
a
any task created for this feature implementation in nodejs? any ETA for this?
r
@Matt (pactflow.io / pact-js / pact-go)?
m
This was raised yesterday: https://pact.canny.io/feature-requests/p/add-metadata-injection-support-to-pact-js-verifier See also https://pact-foundation.slack.com/archives/C02BXLDJ7JR/p1716200056061779. I don’t believe we can do it in Pact JS with the FFI, but if we can, that certainly helps.
a
Hi @Matt (pactflow.io / pact-js / pact-go), is there a final decision on this? This feature is crucial to decide whether to adopt grpc/protobuf contract testing at my company. I think this is a pretty important functionality for grpc/protobuf contract testing and is definitely worth implementing.