Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.graphql-java-kickstart</groupId>
<artifactId>graphql-java-tools</artifactId>
<version>12.1.1-SNAPSHOT</version>
<version>14.0.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>GraphQL Java Tools</name>
Expand All @@ -17,7 +17,7 @@
<kotlin.version>1.6.21</kotlin.version>
<kotlin-coroutines.version>1.6.2</kotlin-coroutines.version>
<jackson.version>2.13.3</jackson.version>
<graphql-java.version>18.2</graphql-java.version>
<graphql-java.version>19.1</graphql-java.version>
<reactive-streams.version>1.0.4</reactive-streams.version>

<maven.compiler.source>${java.version}</maven.compiler.source>
Expand Down Expand Up @@ -155,6 +155,11 @@
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java</artifactId>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.10.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>classmate</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class SchemaDirectiveWiringEnvironmentImpl<T : GraphQLDirectiveContainer?>(

override fun getElement(): T = element
override fun getDirective(): GraphQLDirective? = registeredDirective
override fun getAppliedDirective(): GraphQLAppliedDirective? = appliedDirectives[registeredDirective?.name]
override fun getDirectives(): Map<String, GraphQLDirective> = LinkedHashMap(directives)
override fun getDirective(directiveName: String): GraphQLDirective = directives[directiveName]!!
override fun getAppliedDirectives(): Map<String, GraphQLAppliedDirective> = appliedDirectives
Expand Down