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
Create graphql-ws integration as per docs example above.
Run a mutation via the ws (use client from graphql-ws for example)
Notice error
Expected behavior
I dunno, I am pretty deep in the sauce here. Not sure you want to support this. Maybe some option to disable default plugins without having to rewrite the whole server?
Screenshots or Videos
No response
Platform
OS: V8 isolate I guess?
NodeJS: Nope! Cloudflare
@graphql-yoga/common version(s): 2.12.11
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Not sure if mutation over ws is something you even support. If not please disregard!
Following the WS subscriptions guide in the docs works for
query
&subscription
. However, it breaks when attempting to run amutation
viaWS
.This example: https://www.the-guild.dev/graphql/yoga-server/docs/features/subscriptions#subscriptions-over-websockets-with-graphql-ws
Results in an error here
Cannot read properties of undefined (reading 'method')
.graphql-yoga/packages/common/src/plugins/requestValidation/usePreventMutationViaGET.ts
Line 37 in 049d6a0
Your Example Website or App
Can provide if needed
Steps to Reproduce the Bug or Issue
graphql-ws
for example)Expected behavior
I dunno, I am pretty deep in the sauce here. Not sure you want to support this. Maybe some option to disable default plugins without having to rewrite the whole server?
Screenshots or Videos
No response
Platform
@graphql-yoga/common
version(s):2.12.11
Additional context
No response
The text was updated successfully, but these errors were encountered: