-
Notifications
You must be signed in to change notification settings - Fork 1
[REFACTOR] 기관 선호 물품 리팩토링 #361
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
Conversation
|
m-a-king
left a comment
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.
수고하셨습니다!
|
|
||
| centerQueryUseCase.validateCenterExists(centerId); | ||
|
|
||
| PreferItem preferItem = requestDto.toEntity(centerId); |
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.
dto.toEntity와 entity.from, entity.of를 구분하는 기준이 있으신가요?
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.
이거 서진님이 작성하신 코드긴한데
저는 RequestDto -> Entity 는 무조건 Dto.toEntity를 사용하고
Entity -> ResponseDto 는 파라미터 개수에 따라 1개 from 2개이상 of를 사용하는 편이긴합니다.
ayoung-dev
left a comment
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.
고생하셨습니다!



resolved :
📌 과제 설명
👩💻 요구 사항과 구현 내용
✅ PR 포인트 & 궁금한 점