Skip to content

Commit 68563a4

Browse files
committed
fix
1 parent 6c630f1 commit 68563a4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/GraphQl/Type/TypeConverter.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,9 @@ private function getResourceType(Type $type, bool $input, Operation $rootOperati
165165
/** @var Operation $operation */
166166
$operation = ($isCollection ? new QueryCollection() : new Query())
167167
->withResource($resourceMetadataCollection[0])
168-
->withName($operationName); // TODO: use GraphQlNestedOperationResourceMetadataFactory
168+
->withName($operationName);
169169
}
170170

171-
// if ($rootOperation->getExtraProperties()['_graphql_nested_operation'] ?? false) {
172-
// $operation = $operation->withExtraProperties(['_graphql_nested_operation' => true], $operation->getExtraProperties());
173-
// }
174-
175171
return $this->typeBuilder->getResourceObjectType($resourceClass, $resourceMetadataCollection, $operation, $input, false, $depth);
176172
}
177173

0 commit comments

Comments
 (0)