Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Validator] UniqueEntity - add warning about not supported types and association mappings.#21480

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:6.4fromwkania:patch-37
Oct 8, 2025

Conversation

wkania
Copy link
Contributor

This constraint does not support Doctrine types such assimple_array,json, orjsonb, 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 previousPR closed itself due to an incorrect empty rebase, sorry.

@wkaniawkania requested a review fromxabbuh as acode ownerOctober 7, 2025 22:11
@carsonbotcarsonbot added this to the6.4 milestoneOct 7, 2025
@javiereguiluzjaviereguiluz merged commit9bef9d5 intosymfony:6.4Oct 8, 2025
3 checks passed
@javiereguiluz
Copy link
Member

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

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

3 participants
@wkania@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp