Skip to content

Conversation

@7zrv
Copy link
Collaborator

@7zrv 7zrv commented Dec 2, 2024

📌 과제 설명

기관의 선호물품 등록 엔드포인트 구현입니다.

👩‍💻 요구 사항과 구현 내용

  • 컨트롤러 구현
  • 기관 권한 설정에 따른 요청 Dto 수정
  • 요청 Dto 변화에 따른 서비스 레이어 파라미터 값 수정
  • 테스트 코드 작성및 검증 완료

✅ PR 포인트 & 궁금한 점

@7zrv 7zrv self-assigned this Dec 2, 2024
@7zrv 7zrv linked an issue Dec 2, 2024 that may be closed by this pull request
2 tasks
Copy link
Collaborator

@leebs0521 leebs0521 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다.

Long id,
UUID centerId,
String itemName
) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

스웨거 적용 하면 좋을 것 같아요

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저는 여태 등록의 경우에는 id만 반환해줬는데 선호물품아이디, 기관아이디, 아이템이름을 보내주는 이유가 있을까요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

피그마를 보고 넣어줬습니다 물품 추가, 삭제시 바로바로 웹페이지에 적용이 되는데
정합성을 유지하려면 필드를 넣어줘야할 것 같았습니다!
프론트가 구현 방식에 따라 다시 바뀔수도 있습니다

// verify
verify(createPreferItemUseCase).createPreferItem(userId, requestDto);
}
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

개행 추가 부탁드립니다

Copy link
Collaborator

@m-a-king m-a-king left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

컨트롤러 테스트 잘 봤습니다! 어떤 느낌인지 점점 알 것 같아요. 수고하셨습니다!

7zrv added 3 commits December 2, 2024 15:44
- 컨트롤러 구현
- 기관 권한 설정에 따른 요청 Dto 수정
- 요청 Dto 변화에 따른 서비스 레이어 파라미터 값 수정
- 테스트 코드 작성및 검증 완
- 도메인 관점의 설명으로 변경
- 응답 객체에 swagger 스키마 적용
- 개행 추
@7zrv 7zrv force-pushed the feature/107-add-preferitem-end-point branch from e9762d1 to a2d0845 Compare December 2, 2024 06:44
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 2, 2024

@7zrv 7zrv merged commit 3a1caba into main Dec 2, 2024
2 checks passed
@7zrv 7zrv deleted the feature/107-add-preferitem-end-point branch December 2, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]선호물품 추가 기능 엔드 포인트 구현

5 participants