-
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
♻️ change version of user comment list #433
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.
수고했습니다. 확인했습니다 👍
@GetMapping("/mine") | ||
public List<CommentOfUserResponse> readCommentsOfMe(@LoginUser UserInfo userInfo) { | ||
return commentService.readCommentsOfUser(userInfo); | ||
@GetMapping(value = "/mine", produces = "application/vnd.pengcook.v1+json") |
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.
이건 리뷰 보다는 생각해볼만한 거리인것 같은데 추후에도 계속 모든 메서드에 버전이 추가되면 항상 produces = "application/vnd.pengcook.v1+json
이 반복되게 될것 같아 나중에 불편하지 않을까 생각이 들었어요. 다음 회의때 같이 고민해보면 좋지 않을까 생각합니다.
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.
👍👍
유저의 댓글 리스트를 확인하는 request의 헤더에 버전을 추가했습니다!