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.
한주간 수고 많으셨습니다 👍
이번 주 미션은 구현하는데 많은 시간을 사용했네요.
힘든 미션이었던 만큼 남는 것도 많은 시간이었던것 같습니다!
JPA 커밋 보기
고민한 부분
이 초기화 쿼리는 name과 member_id가 없습니다.
그리고 5단계 미션 아래에 조건이 주어집니다.
해당 초기화 쿼리도 이 조건에 성립하도록 하는 방법이 있는지 조사했지만 찾지 못한것 같네요😭
2. JpaRepository에서 제공하는 기본 메서드 (findBy 등)은 기본적으로 Optional을 반환하더라구요. Optional을 사용하게 되면 NullPointerException 대신 NoSuchElementException가 발생하고, 여러 새로운 에러 및 가독성 저하의 문제가 존재합니다. 따라서, 목적없는 Optional을 예방했습니다.오늘 피드백으로 추가적으로 공부해봐야겠네요!