Skip to content

Commit c43a444

Browse files
committed
Refactor use of sinks in WebSocketGraphQlTransport
Replace use of Sinks which does not deal with concurrent sending and use MonoSink and FluxSink instead. Closes gh-388
1 parent 57e9ccb commit c43a444

File tree

3 files changed

+156
-118
lines changed

3 files changed

+156
-118
lines changed

samples/webflux-security/src/test/java/io/spring/sample/graphql/WebFluxSecuritySampleTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@
2222
import org.junit.jupiter.api.BeforeEach;
2323
import org.junit.jupiter.api.Test;
2424

25-
import org.springframework.beans.factory.annotation.Autowired;
2625
import org.springframework.boot.test.context.SpringBootTest;
2726
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
28-
import org.springframework.boot.web.server.LocalServerPort;
27+
import org.springframework.boot.test.web.server.LocalServerPort;
2928
import org.springframework.graphql.execution.ErrorType;
3029
import org.springframework.graphql.test.tester.WebGraphQlTester;
3130
import org.springframework.graphql.test.tester.WebSocketGraphQlTester;

samples/webflux-websocket/src/test/java/io/spring/sample/graphql/WebFluxWebSocketSampleIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import org.springframework.beans.factory.annotation.Value;
2626
import org.springframework.boot.test.context.SpringBootTest;
27-
import org.springframework.boot.web.server.LocalServerPort;
27+
import org.springframework.boot.test.web.server.LocalServerPort;
2828
import org.springframework.graphql.test.tester.GraphQlTester;
2929
import org.springframework.graphql.test.tester.WebSocketGraphQlTester;
3030
import org.springframework.web.reactive.socket.client.ReactorNettyWebSocketClient;

0 commit comments

Comments
 (0)