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

Support mutli-document YAML files #43

Open
Wikiwix opened this issue Feb 11, 2022 · 2 comments
Open

Support mutli-document YAML files #43

Wikiwix opened this issue Feb 11, 2022 · 2 comments
Projects

Comments

@Wikiwix
Copy link

Wikiwix commented Feb 11, 2022

For YAMLs it would be great to be able to compare mutli-document files.

For JSON potentially ndjson could be supported, too.

@josephburnett
Copy link
Owner

This is an interesting idea. How do you imagine this would look like on the commandline? And how would it treat the order of the documents with the A and B inputs?

I suppose we could just read a multi-document file (YAML or JSON) and push that into a jsonArray time. Then we can let the user supply keys to match up documents (existing feature).

@josephburnett josephburnett added this to To do in v1.6 Mar 31, 2022
@Wikiwix
Copy link
Author

Wikiwix commented Apr 6, 2022

Sounds good to me, the list should per default handled as multiset (-mset) though, because the YAML documents do not have an order, but "repetitions" matter

@josephburnett josephburnett removed this from To do in v1.6 Jul 2, 2022
@josephburnett josephburnett added this to To do in v1.7 via automation Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
v1.7
To do
Development

No branches or pull requests

2 participants