Open scristian9 opened 1 year ago
it works in insomnia query variables section
graphql request example:
mutation createCompany($input: CreateCompanyInput!) {
createCompany(input: $input) {
companyId
tradingName
registrationNumber
phone
website
email
}
}
query variables example:
{
"input": {
"tradingName": "{% faker 'company', '', '', '', '', 'name', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'en' %}",
"registrationNumber": "{% faker 'random', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'phoneNumberFormat', 'numeric', '', '', '', '', 'b64::WzE0XQ==::46b', 'en' %}",
"email": "{% faker 'internet', '', '', '', '', '', '', '', '', '', '', '', '', '', 'email', '', '', '', '', '', '', '', '', '', '', '', 'en' %}",
"phone": "{% faker 'phone', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'phoneNumberFormat', '', '', '', '', '', '', 'en' %}",
"website": "{% faker 'internet', '', '', '', '', '', '', '', '', '', '', '', '', '', 'url', '', '', '', '', '', '', '', '', '', '', '', 'en' %}"
}
}
Currently in requests graphQL doesn't works 😿![image](https://user-images.githubusercontent.com/94980975/211849184-03e5d1bb-2308-4ea3-8b5f-a731d9f1f3ec.png)