REQ-3540: 惹名scope的子节点名可以重复

This commit is contained in:
yanglin 2025-03-19 14:16:44 +08:00
parent 95e749fdd1
commit 3b5710fcb2

View File

@ -17,6 +17,10 @@ public interface IndexNodeScope {
return DatabaseScope.NONE;
}
default String scopeCode() {
return "";
}
default boolean isChildrenNameDuplicatable() {
switch (context()) {
case FILE_TEMPLATE:
@ -28,10 +32,6 @@ public interface IndexNodeScope {
}
}
default String scopeCode() {
return "";
}
// @formatter:off
IndexNodeScope NONE = new IndexNodeScope() {};
// @formatter:on