Skip to content

Conversation

@benjaminmal
Copy link

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #43563-2
License MIT
Doc PR -

Stop ignoring callbacks in denormalization. #freeTheCallbacks!!!

@carsonbot
Copy link

Hey!

I think @Th3Mouk has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

Copy link
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

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

I'm in favor of deprecating the callbacks and recommending using custom normalizers instead and I would revert the changes made to the PHPDoc for consistency, otherwise +1.

@nicolas-grekas
Copy link
Member

Thank you @benjaminmal.

@nicolas-grekas nicolas-grekas merged commit 7fd9127 into symfony:4.4 Feb 11, 2022
@nicolas-grekas
Copy link
Member

I just found that this is already deprecated and removed from 5.4.

@nicolas-grekas
Copy link
Member

Hum, only setCallbacks() is deprecated, my bad.

@benjaminmal benjaminmal deleted the ticket_43563 branch February 11, 2022 16:19
This was referenced Feb 28, 2022
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.

4 participants