Skip to content

[DoctrineBridge] Typehint against doctrine/persistence interfaces #42360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

malarzm
Copy link
Contributor

@malarzm malarzm commented Aug 3, 2021

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets doctrine/DoctrineMongoDBBundle#689
License MIT
Doc PR n/a

symfony/doctrine-bridge@564157d#diff-fcc6368334975000298e4227d2500f909f82280f79ca1d4499a9a5093a594a7dR180 went a bit too aggressive with typehints using signatures from ORM instead of doctrine/persistence breaking ODM's integration.

@carsonbot carsonbot added this to the 5.3 milestone Aug 3, 2021
@carsonbot carsonbot changed the title [BC Break][doctrine-bridge] Typehint against doctrine/persistence interfaces [doctrine-bridge] Typehint against doctrine/persistence interfaces Aug 3, 2021
@malarzm
Copy link
Contributor Author

malarzm commented Aug 3, 2021

Failing test is unrelated with the changes, it's red due to an error during composer install.

@Nyholm Nyholm requested a review from nicolas-grekas August 3, 2021 21:46
@carsonbot carsonbot changed the title [doctrine-bridge] Typehint against doctrine/persistence interfaces [DoctrineBridge] [doctrine-bridge] Typehint against doctrine/persistence interfaces Aug 3, 2021
@Nyholm Nyholm changed the title [DoctrineBridge] [doctrine-bridge] Typehint against doctrine/persistence interfaces [DoctrineBridge] Typehint against doctrine/persistence interfaces Aug 3, 2021
@Nyholm Nyholm removed the BC Break label Aug 3, 2021
@Nyholm
Copy link
Member

Nyholm commented Aug 3, 2021

This is not a BC break as it is just a private method.

@derrabus
Copy link
Member

derrabus commented Aug 4, 2021

Good catch, thanks @malarzm.

@derrabus derrabus merged commit a5fa6e5 into symfony:5.3 Aug 4, 2021
@malarzm malarzm deleted the unique-validator-types branch August 4, 2021 17:48
@fabpot fabpot mentioned this pull request Aug 30, 2021
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