Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Do not require quotes for implicit keys with flow indicators - #494

#494
Merged
eemeli merged 1 commit into
maineemeli/yaml:mainfrom
fix-implicit-plain-key-stringeemeli/yaml:fix-implicit-plain-key-stringCopy head branch name to clipboard
Aug 28, 2023
Merged

Do not require quotes for implicit keys with flow indicators#494
eemeli merged 1 commit into
maineemeli/yaml:mainfrom
fix-implicit-plain-key-stringeemeli/yaml:fix-implicit-plain-key-stringCopy head branch name to clipboard

Conversation

@eemeli

@eemeli eemeli commented Aug 26, 2023

Copy link
Copy Markdown
Owner

Fixes #493

The oddity here turned out to be in part caused by a mismatch in the YAML spec text & rules; I've filed yaml/yaml-spec#313 to add an errata for that. See there for more technical details, but the fix required here is removing one part of the check in the stringifier. I'd followed the YAML rules for the parser, but the YAML text for the stringifier, and the latter was wrong.

@eemeli
eemeli merged commit 9558e96 into main Aug 28, 2023
@eemeli
eemeli deleted the fix-implicit-plain-key-string branch August 28, 2023 14:29
@rattrayalex

Copy link
Copy Markdown

Thank you!

This was referenced Sep 13, 2024
This was referenced Sep 20, 2024
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.

Option to plain-format some keys like /models/{model}

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.