You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[馃煝 ] Checked the documentation to see if it is possible to do what I want already
Feature description
In the context of consumer contract generation, it would be interesting to be able to set the specification version to be used.
Use case
To bring more flexibility in the verification tooling. An example would be consumers being written in JS (with the latest v3 specs) and producers being written/verified in Python (with pact-python currently only supporting v2 specs).
The text was updated successfully, but these errors were encountered:
You can do this already. At the moment, the main release only supports v2.
However, if you鈥檙e using the beta branch you can import v2 Pact as normal, or you can import from pact/v3 for the ability to generate v3 pacts
(Apologies, I鈥檓 on mobile, otherwise I鈥檇 link the examples).
When we release, I鈥檇 like to be able to keep much of the same interface from V2 for V3. This would make switching easier.
mefellows
changed the title
Set the Pact specification to use for Pact files generation
[V3] Set the Pact specification to use for Pact files generation
Aug 6, 2021
Checklist
Before making a feature request, I have:
Feature description
In the context of consumer contract generation, it would be interesting to be able to set the specification version to be used.
Use case
To bring more flexibility in the verification tooling. An example would be consumers being written in JS (with the latest v3 specs) and producers being written/verified in Python (with pact-python currently only supporting v2 specs).
The text was updated successfully, but these errors were encountered: