You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2022/02/18 06:01:54 UTC

[sling-org-apache-sling-feature-extension-apiregions] 02/02: SLING-11151 : When configuration defauls are applied take excludes/includes into account

This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-extension-apiregions.git

commit 1d2d2168f171fb2c9995c01017911519edeadcf3
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Feb 18 07:01:37 2022 +0100

    SLING-11151 : When configuration defauls are applied take excludes/includes into account
---
 docs/api-regions.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/api-regions.md b/docs/api-regions.md
index 0a41312..b62472b 100644
--- a/docs/api-regions.md
+++ b/docs/api-regions.md
@@ -181,8 +181,8 @@ The validation mode defines the behaviour of the validation in case of an invali
 * `STRICT` : This is the default mode. If the validation fails, issue an error.
 * `LENIENT` : If validation fails, issue a warning. The invalid value is used.
 * `SILENT` : If validation fails, do not report it. The invalid value is used.
-* `DEFINITIVE` : If validation fails, issue a warning and use the default value instead. If no default value is provided, the property is removed from the configuration.
-* `SILENT_DEFINITIVE` : If validation fails, do not report it and use the default value instead. If no default value is provided, the property is removed from the configuration.
+* `DEFINITIVE` : If validation fails, issue a warning. If a default value is provided, use the default value instead. If no default value is provided and the value is an array or a collection and includes or excludes are provided, these will be applied. Otherwise, the property is removed from the configuration.
+* `SILENT_DEFINITIVE` : If validation fails, do not report it. If a default value is provided, use the default value instead. If no default value is provided and the value is an array or a collection and includes or excludes are provided, these will be applied. Otherwise, the property is removed from the configuration.
 
 ``` json
 "configuration-api:JSON" : {