@@ 372-374 (lines=3) @@ | ||
369 | */ |
|
370 | private function getResourceObjectType(string $resourceClass, ResourceMetadata $resourceMetadata, bool $input = false, string $mutationName = null): GraphQLType |
|
371 | { |
|
372 | if (isset($this->graphqlTypes[$resourceClass][$mutationName][$input])) { |
|
373 | return $this->graphqlTypes[$resourceClass][$mutationName][$input]; |
|
374 | } |
|
375 | ||
376 | $shortName = $resourceMetadata->getShortName(); |
|
377 | if (null !== $mutationName) { |
|
@@ 455-457 (lines=3) @@ | ||
452 | $shortName .= 'Input'; |
|
453 | } |
|
454 | ||
455 | if (isset($this->graphqlTypes[$resourceClass]['connection'][$input])) { |
|
456 | return $this->graphqlTypes[$resourceClass]['connection'][$input]; |
|
457 | } |
|
458 | ||
459 | $edgeObjectTypeConfiguration = [ |
|
460 | 'name' => "{$shortName}Edge", |