Skip to content

[2주차 과제제출]#7

Open
jjinwo0 wants to merge 40 commits intoTODO-List-Study:mainfrom
jjinwo0:week2-jjinwo0
Open

[2주차 과제제출]#7
jjinwo0 wants to merge 40 commits intoTODO-List-Study:mainfrom
jjinwo0:week2-jjinwo0

Conversation

@jjinwo0
Copy link
Collaborator

@jjinwo0 jjinwo0 commented Dec 24, 2023

구현 내용

  • bulk 생성 구현
  • DB 커넥션

변경 사항

  • 봉투패턴 생성 메서드 수정
  • in-memory repository 삭제

비고

  • 요구사항 구현 추가 수정 예정 (12.26)

Copy link
Collaborator

@jhnyuk jhnyuk left a comment

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.

다른 exception들이 BusinessException을 상속받는데 ErrorCode와 메시지를 함께 쓰기 위해서 인가요 ?? 의도가 궁금합니다 ㅎㅎ

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

네 맞습니다!
기존에 사용했던 방식을 그대로 고수하여 사용자 정의 ErrorCode를 활용하고자 상속하는 방식을 사용하고 있습니다!

Copy link
Collaborator

Choose a reason for hiding this comment

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

DTO 잘 작성하셨네요!
현재 코드에선 TodoDto.Request, TodoDto.ChangeStatus, TodoDto.Response가 모두 TodoDto 클래스 내에 정의되어있는데 저는 클래스로 분리해서 사용하고 있습니다
@DaTa를 붙여서 하는 방법도 있었네요 ㅎㅎ 배워갑니다.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

DTO활용은 개인차가 좀 있다보니 제 방식이 조금 생소할수도 있다고 느껴졌는데 좋게 봐주셔서 감사합니다 :)

@DaTa 어노테이션은 @Getter, @Setter, @tostring이 합쳐져있다고만 알고 있어 간단하게 사용하고자 붙였습니다!
@Setter 활용을 좋아하지 않는 분들도 많으셔서 저도 사용하는데 좀 고민이 되는 부분이네요 ㅎㅎ

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.

2 participants