You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using queryMatchingDatetime it creates a pact file that is invalid for the provider to use.
On the provider side, the error au.com.dius.pact.core.model.InvalidPathExpression: Path expression "startDateTime" does not start with a root marker "$" is being thrown.
Consumer is using au.com.dius.pact.consumer:junit5:4.3.14 and Provider is using au.com.dius.pact.provider:junit5spring:4.3.14.
If I change request.generators.body to be named instead request.generators.query, it passes on the provider side (but same if I remove the whole generator block, so I don't know if that was a valid move.)
The text was updated successfully, but these errors were encountered:
When using queryMatchingDatetime it creates a pact file that is invalid for the provider to use.
On the provider side, the error
au.com.dius.pact.core.model.InvalidPathExpression: Path expression "startDateTime" does not start with a root marker "$"
is being thrown.Consumer is using
au.com.dius.pact.consumer:junit5:4.3.14
and Provider is usingau.com.dius.pact.provider:junit5spring:4.3.14
.which generates a pact with the following request:
If I change
request.generators.body
to be named insteadrequest.generators.query
, it passes on the provider side (but same if I remove the whole generator block, so I don't know if that was a valid move.)The text was updated successfully, but these errors were encountered: