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] AddEntityValidationListener to allow auto validation on flush#53447

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
HypeMC wants to merge1 commit intosymfony:7.4
base:7.4
Choose a base branch
Loading
fromHypeMC:add-entity-validation-listener

Conversation

HypeMC
Copy link
Member

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

The idea is to have entities get validated automatically through a listener, eg:

#[EnableAutoValidation]class SomeEntity{}$this->entityManager->persist($someEntity);try {$this->entityManager->flush();}catch (EntityValidationFailedException$e) {dump($e);}

I think this could be useful sometimes, so I'd like to hear other people's thoughts.

@HypeMCHypeMCforce-pushed theadd-entity-validation-listener branch fromb5b3c48 tod8b1940CompareJanuary 7, 2024 06:40
@xabbuhxabbuh modified the milestones:7.1,7.2May 15, 2024
@fabpotfabpot modified the milestones:7.2,7.3Nov 20, 2024
@fabpotfabpot modified the milestones:7.3,7.4May 26, 2025
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.

4 participants
@HypeMC@fabpot@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp