-
Notifications
You must be signed in to change notification settings - Fork 207
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
[Step3] 수강신청(DB 적용) #132
[Step3] 수강신청(DB 적용) #132
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.
3단계 미션 진행하느라 고생하셨어요
JdbcTemplate 때문에 고민한 흔적이 여기저기 보이네요;;
일단 커밋이 많이 보이는건.. 이전 단계 커밋도 PR에 추가된거 같네요. 그 외에도 기능 단위로 묶어서 커밋하거나 (누락된 코드 커밋 등), 리팩토링 커밋들 제외하면 3단계 미션을 위한 커밋은 그리 많지는 않은걸로 보여요.
3단계 미션은 도메인 객체를 깨트리지 않으며 디비와 매핑하는게 주요 요구사항이에요.
이 부분은 충실히 수행하신거 같아요. infrastructure layer에 너무 힘 안쓰셔도 될거 같네요 ㅎ
(JPA나 mybatis와 같은 기술보다는 침투력이 적어 사용했던 거라, jdbcTemplate 쿼리 성능이나 구조가 본질은 아니었어요. 욕심이 있으시다면, 현재 반복적으로 발생하는 코드를 한번 더 wrapping할 수는 없을지 고민해보는 것도 좋겠네요. 그 코드가 발전해가면 query mapper와 유사한 형태가 되어가는걸 볼 수 있을거에요)
미션에서 요구하는 부분은 충분히 달성한 것으로 보여 여기서 머지할게요~
좋은 밤 보내세요~
src/main/java/nextstep/courses/infrastructure/JdbcSessionRepository.java
Show resolved
Hide resolved
} | ||
|
||
private void validateImageUrl(String imageUrl) { | ||
if(imageUrl==null || imageUrl.isBlank()) { |
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.
if(imageUrl==null || imageUrl.isBlank()) { | |
if (imageUrl == null || imageUrl.isBlank()) { |
- code format 은 습관화하셔요~
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.
넵! 습관화하겠습니다!
@brainbackdoor 넵 리뷰 감사합니다! 다음 스텝 에서 이번 코드리뷰사항까지 반영해서 PR 올리겠습니다!! 즐거운 한주 되시기 바라겠습니다! |
안녕하세요 리뷰어님 [Step3] 수강신청(DB 적용) PR 올립니다!
비기능적 요구사항
기능적 요구사항
이외 추가사항
마지막으로 질문 ✋🏻 하나 있습니다!