Open lushilling opened 7 months ago
Looks like this comment has the same issue https://github.com/pact-foundation/pact-reference/issues/116#issuecomment-867553669
I've found a workaround but its not suitable for all my test cases (I have to hardcode the values on the consumer side, and remove fromProviderState)
This is still an issue with Pact-JVM too
my consumer tests are written in Pact-JS it logs the value as the correct type
pact_matching::json: compare_values: Calling match_values for path $.userId pact_matching::json: JSON -> JSON: Comparing '1' to '1' using Type -> Ok(()) pact_matching::json: compare_values: Comparing 'Number(1)' to 'Number(1)' at path '$.userId' -> Ok(())
Pact file created
Provider written in Java -> logs