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 aliases in YAML.mapping #1745

Closed
kostya opened this issue Oct 15, 2015 · 2 comments · Fixed by #5007
Closed

Support aliases in YAML.mapping #1745

kostya opened this issue Oct 15, 2015 · 2 comments · Fixed by #5007

Comments

@kostya
Copy link
Contributor

kostya commented Oct 15, 2015

http://play.crystal-lang.org/#/r/j24

@asterite
Copy link
Member

Yes, aliases are not currently supported.

@asterite asterite changed the title bug yaml with aliases Support aliases in YAML.mapping Oct 27, 2015
@straight-shoota
Copy link
Member

To implement this, the parser provided to from_yaml needs to be context-aware like YAML::Parser which keeps track of anchors. So I guess the anchors list should be moved to YAML::PullParser or are there other suggestions?

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

Successfully merging a pull request may close this issue.

3 participants