@@ -159,7 +159,6 @@ public static GraphQLUnusualConfiguration.GraphQLContextConfiguration unusualCon
159159 private final Instrumentation instrumentation ;
160160 private final PreparsedDocumentProvider preparsedDocumentProvider ;
161161 private final ValueUnboxer valueUnboxer ;
162- private final ResponseMapFactory responseMapFactory ;
163162 private final boolean doNotAutomaticallyDispatchDataLoader ;
164163
165164
@@ -172,7 +171,6 @@ private GraphQL(Builder builder) {
172171 this .instrumentation = assertNotNull (builder .instrumentation , () -> "instrumentation must not be null" );
173172 this .preparsedDocumentProvider = assertNotNull (builder .preparsedDocumentProvider , () -> "preparsedDocumentProvider must be non null" );
174173 this .valueUnboxer = assertNotNull (builder .valueUnboxer , () -> "valueUnboxer must not be null" );
175- this .responseMapFactory = assertNotNull (builder .responseMapFactory , () -> "responseMapFactory must be not null" );
176174 this .doNotAutomaticallyDispatchDataLoader = builder .doNotAutomaticallyDispatchDataLoader ;
177175 }
178176
@@ -282,7 +280,6 @@ public static class Builder {
282280 private PreparsedDocumentProvider preparsedDocumentProvider = NoOpPreparsedDocumentProvider .INSTANCE ;
283281 private boolean doNotAutomaticallyDispatchDataLoader = false ;
284282 private ValueUnboxer valueUnboxer = ValueUnboxer .DEFAULT ;
285- private ResponseMapFactory responseMapFactory = ResponseMapFactory .DEFAULT ;
286283
287284 public Builder (GraphQLSchema graphQLSchema ) {
288285 this .graphQLSchema = graphQLSchema ;
@@ -353,11 +350,6 @@ public Builder valueUnboxer(ValueUnboxer valueUnboxer) {
353350 return this ;
354351 }
355352
356- public Builder responseMapFactory (ResponseMapFactory responseMapFactory ) {
357- this .responseMapFactory = responseMapFactory ;
358- return this ;
359- }
360-
361353 public GraphQL build () {
362354 // we use the data fetcher exception handler unless they set their own strategy in which case bets are off
363355 if (queryExecutionStrategy == null ) {
@@ -617,7 +609,7 @@ private CompletableFuture<ExecutionResult> execute(ExecutionInput executionInput
617609 EngineRunningState engineRunningState
618610 ) {
619611
620- Execution execution = new Execution (queryStrategy , mutationStrategy , subscriptionStrategy , instrumentation , valueUnboxer , responseMapFactory , doNotAutomaticallyDispatchDataLoader );
612+ Execution execution = new Execution (queryStrategy , mutationStrategy , subscriptionStrategy , instrumentation , valueUnboxer , doNotAutomaticallyDispatchDataLoader );
621613 ExecutionId executionId = executionInput .getExecutionId ();
622614
623615 return execution .execute (document , graphQLSchema , executionId , executionInput , instrumentationState , engineRunningState );
0 commit comments