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
## Arguments missing from schema, should be there.subscriptionSubscription {
voteUpdate(id: $id) {
idvalue
}
}
## should have arguments
{
"id": "default"
}
ptheofan
changed the title
Code First Subscription Filter payload and arguments undefined
Code First Subscription Filter arguments undefined
Oct 21, 2023
ptheofan
changed the title
Code First Subscription Filter arguments undefined
Code First Subscription Filter arguments empty
Oct 21, 2023
Is there an existing issue for this?
Current behavior
In the following code, variables are empty object and the generated schema is missing the arguments.
Schema should have the arguments
Minimum reproduction code
https://github.com/ptheofan/nestjs-subscription-filter-issue
Steps to reproduce
Expected behavior
The subscription in the schema should have the expected arguments and filter variables object should not be empty.
Package version
12.0.9
Graphql version
"@apollo/server": "^4.9.4",
"@nestjs/apollo": "^12.0.9",
"@nestjs/graphql": "^12.0.9",
"graphql": "^16.8.1",
"graphql-subscriptions": "^2.0.0",
"graphql-ws": "^5.14.1",
NestJS version
10.2.7
Node.js version
v18.16.1
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: