Skip to content

Documented the framework.serializer.mapping config option #8529

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 3 commits into from
Nov 16, 2017
Merged
Changes from 1 commit
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
15 changes: 15 additions & 0 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ Configuration
* :ref:`enable_annotations <reference-serializer-enable_annotations>`
* :ref:`name_converter <reference-serializer-name_converter>`
* :ref:`circular_reference_handler <reference-serializer-circular_reference_handler>`
* `mapping`_
* :ref:`paths <reference-serializer-mapping-paths>`
* `php_errors`_
* `log`_
* `throw`_
Expand Down Expand Up @@ -1692,6 +1694,19 @@ method.
For more information, see
:ref:`component-serializer-handling-circular-references`.

mapping

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The target mapping is duplicated (already used for the validation section)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I've fixed it.

.......

.. _reference-serializer-mapping-paths:

paths
"""""

**type**: ``array`` **default**: ``[]``

This option allows to define an array of paths with files or directories where
the component will look for additional validation files.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

serialization :)


php_errors
~~~~~~~~~~

Expand Down