Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[요약]
중복 데이터 방어로직 추가 및 테스트코드 작성
[목적]
[목표]
[목표로 하지 않는 것]
[고려사항]
예: 회원가입시 이미 존재하는 회원은 에러를 반환함
DB 에서 새 회원을 추가할때 에러를 반환할 것인데, 굳이 if문을 추가하여 기존 회원이 존재하는지 체크할 필요가 있는지 의문입니다.
DB에 한 번 더 접근하기때문에 오히려 효율성이 떨어지는 것이 아닌가요?
this resolves #8