Skip to content

Commit 5aa1ea2

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: fix broken links and syntax issues
2 parents a820bde + 6e55716 commit 5aa1ea2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

serializer.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ The serializer, and its normalizers and encoders, are configured through
290290
the *serializer context*. This context can be configured in multiple
291291
places:
292292

293-
* `Globally through the framework configuration <Configure a Default Context>`_
294-
* `While serializing/deserializing <Pass Context while Serializing/Deserializing>`_
295-
* `For a specific property <Configure Context on a Specific Property>`_
293+
* :ref:`Globally through the framework configuration <serializer-default-context>`
294+
* :ref:`While serializing/deserializing <serializer-context-while-serializing-deserializing>`
295+
* :ref:`For a specific property <serializer-using-context-builders>`
296296

297297
You can use all three options at the same time. When the same setting is
298298
configured in multiple places, the latter in the list above will override
@@ -363,6 +363,8 @@ instance to disallow extra fields while deserializing:
363363
];
364364
$serializer = new Serializer($normalizers, $encoders);
365365
366+
.. _serializer-context-while-serializing-deserializing:
367+
366368
Pass Context while Serializing/Deserializing
367369
............................................
368370

@@ -1949,7 +1951,7 @@ these type names to the real PHP class name when deserializing:
19491951
</serializer>
19501952
19511953
With the discriminator map configured, the serializer can now pick the
1952-
correct class for properties typed as `InvoiceItemInterface`::
1954+
correct class for properties typed as ``InvoiceItemInterface``::
19531955

19541956
.. configuration-block::
19551957

0 commit comments

Comments
 (0)