Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Yaml configuration leads to incorrect Yaml #1003

Closed
fanf opened this issue Aug 22, 2023 · 1 comment
Closed

Default Yaml configuration leads to incorrect Yaml #1003

fanf opened this issue Aug 22, 2023 · 1 comment

Comments

@fanf
Copy link
Contributor

fanf commented Aug 22, 2023

The current configuration options for SnakeYaml layer leads to it outputing badly formatted yaml like:

id: foo
version: 42
params:
  -
  id: p1
  mandatory: true

It seems that setIndentWithIndicator(true) option is missing (and not exposed).

See https://gist.github.com/fanf/445e9228cd62bb786960ce2242c1020c for more details.

@fsvehla
Copy link
Contributor

fsvehla commented Aug 23, 2023

Thank you, @fanf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants