Skip to content

Conversation

wkania
Copy link
Contributor

@wkania wkania commented Oct 7, 2025

This constraint does not support Doctrine types such as simple_array, json, or jsonb, nor does it handle association mappings like One-To-Many and Many-To-Many relationships. It may also not work correctly with custom Doctrine types. To perform uniqueness checks on such fields, you must define a custom repositoryMethod that implements the desired logic.

The previous PR closed itself due to an incorrect empty rebase, sorry.

@wkania wkania requested a review from xabbuh as a code owner October 7, 2025 22:11
@carsonbot carsonbot added this to the 6.4 milestone Oct 7, 2025
@javiereguiluz javiereguiluz merged commit 9bef9d5 into symfony:6.4 Oct 8, 2025
3 checks passed
@javiereguiluz
Copy link
Member

Indeed, this looks very important to mention it. Thanks @wkania.

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