circe / circe-yaml

YAML parser for circe using SnakeYAML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support maxAliasesForCollections override

hcdeng opened this issue · comments

SnakeYaml defaults "maxAliasesForCollections" to 50, and supports overriding this value via https://www.javadoc.io/doc/org.yaml/snakeyaml/latest/org/yaml/snakeyaml/LoaderOptions.html. This would probably be implemented the same way as #120.

We have a project that parses yml files with more than 50 aliases - currently using a workaround for this.

Starting work on this

Would very much appreciate if you could implement #120 at the same time, but totally understand if it requires significant extra effort

Doesn't seem like too much work, but the PR for maxAliasesForCollections is (hopefully) only a couple button clicks away from getting merged. Once it's in, adding #120 should be pretty small/straightforward. If it happens in the next couple of weeks, I should have time to tackle it.