Skip to content

Commit 371738c

Browse files
committed
feature #8675 Mention the handy ignoreExtraKeys() method (jordanlev)
This PR was merged into the 2.8 branch. Discussion ---------- Mention the handy `ignoreExtraKeys()` method Commits ------- c175b0d Mention the handy `ignoreExtraKeys()` method
2 parents adf7f8f + c175b0d commit 371738c

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
@@ -210,6 +210,9 @@ Before defining the children of an array node, you can provide options like:
210210
If called (with ``false``), keys with dashes are *not* normalized to underscores.
211211
It is recommended to use this with prototype nodes where the user will define
212212
a key-value map, to avoid an unnecessary transformation.
213+
``ignoreExtraKeys()``
214+
Allows extra config keys to be specified under an array without
215+
throwing an exception.
213216

214217
A basic prototyped array configuration can be defined as follows::
215218

0 commit comments

Comments
 (0)