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

Please add --monkeypatch option to pact mock service start up command and pact-provider-verifier command #123

Closed
bethesque opened this issue Nov 7, 2017 · 2 comments

Comments

@bethesque
Copy link
Member

Requires standalone version pact-1.19.0.

This is to support: pact-foundation/pact-mock_service#78 and another issue that I can't currently find.

The feature that the user is requesting is not something that should be changed for all users, as it is a non-standard behaviour, and breaks the Rack spec. However, we can allow the underlying code to be monkey patched for his specific use case. The value supplied to --monkeypatch will be an absolute path to a ruby file that will monkeypatch the underlying header logic.

This is not something that we need to document, but we can use it to deal with edge cases when necessary!

@mefellows
Copy link
Member

mefellows commented Nov 7, 2017

Copying this to pact-node as that is where the the CLI is integrated, and leaving this as an enhancement ticket until that is completed. What is required from here to make this flag available Beth?

@bethesque
Copy link
Member Author

Thanks, I'll close this then.

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