-
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
[FEAT] 커피챗 등록 유저들 리스트 조회 API - #435 #448
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.
고생하셨습니다!
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.ActiveUserIds; | ||
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.ActivityCardinalInfo; | ||
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.MainView; | ||
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.MainViewUser; | ||
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.OwnPlaygroundProfile; | ||
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.PlaygroundMain; | ||
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.PlaygroundProfile; | ||
import org.sopt.app.application.playground.dto.PlaygroundProfileInfo.UserActiveInfo; |
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.
P3: 와일드 카드로 묶으면 더 가독성이 좋을 것 같아요
import java.util.Collections; | ||
import java.util.List; | ||
import java.util.Map; |
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.
Q. lombok과 util에서 와일드카드 사용안하시는 이유가 있으실까요?
@@ -166,7 +181,14 @@ public List<EmploymentPostResponse> getPlaygroundEmploymentPost(String accessTok | |||
PlayGroundEmploymentResponse postInfo = playgroundClient.getPlaygroundEmploymentPost(requestHeader,16,10,0); |
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.
P3: 저번 PR에서 놓쳤는데 16, 10, 0이라는 부분이 알아보기 어렵기도 하고 너무 많은 변수를 가지고 있는 것 같아요.
DTO로 묶거나, 필드로 사용해서 이름을 명시하거나 하는게 좋을 것 같다 생각됩니다!
import java.util.List; | ||
|
||
public record PlayGroundCoffeeChatWrapper( | ||
@JsonProperty("coffeeChatList") |
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.
Q. 이거 사용하신 이유가 있나요? 알아서 coffeeChatList로 네이밍 되는 것으로 알아서요!
📝 PR Summary
🌴 Works
🌱 Related Issue
closed #435
🌵 PR 참고사항