diff --git a/pom.xml b/pom.xml
index 80bd306c..2adc31bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,7 @@
com.graphql-java
graphql-java
- 12.0
+ 13.0
com.fasterxml
diff --git a/src/main/kotlin/com/coxautodev/graphql/tools/SchemaParser.kt b/src/main/kotlin/com/coxautodev/graphql/tools/SchemaParser.kt
index 529ea877..6f2053d0 100644
--- a/src/main/kotlin/com/coxautodev/graphql/tools/SchemaParser.kt
+++ b/src/main/kotlin/com/coxautodev/graphql/tools/SchemaParser.kt
@@ -184,7 +184,7 @@ class SchemaParser internal constructor(scanResult: ScannedSchemaObjects, privat
for (directive in directives) {
if (!names.contains(directive.name)) {
names.add(directive.name)
- output.add(schemaGeneratorHelper.buildDirective(directive, directiveDefinitions, directiveLocation))
+ output.add(schemaGeneratorHelper.buildDirective(directive, directiveDefinitions, directiveLocation, runtimeWiring.comparatorRegistry))
}
}
return output.toTypedArray()
diff --git a/src/main/kotlin/com/coxautodev/graphql/tools/relay/RelayConnectionFactory.kt b/src/main/kotlin/com/coxautodev/graphql/tools/relay/RelayConnectionFactory.kt
index ba2ed72e..6eb7fb83 100644
--- a/src/main/kotlin/com/coxautodev/graphql/tools/relay/RelayConnectionFactory.kt
+++ b/src/main/kotlin/com/coxautodev/graphql/tools/relay/RelayConnectionFactory.kt
@@ -88,7 +88,7 @@ class RelayConnectionFactory : TypeDefinitionFactory {
return this.directives.map { it.withField(this) }
}
- class DirectiveWithField(val field: FieldDefinition, name: String, arguments: List, sourceLocation: SourceLocation, comments: List) : Directive(name, arguments, sourceLocation, comments, IgnoredChars.EMPTY) {
+ class DirectiveWithField(val field: FieldDefinition, name: String, arguments: List, sourceLocation: SourceLocation, comments: List) : Directive(name, arguments, sourceLocation, comments, IgnoredChars.EMPTY, emptyMap()) {
fun getTypeName(): String {
val type = field.type
if (type is NonNullType) {