-
Notifications
You must be signed in to change notification settings - Fork 3
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
[FEAT] Feat/group service add #73
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.
코멘트 확인해줘!!
@@ -111,4 +113,17 @@ public GroupInfoResponse inviteGroup(InviteGroupRequest inviteGroupRequest) { | |||
public GroupInfoResponse getGroupInfoResponse(Group group) { | |||
return groupMapper.toGroupInfo(group); | |||
} | |||
|
|||
@Transactional |
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.
readOnly = true 해야하지 않나 싶음!
Member loginMember = authService.getMemberByJwt(); | ||
|
||
for (GroupMember groupMember : loginMember.getGroupMembers()) { | ||
responses.add(groupMapper.toGroupInfo(groupMember.getGroup())); |
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.
이러면 group이 중복된 경우 어떻게 돼..?
그리고 뭔가 dto 조합하는 과정 전체가 mapper에 있어도 좋을듯!
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.
그리고 stream 쓰는건 어떻게 생각해? 한 줄로 깔끔하게 나올 것 같음
0b01514
to
a2aa4d0
Compare
추가/수정한 기능 설명
특이사항
check list