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

[FrameworkBundle][Serializer] Add option to register a circular_reference_handler#22011

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

Merged

Conversation

@lyrixx
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Right now, it's quite hard (especially for new comers) to register a CircularReferenceHandler:

screenshot1


This PR introduce an option to wire a service to the internal Object Normalizer.

yceruto, Nek-, theofidry, Hanmac, and dunglas reacted with thumbs up emoji
@lyrixxlyrixxforce-pushed theserializer-circular-reference-handler branch fromcbdc24d to0a638f5CompareMarch 15, 2017 16:33
@nicolas-grekasnicolas-grekas added this to the3.3 milestoneMar 15, 2017
Nek- added a commit to Nek-/symfony-docs that referenced this pull requestMar 15, 2017
This is added bysymfony/symfony#22011This commit also fix missing serializer related missing options in the yamlconfig example.
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@dunglasdunglas left a comment
edited
Loading

Choose a reason for hiding this comment

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

👍 great new feature! But can you add a test?

@fabpot
Copy link
Member

Thank you@lyrixx.

@fabpotfabpot merged commit0a638f5 intosymfony:masterMar 22, 2017
fabpot added a commit that referenced this pull requestMar 22, 2017
… circular_reference_handler (lyrixx)This PR was merged into the 3.3-dev branch.Discussion----------[FrameworkBundle][Serializer] Add option to register a circular_reference_handler| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | ----Right now, it's quite hard (especially for new comers) to register a CircularReferenceHandler:![screenshot1](https://cloud.githubusercontent.com/assets/408368/23959193/ce19bcec-09a4-11e7-82c7-80abd7b7f602.png)---This PR introduce an option to wire a service to the internal Object Normalizer.Commits-------0a638f5 [FrameworkBundle][Serializer] Add option to register a "circular_reference_handler"
@lyrixxlyrixx deleted the serializer-circular-reference-handler branchMarch 22, 2017 21:11
xabbuh added a commit to symfony/symfony-docs that referenced this pull requestApr 15, 2017
…option to reference: circular_reference_handler (Nek-)This PR was merged into the master branch.Discussion----------[FrameworkBundle][Serializer] Add new framework bundle option to reference: circular_reference_handlerThis PR provides documentation for this other PRsymfony/symfony#22011It should not be merged before the related Symfony PR is merged.It also fixes missing options in the example YAML config file.Commits-------964c31e Add new framework bundle option to reference: circular_reference_handler
@fabpotfabpot mentioned this pull requestMay 1, 2017
fabpot added a commit that referenced this pull requestFeb 19, 2018
…rence_handler (dunglas)This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle] Add missing XML config for circular_reference_handler| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->| Tests pass?   | yes| Fixed tickets | n/a| License       | MIT| Doc PR        | n/a* Add missing XML config for circular_reference_handler (#22011)* Add testsCommits-------611ff59 [FrameworkBundle] Add missing XML config for circular_reference_handler. Add tests.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasdunglas approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

5 participants

@lyrixx@fabpot@dunglas@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp