@@ -45,12 +45,12 @@ public static Document compileToDocument(GraphQLSchema schema,
4545 SelectionSet selectionSet = new SelectionSet (selections );
4646
4747 return Document .newDocument ()
48- .definition (OperationDefinition .newOperationDefinition ()
49- .name (operationName )
50- .operation (operationKind )
51- .selectionSet (selectionSet )
52- .build ())
53- .build ();
48+ .definition (OperationDefinition .newOperationDefinition ()
49+ .name (operationName )
50+ .operation (operationKind )
51+ .selectionSet (selectionSet )
52+ .build ())
53+ .build ();
5454 }
5555
5656 private static List <Selection <?>> selectionsForNormalizedFields (GraphQLSchema schema ,
@@ -77,9 +77,9 @@ private static List<Selection<?>> selectionsForNormalizedFields(GraphQLSchema sc
7777 conditionalFieldsByObjectTypeName .forEach ((objectTypeName , fields ) -> {
7878 TypeName typeName = newTypeName (objectTypeName ).build ();
7979 InlineFragment inlineFragment = newInlineFragment ().
80- typeCondition (typeName )
81- .selectionSet (selectionSet (fields ))
82- .build ();
80+ typeCondition (typeName )
81+ .selectionSet (selectionSet (fields ))
82+ .build ();
8383 selections .add (inlineFragment );
8484 });
8585
@@ -94,16 +94,16 @@ private static Map<String, List<Field>> selectionForNormalizedField(GraphQLSchem
9494 SelectionSet selectionSet = null ;
9595 if (subSelections .size () > 0 ) {
9696 selectionSet = newSelectionSet ()
97- .selections (subSelections )
98- .build ();
97+ .selections (subSelections )
98+ .build ();
9999 }
100100 List <Argument > arguments = createArguments (executableNormalizedField );
101101 Field field = newField ()
102- .name (executableNormalizedField .getFieldName ())
103- .alias (executableNormalizedField .getAlias ())
104- .selectionSet (selectionSet )
105- .arguments (arguments )
106- .build ();
102+ .name (executableNormalizedField .getFieldName ())
103+ .alias (executableNormalizedField .getAlias ())
104+ .selectionSet (selectionSet )
105+ .arguments (arguments )
106+ .build ();
107107
108108 groupedFields .computeIfAbsent (objectTypeName , ignored -> new ArrayList <>()).add (field );
109109 }
@@ -119,9 +119,9 @@ private static List<Argument> createArguments(ExecutableNormalizedField executab
119119 ImmutableMap <String , NormalizedInputValue > normalizedArguments = executableNormalizedField .getNormalizedArguments ();
120120 for (String argName : normalizedArguments .keySet ()) {
121121 Argument argument = newArgument ()
122- .name (argName )
123- .value (argValue (normalizedArguments .get (argName ).getValue ()))
124- .build ();
122+ .name (argName )
123+ .value (argValue (normalizedArguments .get (argName ).getValue ()))
124+ .build ();
125125 result .add (argument );
126126 }
127127 return result .build ();
0 commit comments