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
Regex matching would be useful for the Graphql api that I'm working on.
I'm mocking a graphql API using wiremock. I'm using the graphql Extension for wiremock.
My request body looks something like this (variables":{"storesIds":[3888],"startDate":"2023-12-10","endDate":"2023-12-16") and when I create the mapping file for this query, it seems like it has to be an exact match for the Variables and Query, the variables change based on the week that we are on so regex for those values would really help.
something like (variables":{"storesIds":[([-\w])+],"startDate":"([-\w])+","endDate":"([-\w])+") which I have used in request matching like urlPathPattern.
References
No response
The text was updated successfully, but these errors were encountered:
Proposal
Regex matching would be useful for the Graphql api that I'm working on.
I'm mocking a graphql API using wiremock. I'm using the graphql Extension for wiremock.
My request body looks something like this (variables":{"storesIds":[3888],"startDate":"2023-12-10","endDate":"2023-12-16") and when I create the mapping file for this query, it seems like it has to be an exact match for the Variables and Query, the variables change based on the week that we are on so regex for those values would really help.
something like (variables":{"storesIds":[([-\w])+],"startDate":"([-\w])+","endDate":"([-\w])+") which I have used in request matching like urlPathPattern.
References
No response
The text was updated successfully, but these errors were encountered: