IT Dr
03/21/2024, 9:54 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
fromProviderState
).IT Dr
03/21/2024, 10:01 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
What we want to avoid here is that 20 different consumers doing a form and structure test but giving 20 different IDs for which then provider has to maintain 20 different provider states.for this, one suggestion would be to suggest re-using state names across tests. From a provider’s perspective, you can simply reject (by never successfully verifying) a pact test that has states you don’t wish to support, and communicate that intent in some way. We’re thinking about how we might be able to do that within the PactFlow experience to help aid the process, but good old fashion talking to each other / slack etc. is probably workable in most contexts
Matt (pactflow.io / pact-js / pact-go)
IT Dr
03/21/2024, 10:08 AMIT Dr
03/21/2024, 10:09 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
IT Dr
03/21/2024, 10:13 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
IT Dr
03/21/2024, 5:16 PMfromProviderState
in Python too? One of our teams is using Python and I can't find anything about it in the Python docs.Matt (pactflow.io / pact-js / pact-go)