Skip to content

Commit b95cb10

Browse files
authored
Merge pull request #732 from bartv2/patch-1
Fix the attribute name for AnnotationParser fieldBuilder error message
2 parents e0cfa21 + 65c5b90 commit b95cb10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/Parser/AnnotationParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ private static function getTypeFieldConfigurationFromReflector(GraphClass $graph
555555
$fieldConfiguration['builder'] = $builder;
556556
$fieldConfiguration['builderConfig'] = $builderConfig ?: [];
557557
} else {
558-
throw new InvalidArgumentException(sprintf('The attribute "argsBuilder" on GraphQL annotation "@%s" defined on "%s" must be a string or an array where first index is the builder name and the second is the config.', $fieldAnnotationName, $reflector->getName()));
558+
throw new InvalidArgumentException(sprintf('The attribute "fieldBuilder" on GraphQL annotation "@%s" defined on "%s" must be a string or an array where first index is the builder name and the second is the config.', $fieldAnnotationName, $reflector->getName()));
559559
}
560560
} else {
561561
if (!$fieldType) {

0 commit comments

Comments
 (0)