Hello, I'm tired as hell with debugging it, so I need help from you.
So I have request which works perfectly when it's being called with Altair, body looks like:
{"query":"query products {\n products {\n items {\n id\n name\n }\n }\n}","variables":{},"operationName":"products"}
And it works. When I'm trying to send request with pactum it's showing me error:
The query you want to parse is using variables. This means that you have to supply for every variable that is used in the query a corresponding value. You can parse these values as a second parameter on the options object, on the \"variables\" key.
Body of Pactum thing:
"body": {
"query": "\n query products {\n products {\n items {\n id\n name\n }\n }\n }\n ",
"variables": {}
},```
You can see this is the same 😦 I'm running out of ideas...
I'm using Pactum because I was unable to setup it with supertest, I was getting always `BAD REQUEST 404` 😦