Skip to content

Commit 1e354bf

Browse files
authored
Merge pull request #284 from rrva/upgrade-graphql-java-13
Upgrade graphql-java to 13.0
2 parents 9914aad + dcb7234 commit 1e354bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>com.graphql-java</groupId>
5050
<artifactId>graphql-java</artifactId>
51-
<version>12.0</version>
51+
<version>13.0</version>
5252
</dependency>
5353
<dependency>
5454
<groupId>com.fasterxml</groupId>

src/main/kotlin/com/coxautodev/graphql/tools/SchemaParser.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class SchemaParser internal constructor(scanResult: ScannedSchemaObjects, privat
184184
for (directive in directives) {
185185
if (!names.contains(directive.name)) {
186186
names.add(directive.name)
187-
output.add(schemaGeneratorHelper.buildDirective(directive, directiveDefinitions, directiveLocation))
187+
output.add(schemaGeneratorHelper.buildDirective(directive, directiveDefinitions, directiveLocation, runtimeWiring.comparatorRegistry))
188188
}
189189
}
190190
return output.toTypedArray()

src/main/kotlin/com/coxautodev/graphql/tools/relay/RelayConnectionFactory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class RelayConnectionFactory : TypeDefinitionFactory {
8888
return this.directives.map { it.withField(this) }
8989
}
9090

91-
class DirectiveWithField(val field: FieldDefinition, name: String, arguments: List<Argument>, sourceLocation: SourceLocation, comments: List<Comment>) : Directive(name, arguments, sourceLocation, comments, IgnoredChars.EMPTY) {
91+
class DirectiveWithField(val field: FieldDefinition, name: String, arguments: List<Argument>, sourceLocation: SourceLocation, comments: List<Comment>) : Directive(name, arguments, sourceLocation, comments, IgnoredChars.EMPTY, emptyMap()) {
9292
fun getTypeName(): String {
9393
val type = field.type
9494
if (type is NonNullType) {

0 commit comments

Comments
 (0)