pact-python
pact-python copied to clipboard
Add `All` interactions iterator
Have you read the Contributing Guidelines on issues?
- [X] I have 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_iteratorthat 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.