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

[DoctrineBridge] Fix UniqueEntityValidator for fields (simple_array, json, ONE_TO_MANY ,MANY_TO_MANY)#61129

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

Open
wkania wants to merge1 commit intosymfony:7.4
base:7.4
Choose a base branch
Loading
fromwkania:unique-entity-all-types

Conversation

wkania
Copy link
Contributor

QA
Branch?7.4
Bug fix?yes
New feature?no
Deprecations?no
Issues
LicenseMIT

Currently, the validator does not work with fields of typesimple_array,json, or with associations likeONE_TO_MANY andMANY_TO_MANY.
In such cases, a custom repository method must be defined - the defaultfindBy method cannot handle these field types.

This PR adds an explicit error when no such method is provided.

Is this a deprecation? Not really - it's unlikely anyone was using this with unsupported fields, and if they were, it wasn’t working anyway.

@wkaniawkaniaforce-pushed theunique-entity-all-types branch from93b2d73 to761df8dCompareJuly 15, 2025 16:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
7.4
Development

Successfully merging this pull request may close these issues.

2 participants
@wkania@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp