We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef33fa7 + 070d523 commit 22d48e9Copy full SHA for 22d48e9
src/Config/Parser/AnnotationParser.php
@@ -632,7 +632,7 @@ private static function getGraphQLInputFieldsFromAnnotations(GraphClass $graphCl
632
633
// Ignore field with resolver when the type is an Input
634
if (isset($fieldAnnotation->resolve)) {
635
- return [];
+ continue;
636
}
637
638
$fieldName = $reflector->getName();
tests/Config/Parser/fixtures/annotations/Input/Planet.php
@@ -13,6 +13,11 @@
13
*/
14
class Planet
15
{
16
+ /**
17
+ * @GQL\Field(resolve="...")
18
+ */
19
+ protected string $skipField;
20
+
21
/**
22
* @GQL\Field(type="String!")
23
0 commit comments