Skip to content

Commit 3979850

Browse files
authored
Update graphql.md (#1818)
Fix var name
1 parent b466c72 commit 3979850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/graphql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,7 @@ final class TypeConverter implements TypeConverterInterface
18601860
public function convertType(Type $type, bool $input, Operation $rootOperation, string $resourceClass, string $rootResource, ?string $property, int $depth)
18611861
{
18621862
if ('publicationDate' === $property
1863-
&& Book::class === $resourceClass
1863+
&& Book::class === $rootResource
18641864
) {
18651865
return 'DateTime';
18661866
}

0 commit comments

Comments
 (0)