Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Oct 30, 2025

This method is not used by Doctrine ORM or MongoDB ODM.

According to doctrine/orm#12174, updating class metadata directly can lead to unexpected side effects.

Implementations can still have this method or other way to alter the class metadata, mainly for testing purposes, but this should not be exposed by the interface.

@GromNaN GromNaN force-pushed the deprecate-setMetadataFor branch 2 times, most recently from 24e1600 to 11c76c8 Compare October 30, 2025 15:34
SenseException
SenseException previously approved these changes Oct 31, 2025
@greg0ire
Copy link
Member

greg0ire commented Nov 2, 2025

Please rebase

@greg0ire greg0ire added this to the 4.2.0 milestone Nov 3, 2025
@greg0ire greg0ire merged commit ae937ca into doctrine:4.2.x Nov 3, 2025
11 checks passed
@greg0ire
Copy link
Member

greg0ire commented Nov 3, 2025

Thanks @GromNaN !

@GromNaN GromNaN deleted the deprecate-setMetadataFor branch November 3, 2025 08:29
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.

3 participants