pact-python icon indicating copy to clipboard operation
pact-python copied to clipboard

Add `All` interactions iterator

Open JP-Ellis opened this issue 2 years ago • 0 comments

Have you read the Contributing Guidelines on issues?

Description

Implement the pact.interactions("All") method. While the upstream Pact core library supports this, the method requires passing a point to the Pact directly, instead of using the Pact handle. See:

  • [x] pact-foundation/pact-reference#333

We must wait for the upstream library to either:

  • Provide a way to get the underlying pointer to the Pact from a PactHandle; or,
  • Implement an equivalent to pact_model_interaction_iterator that takes in a PactHandle.

Has this been requested on Canny?

No response

Motivation

It is a feature which is partially supported upstream, and would not require too much work to get working hopefully.

Have you tried building it?

No response

Self-service

  • [ ] I'd be willing to contribute this feature to Pact Python myself.

JP-Ellis avatar Nov 03 '23 03:11 JP-Ellis