Skip to content
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

Question: How to exclude pact-jvm metadata from pact json #1725

Closed
huehnerlady opened this issue Oct 26, 2023 · 1 comment
Closed

Question: How to exclude pact-jvm metadata from pact json #1725

huehnerlady opened this issue Oct 26, 2023 · 1 comment

Comments

@huehnerlady
Copy link
Contributor

Hi,

we run into the problem, that the pact is "changed" after every dependency update, hence it has to be verified, because the metadata changes. I do understand, that metadata like the pact specification is important, but why is the pact-jvm version important?

We are not yet in the position of having the perfect flow, so my question is, if there is any way to exclude that field from the pact jsons, so we do not have a changing pact after every single dependency update?

Cheers

@YOU54F
Copy link
Member

YOU54F commented Nov 6, 2023

you can't exclude it, it's part of the core library. the metadata shouldn't cause the pact to be re verified, you possibly have other random data or your workflow is set to verify on contract published and not contract requiring verification publish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants