File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Original file line number Diff line number Diff line change @@ -368,11 +368,11 @@ stored in one of the following locations:
368
368
369
369
.. _serializer-enabling-metadata-cache :
370
370
371
- Using nested attributes
371
+ Using Nested Attributes
372
372
-----------------------
373
373
374
- To map nested properties, a ``SerializedPath `` can be defined with annotations,
375
- attributes and YAML or XML configurations :
374
+ To map nested properties, use the ``SerializedPath `` configuration to define
375
+ their paths using a :doc: ` valid PropertyAccess syntax < /components/property_access >` :
376
376
377
377
.. configuration-block ::
378
378
@@ -445,9 +445,8 @@ object::
445
445
$person->getBirthday(); // 01-01-1970
446
446
447
447
When using annotations or attributes, the ``SerializedPath `` can either
448
- be set on the property or the associated getter. The ``SerializedPath ``
449
- cannot be used in combination with a ``SerializedName `` for the same propety.
450
- The given path must be a string that can be parsed as a ``PropertyPath ``.
448
+ be set on the property or the associated _getter_ method. The ``SerializedPath ``
449
+ cannot be used in combination with a ``SerializedName `` for the same property.
451
450
452
451
Configuring the Metadata Cache
453
452
------------------------------
You can’t perform that action at this time.
0 commit comments