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

[Yaml] Implement multiline string as scalar block for tagged values #34449

Merged

Conversation

natepage
Copy link
Contributor

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #...
License MIT

At the moment you can parse a tagged value defined as a scalar block. But you can't actually dump a multiline string as scalar block when using a tagged value.

This PR implements the multiline string as scalar block for tagged values as well.

@nicolas-grekas nicolas-grekas changed the title Implement multiline string as scalar block for tagged values [Yaml] Implement multiline string as scalar block for tagged values Nov 20, 2019
@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Nov 20, 2019
@xabbuh xabbuh added the Yaml label Nov 20, 2019
@nicolas-grekas nicolas-grekas force-pushed the fix/yaml-dumper-tagged-multilines-string branch from 2737f35 to 84241d4 Compare December 10, 2019 08:51
@nicolas-grekas
Copy link
Member

Thank you @natepage.

nicolas-grekas added a commit that referenced this pull request Dec 10, 2019
…ed values (natepage)

This PR was squashed before being merged into the 3.4 branch.

Discussion
----------

[Yaml] Implement multiline string as scalar block for tagged values

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #... <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT

At the moment you can parse a tagged value defined as a scalar block. But you can't actually dump a multiline string as scalar block when using a tagged value.

This PR implements the multiline string as scalar block for tagged values as well.

Commits
-------

84241d4 [Yaml] Implement multiline string as scalar block for tagged values
@nicolas-grekas nicolas-grekas merged commit 84241d4 into symfony:3.4 Dec 10, 2019
This was referenced Dec 19, 2019
This was referenced Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants