From 3ffa7644b0a2686b75ae279afa894cbffeb46bbc Mon Sep 17 00:00:00 2001 From: vgmaarten Date: Fri, 20 Apr 2018 14:03:02 +0200 Subject: [PATCH] Wrong attribute serializer xml The given example in docs is wrong. https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Serializer/Mapping/Loader/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd#L67 https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Serializer/Tests/Fixtures/serialization.xml#L19 --- components/serializer.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/serializer.rst b/components/serializer.rst index ea6d32f5770..aa684c8bee6 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -814,9 +814,7 @@ Here, we set it to 2 for the ``$child`` property: http://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd" > - - 2 - + The metadata loader corresponding to the chosen format must be configured in