Updated the dgs framework

This commit is contained in:
Sambo Chea 2022-12-06 08:24:33 +07:00
parent 49023d2237
commit fc2e9d8358
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ plugins {
dependencies { dependencies {
api(project(":cubetiq-security-web")) api(project(":cubetiq-security-web"))
implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:5.4.3")) implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:5.4.5"))
implementation("com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter") implementation("com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter")
runtimeOnly("com.netflix.graphql.dgs:graphql-dgs-subscriptions-websockets-autoconfigure") runtimeOnly("com.netflix.graphql.dgs:graphql-dgs-subscriptions-websockets-autoconfigure")

View File

@ -8,7 +8,7 @@ import org.springframework.security.crypto.password.PasswordEncoder
@SpringBootApplication @SpringBootApplication
class GraphqlDemoApplication @Autowired constructor( class GraphqlDemoApplication @Autowired constructor(
private val passwordEncoder: PasswordEncoder, passwordEncoder: PasswordEncoder,
) { ) {
init { init {
PasswordUtils.setEncoder(passwordEncoder) PasswordUtils.setEncoder(passwordEncoder)