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
[spring-server] upgrade to SpringBoot 2.2.1.RELEASE (#474)
With 2.2.1.RELEASE SpringBoot team changed the behavior that was automatically applying constructor binding to all classes referenced from the top level properties. New behavior requires explicitly specifying that we want to use constructor binding on all classes.
See spring-projects/spring-boot#18919 for more details
Copy file name to clipboardExpand all lines: graphql-kotlin-spring-server/src/main/kotlin/com/expediagroup/graphql/spring/GraphQLConfigurationProperties.kt
+4
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ data class GraphQLConfigurationProperties(
38
38
/**
39
39
* Apollo Federation configuration properties.
40
40
*/
41
+
@ConstructorBinding
41
42
data classFederationConfigurationProperties(
42
43
/** Boolean flag indicating whether to generate federated GraphQL model */
43
44
valenabled:Boolean = false
@@ -46,6 +47,7 @@ data class FederationConfigurationProperties(
46
47
/**
47
48
* GraphQL subscription configuration properties.
48
49
*/
50
+
@ConstructorBinding
49
51
data classSubscriptionConfigurationProperties(
50
52
/** GraphQL subscriptions endpoint, defaults to 'subscriptions' */
51
53
valendpoint:String = "subscriptions",
@@ -56,6 +58,7 @@ data class SubscriptionConfigurationProperties(
56
58
/**
57
59
* Playground configuration properties.
58
60
*/
61
+
@ConstructorBinding
59
62
data classPlaygroundConfigurationProperties(
60
63
/** Boolean flag indicating whether to enabled Prisma Labs Playground GraphQL IDE */
61
64
valenabled:Boolean = true,
@@ -66,6 +69,7 @@ data class PlaygroundConfigurationProperties(
66
69
/**
67
70
* SDL endpoint configuration properties.
68
71
*/
72
+
@ConstructorBinding
69
73
data classSDLConfigurationProperties(
70
74
/** Boolean flag indicating whether SDL endpoint is enabled */
0 commit comments