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

dancelist validate should support yaml anchors #265

Open
torotil opened this issue Sep 23, 2023 · 1 comment
Open

dancelist validate should support yaml anchors #265

torotil opened this issue Sep 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@torotil
Copy link

torotil commented Sep 23, 2023

I’ve just tried to create a PR for the Vienna events (#447). According to my local schema validations the yaml file is fine, but it fails to validate with dancelist validate because I’ve used anchors to spare me some copy&paste.

I’m not a rust programmer but according to https://stackoverflow.com/questions/73311581/how-to-use-yaml-references-with-rusts-serde-yaml serde_yaml (which seems to be used by this project) supports anchors. Therefore I’m not sure what’s wrong with dancelist validate.

@torotil torotil changed the title dancelist validate should support yaml references dancelist validate should support yaml anchors Sep 23, 2023
@qwandor qwandor transferred this issue from qwandor/dancelist-data Sep 23, 2023
@qwandor qwandor added the enhancement New feature or request label Sep 23, 2023
@qwandor
Copy link
Owner

qwandor commented Sep 23, 2023

This might be the issue from dtolnay/serde-yaml#317, which also mentions a workaround. I'll try that when I have time.

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

No branches or pull requests

2 participants