Skip to content

Conversation

vincentchalamon
Copy link
Contributor

@vincentchalamon vincentchalamon commented Sep 13, 2023

Q A
Branch? 2.7
Tickets N/A
License MIT
Doc PR N/A

Description

Doctrine filters weren't final in 2.6 but were moved to final in 2.7, which is a BC break. This blocks developers to update to 2.7 in case they're extending API Platform Doctrine filters.

If developers cannot update to 2.7, they can't migrate to 3.x.

Solution

Mark those filters as @final in 2.7.

Note: there is no need to backport this fix on 3.0 as those filters are already final.

@vincentchalamon vincentchalamon self-assigned this Sep 13, 2023
@soyuka soyuka merged commit fb8cfef into api-platform:2.7 Sep 13, 2023
@vincentchalamon vincentchalamon deleted the fix/filters-final branch September 13, 2023 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants