File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/main/kotlin/graphql/kickstart/tools/directive Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 44
55 <groupId >com.graphql-java-kickstart</groupId >
66 <artifactId >graphql-java-tools</artifactId >
7- <version >12.1.1 -SNAPSHOT</version >
7+ <version >14.0.0 -SNAPSHOT</version >
88 <packaging >jar</packaging >
99
1010 <name >GraphQL Java Tools</name >
1717 <kotlin .version>1.6.21</kotlin .version>
1818 <kotlin-coroutines .version>1.6.2</kotlin-coroutines .version>
1919 <jackson .version>2.13.3</jackson .version>
20- <graphql-java .version>18.2 </graphql-java .version>
20+ <graphql-java .version>19.1 </graphql-java .version>
2121 <reactive-streams .version>1.0.4</reactive-streams .version>
2222
2323 <maven .compiler.source>${java.version} </maven .compiler.source>
155155 <groupId >com.graphql-java</groupId >
156156 <artifactId >graphql-java</artifactId >
157157 </dependency >
158+ <dependency >
159+ <groupId >org.antlr</groupId >
160+ <artifactId >antlr4-runtime</artifactId >
161+ <version >4.10.1</version >
162+ </dependency >
158163 <dependency >
159164 <groupId >com.fasterxml</groupId >
160165 <artifactId >classmate</artifactId >
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ class SchemaDirectiveWiringEnvironmentImpl<T : GraphQLDirectiveContainer?>(
3939
4040 override fun getElement (): T = element
4141 override fun getDirective (): GraphQLDirective ? = registeredDirective
42+ override fun getAppliedDirective (): GraphQLAppliedDirective ? = appliedDirectives[registeredDirective?.name]
4243 override fun getDirectives (): Map <String , GraphQLDirective > = LinkedHashMap (directives)
4344 override fun getDirective (directiveName : String ): GraphQLDirective = directives[directiveName]!!
4445 override fun getAppliedDirectives (): Map <String , GraphQLAppliedDirective > = appliedDirectives
You can’t perform that action at this time.
0 commit comments