Skip to content

Commit 30f9eec

Browse files
committed
Document view builder merge strategy.
1 parent 6946532 commit 30f9eec

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

en/appendices/5-3-migration-guide.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,3 +220,12 @@ View
220220
By default, the helper generates inputs of type checkbox and radio nested
221221
inside their label. Setting the ``nestedCheckboxAndRadio`` option to ``false``
222222
will turn off the nesting.
223+
224+
- ``ViewBuilder::setConfigMergeStrategy()`` was added to control how view options
225+
are merged with the View class's default configuration. Available strategies are
226+
``ViewBuilder::MERGE_DEEP`` (recursive merge, default) and ``ViewBuilder::MERGE_SHALLOW``
227+
(simple array merge). This is useful when you want to replace array values in view
228+
options rather than deep merging them.
229+
230+
- ``ViewBuilder::getConfigMergeStrategy()`` was added to retrieve the current merge
231+
strategy setting.

0 commit comments

Comments
 (0)