-
Notifications
You must be signed in to change notification settings - Fork 0
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
[release]: 중복 survey생성을 막는다 #386
Conversation
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.
지금 멀티 서베이 안되지 않나? 요거 바꾸는 이유를 모르겠음
fba512d
to
7bb89f7
Compare
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.
생성할 때 조회하고 체크하는 로직이 있으면 좋겠음!
6082c77
to
3200ead
Compare
@@ -0,0 +1,8 @@ | |||
package me.nalab.survey.application.exception; | |||
|
|||
public class DuplicateSurveyException extends RuntimeException { |
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.
에러 공통 있으면 그쪽에 제네릭으로 만들어도 될듯?
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.
잘 이해가 안되는데, 좀 더 설명 plz
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.
DuplicationException<Survey>(message)
이런 느낌으로 쓰면 좋겠다?
어떤 기능을 개발했나요?
Survey가 여러개 있을때, 최신 Survey를 반환하도록 수정
어떻게 해결했나요?
참고자료