Replies: 1 comment 1 reply
-
hi ,@terrymanu @tristaZero Regarding the two, which method should we be more appropriate? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to #13449. @ZjcNB and I would like to discuss this issue.
There are currently two ways to achieve
The first one is that we pay attention to the key prefix, and we cannot prompt the user for the subsequent nested classes, for example:
spring.shardingsphere.rules.sharding.sharding-algorithms.databaseShardingAlgorithm.type=INLINE
keyword.customvalue.customvalue=customvalue
and the keyword is
spring.shardingsphere.rules.sharding.sharding-algorithms
.Second, we pay attention to the complete key, but there will be a problem that the key of props cannot identify the red flag (the solution to this problem is still being sought), for example
spring.shardingsphere.rules.sharding.sharding-algorithms.databaseShardingAlgorithm.type=INLINE
keyword.customvalue.keyword=customvalue
and the first keyword is
spring.shardingsphere.rules.sharding.sharding-algorithms
and the second istype
.Custom values cannot be recognized and reminded by idea, keywords can be reminded.
Beta Was this translation helpful? Give feedback.
All reactions