Skip to content

[Serializer] Fix broken links and syntax issues #20435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ The serializer, and its normalizers and encoders, are configured through
the *serializer context*. This context can be configured in multiple
places:

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

You can use all three options at the same time. When the same setting is
configured in multiple places, the latter in the list above will override
Expand Down Expand Up @@ -363,6 +363,8 @@ instance to disallow extra fields while deserializing:
];
$serializer = new Serializer($normalizers, $encoders);
.. _serializer-context-while-serializing-deserializing:

Pass Context while Serializing/Deserializing
............................................

Expand Down Expand Up @@ -1482,7 +1484,7 @@ Debugging the Serializer

.. versionadded:: 6.3

The debug:serializer`` command was introduced in Symfony 6.3.
The ``debug:serializer`` command was introduced in Symfony 6.3.

Use the ``debug:serializer`` command to dump the serializer metadata of a
given class:
Expand Down Expand Up @@ -1969,7 +1971,7 @@ these type names to the real PHP class name when deserializing:
</serializer>
With the discriminator map configured, the serializer can now pick the
correct class for properties typed as `InvoiceItemInterface`::
correct class for properties typed as ``InvoiceItemInterface``::

.. configuration-block::

Expand Down
Loading