Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[YAML] added ability for substitute aliases when mapping is on single line#11569

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
fabpot wants to merge1 commit intosymfony:masterfromfabpot:moved_yaml_9

Conversation

@fabpot
Copy link
Member

This PR was submitted on the symfony/Yaml read-only repository and moved automatically to the main Symfony repository (closessymfony/yaml#9).

At present parser only substitutes aliases when mapping is in a multiline.
When the alias is used in the mapping stored in a single line, alias substitution doesn't work.

So I modified Parser to fix it.

Choose a reason for hiding this comment

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

should be something like "where a << is used"

@romainneutronromainneutron changed the titleadded ability for substitute aliases when mapping is on single line[YAML] added ability for substitute aliases when mapping is on single lineAug 11, 2014
@stof
Copy link
Member

related to#11665

fabpot added a commit that referenced this pull requestAug 27, 2014
This PR was merged into the 2.3 branch.Discussion----------[YAML] resolve variables in inlined YAML| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#11665| License       | MIT| Doc PR        |#11569 does not resolve variables in inline YAML.Commits-------45a5863 [YAML] resolve variables in inlined YAML
@fabpotfabpot closed thisAug 27, 2014
@xabbuh
Copy link
Member

@fabpot Actually, I don't think that this can be closed. I didn't fix anything related to alias substitution in#11677. The tests added here would still fail.

@fabpotfabpot reopened thisAug 27, 2014
@fabpotfabpot closed thisJan 25, 2016
@fabpot
Copy link
MemberAuthor

@xabbuh Would you like to take over this one?

@xabbuh
Copy link
Member

Thank you for starting this@nexGN. It took me some time, but your PR is now going to be finished in#25043.

fabpot added a commit that referenced this pull requestNov 23, 2017
…s on single line (Michał Strzelecki, xabbuh)This PR was merged into the 2.7 branch.Discussion----------[Yaml] added ability for substitute aliases when mapping is on single line| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#11569| License       | MIT| Doc PR        |Commits-------dd26c80 substitute aliases in inline mappings675a3fe added ability for substitute aliases when mapping in YAML is on single line
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@fabpot@stof@xabbuh@romainneutron

[8]ページ先頭

©2009-2025 Movatter.jp