public ExecutionInput transform ( Consumer < Builder > builderConsumer ) { Builder builder = new Builder ( ) . query ( this . query ) . operationName ( this . operationName ) . context ( this . context ) . root ( this . root ) . dataLoaderRegistry ( this . dataLoaderRegistry ) . cacheControl ( this . cacheControl ) . variables ( this . variables ) ; builderConsumer . accept ( builder ) ; return builder . build ( ) ; }
This helps you transform the current ExecutionInput object into another one by starting a builder with all the current values and allows you to transform it how you want .