azexcy commented on code in PR #30505:
URL: https://github.com/apache/shardingsphere/pull/30505#discussion_r1527686206
##########
infra/util/src/main/java/org/apache/shardingsphere/infra/util/yaml/constructor/ShardingSphereYamlConstructor.java:
##########
@@ -49,6 +49,7 @@ public ShardingSphereYamlConstructor(final Class<?>
rootClass) {
private static LoaderOptions createLoaderOptions() {
LoaderOptions result = new LoaderOptions();
+ result.setMaxAliasesForCollections(Integer.MAX_VALUE);
Review Comment:
Refer
>
https://stackoverflow.com/questions/63823021/how-to-auto-edit-yaml-file-containing-anchors-aliases-using-snakeyaml
https://www.spigotmc.org/threads/yaml-anchors-and-aliases-how-to-disable-them.523792/
At latest snakeyaml version, should be no option provided to disable aliases
directly
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]