From 0c170e2cad5378369a197d5ada46d3953dfb0ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20B=C3=BChlmann?= Date: Sat, 14 Dec 2024 14:39:00 +0100 Subject: [PATCH] graphql.md: add "MediaObject Normalization" chapter graphql-normalizer needs to be injected --- core/graphql.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/core/graphql.md b/core/graphql.md index b815599a0a6..9d8efde4d66 100644 --- a/core/graphql.md +++ b/core/graphql.md @@ -2942,6 +2942,25 @@ final class CreateMediaObjectResolver implements MutationResolverInterface For handling the upload of multiple files, iterate over `$context['args']['input']['files']`. +### Normalization of MediaObjects + +In the constructor of the `MediaObjectNormalizer`, the GraphQL Normalizer must be injected: + +```PHP +