Skip to content

Commit

Permalink
minor #19194 fix: serializer includes only accessible attributes by d…
Browse files Browse the repository at this point in the history
…efault (nesl247)

This PR was submitted for the 6.4 branch but it was merged into the 5.4 branch instead.

Discussion
----------

fix: serializer includes only accessible attributes by default

Updates documentation based upon the discussion here: symfony/symfony#52680

Commits
-------

674ff7d fix: serializer includes only accessible attributes by default
  • Loading branch information
OskarStark committed Nov 28, 2023
2 parents 7047b79 + 674ff7d commit d3710d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ As for groups, attributes can be selected during both the serialization and dese
Ignoring Attributes
-------------------

All attributes are included by default when serializing objects. There are two
All accessible attributes are included by default when serializing objects. There are two
options to ignore some of those attributes.

Option 1: Using ``@Ignore`` Annotation
Expand Down

0 comments on commit d3710d1

Please sign in to comment.