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

FFI: Headers configured with provider state generator have invalid paths in Pact file #355

Closed
rholshausen opened this issue Jan 15, 2024 · 1 comment
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@rholshausen
Copy link
Contributor

Headers configure with JSON like

{"expression":"${seToken}","pact:generator:type":"ProviderState","pact:matcher:type":"type","value":"ABC123"}

end up with incorrect generators and matchers in the generated Pact file

"$['se-token'][0]": {
    "expression": "${seToken}",
    "type": "ProviderState"
}

Downstream issue pact-foundation/pact-js#1144

@rholshausen rholshausen added the bug Indicates an unexpected problem or unintended behavior label Jan 15, 2024
rholshausen added a commit that referenced this issue Jan 16, 2024
@rholshausen
Copy link
Contributor Author

Pact FFI Library 0.4.12 released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant