We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f039d commit 4085aedCopy full SHA for 4085aed
serializer.rst
@@ -383,6 +383,18 @@ stored in one of the following locations:
383
* All ``*.yaml`` and ``*.xml`` files in the ``Resources/config/serialization/``
384
directory of a bundle.
385
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
398
.. _serializer-enabling-metadata-cache:
399
400
Using Nested Attributes
0 commit comments