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
Copy file name to clipboardexpand all lines: examples/server/spring-server/README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# GraphQL Kotlin Spring Example
2
2
3
-
One way to run a GraphQL server is with [Spring Boot](https://github.com/spring-projects/spring-boot). This example app uses [Spring Webflux](https://docs.spring.io/spring/docs/current/spring-framework-reference/web-reactive.html) together with `graphql-kotlin-spring-server` and [graphql-playground](https://github.com/prisma/graphql-playground).
3
+
One way to run a GraphQL server is with [Spring Boot](https://github.com/spring-projects/spring-boot).
4
+
This example app uses [Spring Webflux](https://docs.spring.io/spring/docs/current/spring-framework-reference/web-reactive.html) together with `graphql-kotlin-spring-server` and [graphiql](https://github.com/graphql/graphiql).
Copy file name to clipboardexpand all lines: servers/graphql-kotlin-spring-server/src/main/kotlin/com/expediagroup/graphql/server/spring/GraphQLAutoConfiguration.kt
+4-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2021 Expedia, Inc
2
+
* Copyright 2022 Expedia, Inc
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Copy file name to clipboardexpand all lines: servers/graphql-kotlin-spring-server/src/main/kotlin/com/expediagroup/graphql/server/spring/GraphQLConfigurationProperties.kt
+12-1
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ data class GraphQLConfigurationProperties(
.replace("\${graphQLEndpoint}", if (contextPath.isNullOrBlank()) config.endpoint else"$contextPath/${config.endpoint}")
31
+
.replace("\${subscriptionsEndpoint}", if (contextPath.isNullOrBlank()) config.subscriptions.endpoint else"$contextPath/${config.subscriptions.endpoint}")
.replace("\${graphQLEndpoint}", if (contextPath.isNullOrBlank()) config.endpoint else"$contextPath/${config.endpoint}")
47
+
.replace("\${subscriptionsEndpoint}", if (contextPath.isNullOrBlank()) config.subscriptions.endpoint else"$contextPath/${config.subscriptions.endpoint}")
0 commit comments