diff --git a/pom.xml b/pom.xml index b8aef214..8f71bccd 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.graphql-java-kickstart graphql-java-tools - 12.1.1-SNAPSHOT + 14.0.0-SNAPSHOT jar GraphQL Java Tools @@ -17,7 +17,7 @@ 1.6.21 1.6.2 2.13.3 - 18.2 + 19.1 1.0.4 ${java.version} @@ -155,6 +155,11 @@ com.graphql-java graphql-java + + org.antlr + antlr4-runtime + 4.10.1 + com.fasterxml classmate diff --git a/src/main/kotlin/graphql/kickstart/tools/directive/SchemaDirectiveWiringEnvironmentImpl.kt b/src/main/kotlin/graphql/kickstart/tools/directive/SchemaDirectiveWiringEnvironmentImpl.kt index 2658d4c0..2d9c4675 100644 --- a/src/main/kotlin/graphql/kickstart/tools/directive/SchemaDirectiveWiringEnvironmentImpl.kt +++ b/src/main/kotlin/graphql/kickstart/tools/directive/SchemaDirectiveWiringEnvironmentImpl.kt @@ -39,6 +39,7 @@ class SchemaDirectiveWiringEnvironmentImpl( override fun getElement(): T = element override fun getDirective(): GraphQLDirective? = registeredDirective + override fun getAppliedDirective(): GraphQLAppliedDirective? = appliedDirectives[registeredDirective?.name] override fun getDirectives(): Map = LinkedHashMap(directives) override fun getDirective(directiveName: String): GraphQLDirective = directives[directiveName]!! override fun getAppliedDirectives(): Map = appliedDirectives