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

fix: fix loading values from source last req #51

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

mateusz-drzymala-form3
Copy link
Contributor

@mateusz-drzymala-form3 mateusz-drzymala-form3 commented Jan 10, 2025

This will fix a problem with fetching the values from the source interaction last request. The problem occurs when the values from the source interaction are being used as a constraint. Due to the bug the json path library is unable to fetch the specified values from the source last request document.

Proof of Work

The unit tests for loadValuesFromSource function fails without the fix : https://github.com/form3tech-oss/pact-proxy/actions/runs/12708671770/job/35426099780

After adding the fix the CI is green 🟢

This will fix a problem with fetching the values from the source
interaction last request. The problem occurs when the values from the
source interaction are being used as a constraint.
Due to the bug the json path library is unable to fetch the specified
values from the source last request document.
@mateusz-drzymala-form3 mateusz-drzymala-form3 marked this pull request as ready for review January 10, 2025 11:36
@mateusz-drzymala-form3 mateusz-drzymala-form3 requested a review from a team as a code owner January 10, 2025 11:36
@mateusz-drzymala-form3 mateusz-drzymala-form3 merged commit eb89d7b into master Jan 13, 2025
2 checks passed
@mateusz-drzymala-form3 mateusz-drzymala-form3 deleted the md-fix-load-values branch January 13, 2025 19:06
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.

2 participants