Skip to content

Commit 237d6bb

Browse files
committed
ExecutionStepInfo now has a direct transform without a Builder - tweak
1 parent 3e004e9 commit 237d6bb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/graphql/execution/ExecutionStepInfo.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,13 @@ private ExecutionStepInfo(Builder builder) {
8181
/*
8282
* This constructor allows for a slightly ( 1% ish) faster transformation without an intermediate Builder object
8383
*/
84-
private ExecutionStepInfo(GraphQLOutputType type, ResultPath path, ExecutionStepInfo parent, MergedField field, GraphQLFieldDefinition fieldDefinition, GraphQLObjectType fieldContainer, Supplier<ImmutableMapWithNullValues<String, Object>> arguments) {
84+
private ExecutionStepInfo(GraphQLOutputType type,
85+
ResultPath path,
86+
ExecutionStepInfo parent,
87+
MergedField field,
88+
GraphQLFieldDefinition fieldDefinition,
89+
GraphQLObjectType fieldContainer,
90+
Supplier<ImmutableMapWithNullValues<String, Object>> arguments) {
8591
this.type = assertNotNull(type, () -> "you must provide a graphql type");
8692
this.path = path;
8793
this.parent = parent;

0 commit comments

Comments
 (0)