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.
1 parent e5d1cab commit 43f4949Copy full SHA for 43f4949
src/Config/Parser/AnnotationParser.php
@@ -627,7 +627,7 @@ private static function getGraphQLInputFieldsFromAnnotations(GraphClass $graphCl
627
628
// Ignore field with resolver when the type is an Input
629
if (isset($fieldAnnotation->resolve)) {
630
- return [];
+ continue;
631
}
632
633
$fieldName = $reflector->getName();
tests/Config/Parser/fixtures/annotations/Input/Planet.php
@@ -12,6 +12,11 @@
12
*/
13
class Planet
14
{
15
+ /**
16
+ * @GQL\Field(resolve="...")
17
+ */
18
+ protected string $skipField;
19
+
20
/**
21
* @GQL\Field(type="String!")
22
0 commit comments