-
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
[ADD] 루틴 추가 중 예전 루틴 체크 로직 추가 #75
Conversation
68ae095
to
f3142f9
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.
수고하셨습니다~! 반영이 몹시 빠르군요 ㄷㄷㄷ 고수고수
return memberDailyRoutineRepository.save(new MemberDailyRoutine(member, routine)); | ||
} | ||
|
||
private MemberDailyRoutine createOldRoutines( |
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.
이전 루틴을 가져온다는 부분에서 create보단 get같은 단어가 더 어울릴 거 같은데 혹시 어떻게 생각하시나요?
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.
저는 뭔가 create는 그대로 하는데 New를 사용하셨으니까 Old -> Prior은 어떠신지? 근데 Prior은 흐음.. 한 번 고민만 해주세요
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.
@csb9427 old로 사용하도록 하겠습니다! 좀 더 직관적이라는 것에 공감이 되었어요-!
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.
@Chan531 찾아보니 복구의 개념에 가까워서 create와 get보다는 re-가 더 직관적인 것 같아요! 가장 직관적으로 생각되는 recreate로 반영하도록 할게요!
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.
역시 천재 개발자 소현 오늘부터 제 목표로 삼겠습니다.
return memberDailyRoutineRepository.save(new MemberDailyRoutine(member, routine)); | ||
} | ||
|
||
private MemberDailyRoutine createOldRoutines( |
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.
저는 뭔가 create는 그대로 하는데 New를 사용하셨으니까 Old -> Prior은 어떠신지? 근데 Prior은 흐음.. 한 번 고민만 해주세요
✨ Related Issue
📝 기능 구현 명세
🐥 추가적인 언급 사항
리팩토링.. 머리 감싸면서 쥐어짜냈는데 더 좋은 코드가 떠오르지 않네용.. 🥺
좀 더 좋은 리팩토링 방식이 있다면.. 훈수 제안 언제나 환영입니다 ㅎㅁㅎ