Skip to content

Commit

Permalink
[spring-server] upgrade to SpringBoot 2.2.1.RELEASE (#474)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dariuszkuc committed Nov 14, 2019
1 parent 487b531 commit 8d0c498
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -38,6 +38,7 @@ data class GraphQLConfigurationProperties(
/**
* Apollo Federation configuration properties.
*/
@ConstructorBinding
data class FederationConfigurationProperties(
/** Boolean flag indicating whether to generate federated GraphQL model */
val enabled: Boolean = false
Expand All @@ -46,6 +47,7 @@ data class FederationConfigurationProperties(
/**
* GraphQL subscription configuration properties.
*/
@ConstructorBinding
data class SubscriptionConfigurationProperties(
/** GraphQL subscriptions endpoint, defaults to 'subscriptions' */
val endpoint: String = "subscriptions",
Expand All @@ -56,6 +58,7 @@ data class SubscriptionConfigurationProperties(
/**
* Playground configuration properties.
*/
@ConstructorBinding
data class PlaygroundConfigurationProperties(
/** Boolean flag indicating whether to enabled Prisma Labs Playground GraphQL IDE */
val enabled: Boolean = true,
Expand All @@ -66,6 +69,7 @@ data class PlaygroundConfigurationProperties(
/**
* SDL endpoint configuration properties.
*/
@ConstructorBinding
data class SDLConfigurationProperties(
/** Boolean flag indicating whether SDL endpoint is enabled */
val enabled: Boolean = true,
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -67,7 +67,7 @@
<kotlin.version>1.3.50</kotlin.version>
<kotlin-coroutines.version>1.3.2</kotlin-coroutines.version>
<classgraph.version>4.8.52</classgraph.version>
<spring-boot.version>2.2.0.RELEASE</spring-boot.version>
<spring-boot.version>2.2.1.RELEASE</spring-boot.version>

<!-- Test Dependency Versions -->
<junit-jupiter.version>5.5.2</junit-jupiter.version>
Expand Down

0 comments on commit 8d0c498

Please sign in to comment.