Thanks to visit codestin.com
Credit goes to github.com

Skip to content

4.1 #27816

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

Closed
wants to merge 3 commits into from
Closed

4.1 #27816

wants to merge 3 commits into from

Conversation

voodoo-dn
Copy link

Q A
Branch? 4.1
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #27641
License MIT
Doc PR symfony/symfony-docs#...

Fixing this bugs:

  1. voodoo-dn/serializer-bug@0aa4a57
    On normalization trying get property from class which not exists(because merged whole attribute list from class discriminator map)

  2. voodoo-dn/serializer-bug@41ae6e8
    Associated objects are not deserialized
    For example: DummyA has association with DummyB, but on deserialization(json string for example) instead of passing DummyB object via DummyA::setDummyB(), array passed to this method.

@voodoo-dn
Copy link
Author

Not actual.

@sroze fix it in this PR
#27826
#27827

Thanks.

@voodoo-dn voodoo-dn closed this Jul 3, 2018
nicolas-grekas added a commit that referenced this pull request Jul 9, 2018
… entities and discrimination map (sroze)

This PR was merged into the 4.1 branch.

Discussion
----------

[Serializer] Fix serialization of items with groups across entities and discrimination map

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27816, #27641
| License       | MIT
| Doc PR        | ø

I believe this approach is better than the one taken in #27816. At least, it's an alternative :)

Commits
-------

c648b93 Fix serialization of abstract items with groups across multiple entities
fabpot added a commit that referenced this pull request Jul 19, 2018
This PR was merged into the 4.1 branch.

Discussion
----------

[Serializer] Supports nested abstract items

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27816, #27641
| License       | MIT
| Doc PR        | ø

This adds support for nested "abstract" objects.

Commits
-------

ec4b04b Supports nested "abstract" object while serializing and de-serializing
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.

2 participants