-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Yaml] Throw exception for tagged invalid inline elements #33818
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
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.
with a minor comment, should be merged into 3.4
if I don't miss anything
Tagged scalars were introduced in 4.0. |
Oh, but it seems that tagged inline arrays are also affected (in 3.4).
This does not throw an exception. So I will change target to 3.4 and fix it there. Status: Needs Work |
Thank you @gharlan. |
…(gharlan) This PR was merged into the 3.4 branch. Discussion ---------- [Yaml] Throw exception for tagged invalid inline elements | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | n/a At the moment the result for `!foo 'don't do somthin' like that'` is a `TaggedValue` with value "don". Commits ------- bed479c [Yaml] Throw exception for tagged invalid inline elements
At the moment the result for
!foo 'don't do somthin' like that'
is aTaggedValue
with value "don".