Skip to content

Not support to load multi yaml documents from a single file. #254

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

Closed
ihac opened this issue Apr 27, 2018 · 2 comments
Closed

Not support to load multi yaml documents from a single file. #254

ihac opened this issue Apr 27, 2018 · 2 comments

Comments

@ihac
Copy link

ihac commented Apr 27, 2018

Seems PR 209(Add support for easier YAML loading.) does not support multiple resources in one yaml file (separated by ---), which is quite common in daily use.

I guess using snakeyaml.Yaml.loadAll() would be a quick fix, but it conflicts with your current api. So do you get any plan for this?

Thanks.

@brendandburns
Copy link
Contributor

I'd be ok if someone wanted to add:

List<Object> loadAll(Reader input)

method to the Yaml class.

@brendandburns
Copy link
Contributor

This was fixed by #256

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