Skip to content

Comments

[ObjectMapper] Document transform usage on the target class#22020

Open
lacatoire wants to merge 1 commit intosymfony:7.4from
lacatoire:docs/object-mapper-target-transform
Open

[ObjectMapper] Document transform usage on the target class#22020
lacatoire wants to merge 1 commit intosymfony:7.4from
lacatoire:docs/object-mapper-target-transform

Conversation

@lacatoire
Copy link
Contributor

@lacatoire lacatoire commented Feb 19, 2026

This PR documents how to use the transform option on the target class when using source-based mapping (#[Map(source: ...)]).

Closes #21156

@carsonbot
Copy link
Collaborator

Hey!

Oh no, it looks like you have made this PR towards a branch that is not maintained anymore. :/
Could you update the PR base branch to target one of these branches instead? 6.4, 7.4, 8.0, 8.1.

Cheers!

Carsonbot

@carsonbot carsonbot added this to the 7.3 milestone Feb 19, 2026
Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

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

Please add versionadded directive

@OskarStark OskarStark modified the milestones: 7.3, 7.4 Feb 20, 2026
@OskarStark
Copy link
Contributor

Please change target branch to 7.4, if a feature (like this one) was introduced in 7.3. We don't maintain the code, nor the docs of 7.3 anymore. That said, the version added should always be the correct one, like 7.3 here. Thank you

@lacatoire lacatoire changed the base branch from 7.3 to 7.4 February 20, 2026 11:34
@lacatoire lacatoire force-pushed the docs/object-mapper-target-transform branch from 148db16 to 7f1447e Compare February 20, 2026 11:49
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.

[ObjectMapper] More details on transform: in target class

3 participants