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
I am struggling to find a way to set connection_init payload using WebSocketGraphQlTester. It would be nice for WebSocketGraphQlTester to support accepting interceptors in the same way that WebSocketGraphQlClient does.
The text was updated successfully, but these errors were encountered:
MarekSvatos
changed the title
Support setting connection_init payload for WebSocketGraphQlTester
Support accepting interceptors in WebSocketGraphQlTester
Sep 21, 2023
I had a look and it seems that configuring interceptors on the client is only possible for the WebSocketGraphQlTester, as other variants are dealing with the transport directly. We should probably apply this at the GraphQlTester.Builder level: this means we need to apply this consistently to all tester implementations.
After discussing this again, we thought that the main use case for interceptors with testers is the one described above. We've added this possibility on the WebSocketGraphQlTester builder only, for now. If we get other requests from the community with concrete use cases, we can reconsider and promote this to a higher level builder.
I am struggling to find a way to set connection_init payload using
WebSocketGraphQlTester
. It would be nice forWebSocketGraphQlTester
to support accepting interceptors in the same way thatWebSocketGraphQlClient
does.The text was updated successfully, but these errors were encountered: