Skip to content

Commit

Permalink
Merge pull request #659 from hantsy/validation-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
berngp committed Nov 26, 2021
2 parents 7b1600b + c190ecf commit a5954a4
Show file tree
Hide file tree
Showing 11 changed files with 1,112 additions and 5 deletions.
4 changes: 4 additions & 0 deletions buildSrc/src/main/kotlin/Versions.kt
Expand Up @@ -22,6 +22,10 @@ object Versions {
const val SPRING_CLOUD_VERSION = "Hoxton.SR10"
const val GRAPHQL_JAVA = "17.3"
const val GRAPHQL_JAVA_EXTENDED_SCALARS = "17.0"

// The version below will work with Jakarta EE 8
// and use Hibernate Validator 6.2.
const val GRAPHQL_JAVA_EXTENDED_VALIDATION = "17.0-hibernate-validator-6.2.0.Final"
const val GRAPHQL_JAVA_FEDERATION = "0.7.0"
const val JACKSON_BOM = "2.12.3"
}
23 changes: 23 additions & 0 deletions graphql-dgs-extended-validation/build.gradle.kts
@@ -0,0 +1,23 @@
/*
* Copyright 2020 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

dependencies {
api(project(":graphql-dgs"))
api("com.graphql-java:graphql-java-extended-validation")
implementation("org.springframework.boot:spring-boot-autoconfigure")

testImplementation(project(":graphql-dgs-spring-boot-starter"))
}

0 comments on commit a5954a4

Please sign in to comment.