pact-foundation / pact-js-core

Core binaries for pact-js, a Contract Testing Framework. NOTE: If you are looking to do Pact contract testing in node, you almost certainly want pact-js, not pact-node.
https://docs.pact.io
MIT License
150 stars 79 forks source link

Add metadata injection support to Pact JS Verifier #521

Open canny[bot] opened 5 months ago

canny[bot] commented 5 months ago

Metadata injection support is currently available in Java, for example 'https://github.com/pact-foundation/pact-plugins/blob/main/examples/gRPC/metadata/provider-jvm/server/src/test/java/io/pact/example/grpc/provider/PactVerificationTest.java#L60' . This function is needed in cases such as providing an authentication token to be able to verify the contract file using "verifyProvider" if the producer service is performing token authorization.

https://pact.canny.io/admin/board/feature-requests/p/add-metadata-injection-support-to-pact-js-verifier

canny[bot] commented 5 months ago

This issue has been linked to a Canny post: Add metadata injection support to Pact JS Verifier :tada: