Skip to content

Commit

Permalink
deps: update io.konform:konform to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse-apoapsis-bot authored and MarcelBochtler committed May 21, 2024
1 parent bb63a16 commit 1f8111c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/kotlin/plugins/Validation.kt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fun Application.configureValidation() {

private fun mapValidationResult(result: KonformValidationResult<*>): KtorValidationResult {
return when (result) {
is Invalid<*> -> KtorValidationResult.Invalid(result.errors.map { error -> error.message })
is Invalid -> KtorValidationResult.Invalid(result.errors.map { error -> error.message })
else -> KtorValidationResult.Valid
}
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ keycloakTestcontainerVersion = "3.3.1"
koin = "3.5.6"
koinKtor = "3.5.6"
koinTest = "3.5.6"
konform = "0.4.0"
konform = "0.5.0"
kotest = "5.9.0"
kotestAssertionsKotlinxDatetime = "1.1.0"
kotestAssertionsKtor = "2.0.0"
Expand Down

0 comments on commit 1f8111c

Please sign in to comment.