Skip to content

[Serializer] Section about configuring Circular Reference Handler #12431

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

Closed
wants to merge 5 commits into from
Closed
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
Prev Previous commit
Next Next commit
Update serializer.rst
Co-authored-by: Mata <Matts@users.noreply.github.com>
  • Loading branch information
pskt and Matts authored Oct 28, 2020
commit b72b592c88520fd88475a453ec851c74fc308f6e
2 changes: 1 addition & 1 deletion serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ value:
Enabling Circular Reference Handler
-----------------------------------

The use of :ref:`circular reference handler <component-serializer-handling-circular-references>` service can be defined
The use of the :ref:`circular reference handler <component-serializer-handling-circular-references>` service can be defined
in the configuration using :ref:`circular_reference_handler <reference-serializer-circular_reference_handler>` option.

The service has to implement magic ``__invoke($object)`` method, like in example::
Expand Down