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

Feature: Implement requestFilter's as per pact-js

Open thakkarjinal opened this issue 6 years ago • 6 comments

Hi, I am developing pact tests for my code and I am stuck at a place where I need a way to dynamically create authentication based on certain properties of the request. My consumer is an angular app and provider a django app. I am aware that requestFilter has been implemented in pact-js which is exactly what I was looking for. This is where I read about it. Would love to have something similar in python too. Thanks!

thakkarjinal avatar Jun 19 '19 13:06 thakkarjinal

Facing a similar problem. Does the team have someone working on updating pact-python as the underlying Ruby is updated? @mefellows @bethesque

Sankalan13 avatar Jun 24 '19 07:06 Sankalan13

This doesn't relate to the underlying Ruby, and is simply additional behaviour added to Pact JS to support this capability.

It would be a direct enhancement to Pact Python to make this happen.

mefellows avatar Jun 24 '19 07:06 mefellows

I know this is an old thread, but is anything going to happen with this missing feature?

ChengLiPP avatar May 04 '20 15:05 ChengLiPP

@elliottmurray might be interested if he has time. Matt or I can explain what is needed.

bethesque avatar May 05 '20 00:05 bethesque

Still interested in such feature, especially when working with contracts from pact broker.

ivanmikhalka avatar Mar 04 '23 17:03 ivanmikhalka

Anyone is welcome to try and implement this, pact-js serves as a good example. pact-jvm and other languages alos have the feature.

If you would like any guidance, please let us know

I know this is an old thread, but is anything going to happen with this missing feature?

You could implement it and propose a PR @ChengLiPP, same applies to the other posters and requestors

YOU54F avatar May 03 '23 17:05 YOU54F