-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add yaml parser workaround for anchors #907
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested
I am not a fan. I don't like, that the data it decoded, encoded again and decoded a second time. I want to try something. If it doesn't work, we can do it this way |
Yes, it's not optimal, but it's the best we could come up with. Currently, the parser is faced with two problems:
This approach solves both of these problems in one go (pun not intended). If you're solution solves those as well in a better way, I would be happy to accept it. |
I was not able to find a better solution. So lets use it. For the future, we could thing about changing the format of the models.yml so something like this: meta: ... |
We tried something similar but then stumbled over goccy/go-yaml#431 |
needed for OpenSlides/openslides-meta#69