File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,18 @@ stored in one of the following locations:
383383* All ``*.yaml `` and ``*.xml `` files in the ``Resources/config/serialization/ ``
384384 directory of a bundle.
385385
386+ .. note ::
387+
388+ By default, the ``Default `` group is used when normalizing and denormalizing
389+ objects. A group corresponding to the class name is also used. For example,
390+ if you are normalizing a ``App\Entity\Product `` object, the ``Product `` group
391+ is also included by default.
392+
393+ .. versionadded :: 7.1
394+
395+ The default use of the class name and ``Default `` groups when normalizing
396+ and denormalizing objects was introduced in Symfony 7.1.
397+
386398.. _serializer-enabling-metadata-cache :
387399
388400Using Nested Attributes
You can’t perform that action at this time.
0 commit comments