-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple integrations with same Consumer and Provider cause to pact file write errors #509
Comments
As discussed on slack, this is because you're generating a V3 spec pact file which doesn't support serialising mixed interaction types. The new beta version of Pact .NET will support this as it can generate V4 pacts |
@mefellows, are there any updates on when the stable version will be released? It's very problematic to integration beta versions in our Enterprise |
we need people to use the library and provide feedback. the beta status shouldn't be an issue and isn't our concern as maintainers, that you are unable to run betas in enterprise. the best solution for you with v3 capabilities is to name your message provider differently than your http provider as has always been the guidance for v3 pacts |
path to release is here as set out the this repos maintainer |
In this case, I must manage the connection between consumers and providers in some DB, in order to "group" different integrations of the same consumer-provider |
The roadmap for v5 is close now, with some final issues to fix and testing to perform. I've been using the beta for a few months now in production and not had any issues, so I'd encourage you to give it a try in the meantime if the alternatives suggested above don't work for you 👍 |
Closed just because there's no planned change here. The "fix" for this use case is in v5 and pact specification v4. |
Version information:
following conversation here: https://app.slack.com/client/T5F60FXSQ/C5F4KFKR8
There are two sets of integrations (same consumer and same provider:
Consumer -> HTTP Provider (Provider 1)
Consumer -> Messaging Provider (Provider 1)
This is HTTP integration file
This is a messaging integration file
When I run it, I get the following error.
The text was updated successfully, but these errors were encountered: