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 directives.docEnd, for ... marker #371

Merged
merged 2 commits into from
Mar 20, 2022
Merged

Add directives.docEnd, for ... marker #371

merged 2 commits into from
Mar 20, 2022

Conversation

eemeli
Copy link
Owner

@eemeli eemeli commented Mar 15, 2022

Fixes #368, CC @ferrarimarco

This PR contains a BREAKING CHANGE, as it renames the directives.marker to directives.docStart. The behaviour of the property stays the same, though.

Next to that, we add directives.docEnd to mark whether the document contains a ... doc-end marker.

@ferrarimarco
Copy link

Thanks @eemeli !

/cc @bwateratmsft

@eemeli eemeli merged commit 03c98ab into master Mar 20, 2022
@eemeli eemeli deleted the mark-end branch March 20, 2022 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The ToString function removes the YAML document end marker if present in the document being parsed
2 participants