Support profile negation in YAML sub-documents
See gh-4953
This commit is contained in:
committed by
Phillip Webb
parent
65a41d2f5b
commit
bd010494c9
@@ -678,6 +678,10 @@ profile, and it would have to be explicitly reset in all other profiles as neces
|
||||
password: weak
|
||||
----
|
||||
|
||||
Spring profiles designated using the "spring.profiles" element may optionally be
|
||||
negated using the {@code !} character. If both negated and non-negated profiles
|
||||
are specified for a single document, at least one non-negated profile must match
|
||||
and no negated profiles may match.
|
||||
|
||||
|
||||
[[boot-features-external-config-yaml-shortcomings]]
|
||||
|
||||
Reference in New Issue
Block a user