Skip to content

Commit 6f435aa

Browse files
committed
Merge branch '2.8' into 3.3
* 2.8: Mention the handy `ignoreExtraKeys()` method
2 parents a33c56c + 371738c commit 6f435aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/config/definition.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ Before defining the children of an array node, you can provide options like:
228228
If called (with ``false``), keys with dashes are *not* normalized to underscores.
229229
It is recommended to use this with prototype nodes where the user will define
230230
a key-value map, to avoid an unnecessary transformation.
231+
``ignoreExtraKeys()``
232+
Allows extra config keys to be specified under an array without
233+
throwing an exception.
231234

232235
A basic prototyped array configuration can be defined as follows::
233236

0 commit comments

Comments
 (0)