-
Notifications
You must be signed in to change notification settings - Fork 583
Open
Labels
Description
Describe the bug
I am using the @graphql-yoga/plugin-sofa package to create a restful api with the @graphql-yoga/nestjs package in a nestjs graphql application. Unfortunately, mutations don't seem to work as I get as error that the arguments haven't been provided.
Your Example Website or App
https://codesandbox.io/p/sandbox/empty-waterfall-69y9pr
Steps to Reproduce the Bug or Issue
- Open the codesandbox reporoduction link
- go to /graphql/swagger
- try the POST request with arguments
Expected behavior
The variables sent in the body must be recognised by @nestjs/graphql
Screenshots or Videos
No response
Platform
- OS: macOS
- NodeJS: 18.5.0
- "@graphql-yoga/nestjs": "^1.0.0",
- "@graphql-yoga/plugin-sofa": "^1.8.0",
- "graphql-yoga": "^3.8.0",
- "graphql": "^16.6.0",
- "@nestjs/graphql": "^11.0.4",
- "@nestjs/core": "^9.4.0",
Additional context
No response