-
-
Notifications
You must be signed in to change notification settings - Fork 799
Open
Labels
๐ถ๏ธ hot chocolate๐ documentationThis issue is about working on our documentation.This issue is about working on our documentation.
Description
Is there an existing issue for this?
- I have searched the existing issues
Product
Hot Chocolate
Describe the bug
In my project I use an implementation of the ISocketSessionInterceptor to do authentication of the websocket sessions.
After updating from HotChocolate 12 to 13, the ISocketSessionInterceptor interface has changed.
It would be great to have a section about the interface changes in the migration docs.
My main issue is that the OnConnectAsync method's message parameter (in v13 connectionInitMessage) has changed type from InitializeConnectionMessage to IOperationMessagePayload. I was using the message.Payload property which is not there anymore on the new interface-type. I'm not sure how to fix this.
Steps to reproduce
- Use HotChocolate v12
- Use the
ISocketSessionInterceptorinterface - Update to HotChocolate v13
- Implementation is broken
Relevant log output
No response
Additional Context?
If I figure out how to fix this, I'll gladly add the information to the migration guide myself and create a PR.
Version
13.7.0
Metadata
Metadata
Assignees
Labels
๐ถ๏ธ hot chocolate๐ documentationThis issue is about working on our documentation.This issue is about working on our documentation.