Skip to content

Commit e2948e9

Browse files
committed
Upgrade samples to the latest snapshot
1 parent 27f485d commit e2948e9

File tree

9 files changed

+2
-2
lines changed

9 files changed

+2
-2
lines changed

samples/webmvc-http-security/src/main/java/io/spring/sample/graphql/SampleApplication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.springframework.boot.SpringApplication;
2424
import org.springframework.boot.autoconfigure.SpringBootApplication;
2525
import org.springframework.context.annotation.Bean;
26-
import org.springframework.graphql.web.WebGraphQlHandlerInterceptor;
26+
import org.springframework.graphql.server.WebGraphQlInterceptor;
2727

2828
@SpringBootApplication
2929
public class SampleApplication {
@@ -33,7 +33,7 @@ public static void main(String[] args) {
3333
}
3434

3535
@Bean
36-
public WebGraphQlHandlerInterceptor interceptor() {
36+
public WebGraphQlInterceptor interceptor() {
3737
return (webInput, interceptorChain) -> {
3838
// Switch threads to prove ThreadLocal context propagation works
3939
return Mono.delay(Duration.ofMillis(10)).flatMap(aLong -> interceptorChain.next(webInput));

0 commit comments

Comments
 (0)