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

Skip to content

[Serializer] Fix #[Ignore] on same-name properties <-> methods#62971

Merged
nicolas-grekas merged 1 commit into
symfony:6.4from
nicolas-grekas:ser-fix
Jan 6, 2026
Merged

[Serializer] Fix #[Ignore] on same-name properties <-> methods#62971
nicolas-grekas merged 1 commit into
symfony:6.4from
nicolas-grekas:ser-fix

Conversation

@nicolas-grekas
Copy link
Copy Markdown
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Follows #62838

We should always set the ignore flag when the #[Ignore] attribute is present, regardless of the $accessorOrMutator or $hasProperty flags.

@carsonbot carsonbot added this to the 6.4 milestone Jan 6, 2026
@nicolas-grekas nicolas-grekas merged commit a855e13 into symfony:6.4 Jan 6, 2026
10 of 12 checks passed
@nicolas-grekas nicolas-grekas deleted the ser-fix branch January 6, 2026 15:19
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