wiremock-graphql-extension
wiremock-graphql-extension copied to clipboard
Using response templating with graphql requests
Proposal
I'm kinda new to wiremock so it may be already possible, but I wish to be able to use response templating when working with graphql stubs.
However, I don't see anyway in which I can access certain parts of the graphql body without parsing it myself. Are there builtin helpers that allow me to do this? If not, would it be possible to add these?
I imagine it as something like a request.graphql.variables
which can be used in the response template to fetch the variables used for the graphql query.
References
No response