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.
📌 관련 이슈
✨ 과제 내용
1. 댓글 작성
2. 댓글 수정, 삭제
3. 댓글 조회
📸 스크린샷(선택)
1. 댓글 작성
2. 댓글 수정
3. 댓글 삭제
4. 댓글 조회
📚 레퍼런스 (또는 새로 알게 된 내용) 혹은 궁금한 사항들
앞서 blog 게시글에 대한 CRUD를 구현할 때는 path variable이 있을 때와 없을 때로 url과 기능을 구분했는데, 댓글을 구현하다보니 blog와 comment 모델에 대한 pk가 둘 다 path variable로 필요한 경우가 있더라구요..!
심지어 둘다 int라 우선 path variable의 위치를 바꿔서 기능하도록 했는데, 보통.. 이렇게 해도 되나요..?? 혹시 더 나은 다른 방법이 있는지 궁금합니다!