Skip to content

Commit

Permalink
Update graphql.md (#1818)
Browse files Browse the repository at this point in the history
Fix var name
  • Loading branch information
kstefanini authored Dec 6, 2023
1 parent b466c72 commit 3979850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ final class TypeConverter implements TypeConverterInterface
public function convertType(Type $type, bool $input, Operation $rootOperation, string $resourceClass, string $rootResource, ?string $property, int $depth)
{
if ('publicationDate' === $property
&& Book::class === $resourceClass
&& Book::class === $rootResource
) {
return 'DateTime';
}
Expand Down

0 comments on commit 3979850

Please sign in to comment.