File tree Expand file tree Collapse file tree
src/main/java/graphql/annotations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ If you would like to use a tool that creates a graphql spring boot server using
3737
3838``` groovy
3939dependencies {
40- compile "io.github.graphql-java:graphql-java-annotations:24.3 "
40+ compile "io.github.graphql-java:graphql-java-annotations:26.0 "
4141}
4242```
4343
@@ -47,7 +47,7 @@ dependencies {
4747<dependency>
4848 <groupId>io.github.graphql-java</groupId>
4949 <artifactId>graphql-java-annotations</artifactId>
50- <version>24.3 </version>
50+ <version>26.0 </version>
5151</dependency>
5252```
5353
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ gradle.projectsEvaluated {
5959
6060dependencies {
6161 implementation ' javax.validation:validation-api:1.1.0.Final'
62- implementation ' com.graphql-java:graphql-java:24.3 '
62+ implementation ' com.graphql-java:graphql-java:26.0 '
6363 implementation ' com.graphql-java:graphql-java-extended-scalars:24.0'
6464 implementation ' javax.xml.bind:jaxb-api:2.3.1'
6565
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ org.gradle.daemon=true
55org.gradle.parallel =true
66org.gradle.jvmargs =-Dfile.encoding =UTF-8
77
8- version = 24.3
8+ version = 26.0
Original file line number Diff line number Diff line change 2020import graphql .annotations .processor .typeFunctions .TypeFunction ;
2121import graphql .relay .Relay ;
2222import graphql .schema .GraphQLDirective ;
23+ import graphql .schema .GraphQLNamedType ;
2324import graphql .schema .GraphQLSchema ;
24- import graphql .schema .GraphQLType ;
2525import graphql .schema .SchemaTransformer ;
2626
2727import java .util .*;
@@ -247,7 +247,7 @@ public GraphQLSchema build() {
247247 Set <GraphQLDirective > directives = directivesObjectList .stream ().map (dir -> graphQLAnnotations .directive (dir )).collect (Collectors .toSet ());
248248 directiveContainerClasses .forEach (dir -> directives .addAll (graphQLAnnotations .directives (dir )));
249249
250- Set <GraphQLType > additionalTypes = additionalTypesList .stream ().map (additionalType ->
250+ Set <GraphQLNamedType > additionalTypes = additionalTypesList .stream ().map (additionalType ->
251251 additionalType .isInterface () ?
252252 graphQLAnnotations .generateInterface (additionalType ) : graphQLAnnotations .object (additionalType )).collect (Collectors .toSet ());
253253
You can’t perform that action at this time.
0 commit comments