@@ -290,9 +290,9 @@ The serializer, and its normalizers and encoders, are configured through
290
290
the *serializer context *. This context can be configured in multiple
291
291
places:
292
292
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 >`
296
296
297
297
You can use all three options at the same time. When the same setting is
298
298
configured in multiple places, the latter in the list above will override
@@ -363,6 +363,8 @@ instance to disallow extra fields while deserializing:
363
363
];
364
364
$serializer = new Serializer($normalizers, $encoders);
365
365
366
+ .. _serializer-context-while-serializing-deserializing :
367
+
366
368
Pass Context while Serializing/Deserializing
367
369
............................................
368
370
@@ -1482,7 +1484,7 @@ Debugging the Serializer
1482
1484
1483
1485
.. versionadded :: 6.3
1484
1486
1485
- The debug:serializer`` command was introduced in Symfony 6.3.
1487
+ The `` debug:serializer `` command was introduced in Symfony 6.3.
1486
1488
1487
1489
Use the ``debug:serializer `` command to dump the serializer metadata of a
1488
1490
given class:
@@ -1969,7 +1971,7 @@ these type names to the real PHP class name when deserializing:
1969
1971
</serializer >
1970
1972
1971
1973
With the discriminator map configured, the serializer can now pick the
1972
- correct class for properties typed as `InvoiceItemInterface `::
1974
+ correct class for properties typed as `` InvoiceItemInterface ` `::
1973
1975
1974
1976
.. configuration-block ::
1975
1977
0 commit comments