Stylianos Gakis
06/13/2022, 3:15 PMcom.apollographql.apollo3.exception.SubscriptionOperationException: Operation error ChatMessage
where ChatMessage is a subscription. And I don’t quite know where to go from there, hence here I am if you have any obvious thing I am missing.bod
06/13/2022, 3:22 PMStylianos Gakis
06/13/2022, 3:33 PMsubscriptionNetworkTransport
and addHeader
approach which I have tried as well. Is it different than using wsProtocol
and connectionPayload
?
Also good to note that this may be a good candidate to be added to the migration to 3.x docs since it’s not mentioned what one should use instead of subscriptionConnectionParams and subscriptionTransportFactory in the subscriptions section.bod
06/13/2022, 3:42 PMconnectionPayload
will be sent along with the first message sent right after connecting (the connection_init
message)
• addHeaders
will be used at a lower (http) levelStylianos Gakis
06/13/2022, 3:49 PMbod
06/13/2022, 3:51 PMStylianos Gakis
06/13/2022, 4:20 PMsubscriptionConnectionParams
and a link on where to get this information. But I see you said you might look into this, if you wanted to write something more comprehensive feel free to reject the PR!bod
06/13/2022, 4:21 PMbod
06/13/2022, 4:23 PMStylianos Gakis
06/13/2022, 4:23 PM../advanced/authentication.mdx#authenticating-your-websockets
in there but doing a project-wide search I don’t see any other reference to “.mdx” so if you want a different approach I’d like to know for future reference as well 🤔bod
06/13/2022, 4:24 PM