Skip to content

Conversation

@danut007ro
Copy link
Contributor

Q A
Branch? 4.1
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

When using default_constructor_arguments to denormalize objects, null values for a parameter weren't processed, so instantiating was failing.

@nicolas-grekas nicolas-grekas added this to the 4.1 milestone Nov 6, 2018
@nicolas-grekas nicolas-grekas changed the title Allow null values when denormalizing with constructor missing data [Serializer] Allow null values when denormalizing with constructor missing data Nov 6, 2018
@dunglas
Copy link
Member

dunglas commented Nov 8, 2018

Thanks @danut007ro.

@dunglas dunglas merged commit 5fd0f3f into symfony:4.1 Nov 8, 2018
dunglas added a commit that referenced this pull request Nov 8, 2018
…structor missing data (danut007ro)

This PR was squashed before being merged into the 4.1 branch (closes #29076).

Discussion
----------

[Serializer] Allow null values when denormalizing with constructor missing data

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

When using `default_constructor_arguments` to denormalize objects, `null` values for a parameter weren't processed, so instantiating was failing.

Commits
-------

5fd0f3f [Serializer] Allow null values when denormalizing with constructor missing data
@fabpot fabpot mentioned this pull request Nov 16, 2018
@fabpot fabpot mentioned this pull request Nov 26, 2018
@danut007ro danut007ro deleted the denormalizer_null branch February 14, 2020 15:14
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.

6 participants