[ObjectMapper] Fix class-level transformation has wrong source class#60831
Merged
nicolas-grekas merged 1 commit intosymfony:7.3from Jun 19, 2025
Merged
[ObjectMapper] Fix class-level transformation has wrong source class#60831nicolas-grekas merged 1 commit intosymfony:7.3from
nicolas-grekas merged 1 commit intosymfony:7.3from
Conversation
Contributor
mttsch
commented
Jun 19, 2025
| Q | A |
|---|---|
| Branch? | 7.3 |
| Bug fix? | yes |
| New feature? | no |
| Deprecations? | no |
| Issues | Fix #60827 |
| License | MIT |
Contributor
Author
|
Not sure whether the unit test was really necessary, but I added it regardless to test the fix. |
stof
approved these changes
Jun 19, 2025
OskarStark
approved these changes
Jun 19, 2025
alexandre-daubois
approved these changes
Jun 19, 2025
Member
|
Thank you @mttsch. |
Merged
Cafeine42
pushed a commit
to Cafeine42/symfony
that referenced
this pull request
Feb 21, 2026
…transform (mttsch) This PR was merged into the 7.3 branch. Discussion ---------- [ObjectMapper] Fix parameter passed to class level transform | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix symfony#60827 | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 7a3c92f [ObjectMapper] Fix parameter passed to class level transform
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.