Skip to content

Commit b60780e

Browse files
committed
Merge pull request #2313 from Aitboudad/2.0
[Config][Normalization] added a tip about altered keys
2 parents ceeb1b2 + 9108c4b commit b60780e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/config/definition.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,11 @@ The separator used in keys is typically ``_`` in Yaml and ``-`` in XML. For
325325
example, ``auto_connect`` in Yaml and ``auto-connect``. The normalization would
326326
make both of these ``auto_connect``.
327327

328+
.. caution::
329+
330+
The target key will not be altered if it's mixed like
331+
``foo-bar_moo`` or if it already exists.
332+
328333
Another difference between Yaml and XML is in the way arrays of values may
329334
be represented. In Yaml you may have:
330335

0 commit comments

Comments
 (0)