File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/main/java/graphql/servlet Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1- version = 7.0.0 -SNAPSHOT
1+ version = 7.0.1 -SNAPSHOT
22group = com.graphql-java-kickstart
33
44LIB_GRAPHQL_JAVA_VER = 11.0
Original file line number Diff line number Diff line change @@ -99,6 +99,16 @@ public Builder with(boolean asyncServletModeEnabled) {
9999 return this ;
100100 }
101101
102+ public Builder with (GraphQLContextBuilder contextBuilder ) {
103+ this .invocationInputFactoryBuilder .withGraphQLContextBuilder (contextBuilder );
104+ return this ;
105+ }
106+
107+ public Builder with (GraphQLRootObjectBuilder rootObjectBuilder ) {
108+ this .invocationInputFactoryBuilder .withGraphQLRootObjectBuilder (rootObjectBuilder );
109+ return this ;
110+ }
111+
102112 public GraphQLConfiguration build () {
103113 return new GraphQLConfiguration (
104114 this .invocationInputFactory != null ? this .invocationInputFactory : invocationInputFactoryBuilder .build (),
You can’t perform that action at this time.
0 commit comments