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

feat(mock-server) store providerStates in contract file #101

Closed
wants to merge 1 commit into from

Conversation

vgrigoruk
Copy link

@vgrigoruk vgrigoruk commented Feb 6, 2019

Right now,providerStates are not serialized into a contract file if mockserver is started with --pact_specification_version '3'. This PR fixes the issue.

@vgrigoruk
Copy link
Author

ping @bethesque

@bethesque
Copy link
Member

I think that's the v2 serialiser. I don't think v3 serialisation is supported yet. Also, the provider states array is an array of objects with a name key, and a params key, it's not just an array of strings.

@vgrigoruk vgrigoruk closed this Feb 25, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants