-
Notifications
You must be signed in to change notification settings - Fork 643
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memberの物理削除対応 #2496
Memberの物理削除対応 #2496
Conversation
6768407
to
75a4afd
Compare
->setRank(0); | ||
|
||
$em->persist($Member); | ||
$em->remove($Member); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
呼び出し元のMemberController#delete
でForeignKeyConstraintViolationException
の対応が必要。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kiy0taka 一応\Exceptionでcatchしているので、ハンドリングは行われるはずですが、厳密にしたほうがよいですか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把握しました。catch問題はまた別で考えましょう。
->setRank(0); | ||
|
||
$em->persist($Member); | ||
$em->remove($Member); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把握しました。catch問題はまた別で考えましょう。
75a4afd
to
cd39c15
Compare
概要(Overview・Refs Issue)
方針(Policy)
テスト(Test)