diff --git a/Sources/ApolloWebSocket/WebSocketTransport.swift b/Sources/ApolloWebSocket/WebSocketTransport.swift index 2af819c8b8..b5025aec8b 100644 --- a/Sources/ApolloWebSocket/WebSocketTransport.swift +++ b/Sources/ApolloWebSocket/WebSocketTransport.swift @@ -30,6 +30,7 @@ public class WebSocketTransport { let reconnect: Atomic var websocket: ApolloWebSocketClient let error: Atomic = Atomic(nil) + let serializationFormat = JSONSerializationFormat.self private let requestCreator: RequestCreator