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

Add tags to nodes #98

Merged
merged 3 commits into from Nov 13, 2021
Merged

Add tags to nodes #98

merged 3 commits into from Nov 13, 2021

Conversation

kpodsiad
Copy link
Contributor

Each YAML node except its kind (scalar, mapping, sequence) has also a tag. Tag property indicates the type that the application should use to represent a given node. Typically, most tags are not explicitly specified in the character stream so YAML processor has to resolve them on its own using some schema. Recommended done is core schema.

  • Add more testcases (e.g. all form this chapter)
  • YamlDecoder should be easier to create. It'll be good to have some factory functions which will reduce required boilerplate (maybe as a follow-up PR?)

Copy link
Contributor

@lwronski lwronski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kpodsiad kpodsiad merged commit f292c10 into main Nov 13, 2021
@kpodsiad kpodsiad deleted the add-tags-to-nodes branch November 13, 2021 13:26
@kpodsiad kpodsiad added the feature New feature or request label Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants