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
Websocket messages can also be changed by size removing null entries.
The solution you'd like
As far as I saw, web socket payload message is converted into json string in GraphQLOverWebSocketProtocolHandler (namespace HotChocolate.AspNetCore.Subscriptions.Protocols.GraphQLOverWebSocket), formatter is private readonly JsonResultFormatter _formatter = new(); Can we change this formatter from dependency injection, it would be nice if we can ignore null values when sending message over websockets. Thx in advance
The text was updated successfully, but these errors were encountered:
Product
Hot Chocolate
Is your feature request related to a problem?
Websocket messages can also be changed by size removing null entries.
The solution you'd like
As far as I saw, web socket payload message is converted into json string in GraphQLOverWebSocketProtocolHandler (namespace HotChocolate.AspNetCore.Subscriptions.Protocols.GraphQLOverWebSocket), formatter is private readonly JsonResultFormatter _formatter = new(); Can we change this formatter from dependency injection, it would be nice if we can ignore null values when sending message over websockets. Thx in advance
The text was updated successfully, but these errors were encountered: