From 8939523b40fc5653ed70f7e45447138247c58256 Mon Sep 17 00:00:00 2001 From: Killian Stefanini Date: Fri, 13 Oct 2023 15:37:36 +0200 Subject: [PATCH] Update graphql.md Fix var name --- core/graphql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/graphql.md b/core/graphql.md index 1a0d2ca88f6..87dd5fb74ca 100644 --- a/core/graphql.md +++ b/core/graphql.md @@ -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'; }