Skip to content

Conversation

@KyunghwanChoi
Copy link
Contributor

@KyunghwanChoi KyunghwanChoi commented Jan 9, 2025

개요

PR 유형

어떤 변경 사항이 있나요?

  • 새로운 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 코드에 영향을 주지 않는 변경사항(오타 수정, 탭 사이즈 변경, 변수명 변경)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제

PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했습니다.
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트).

📣 To Reviewers

@KyunghwanChoi KyunghwanChoi added feat New feature or request 환이 labels Jan 9, 2025
@KyunghwanChoi KyunghwanChoi self-assigned this Jan 9, 2025
@KyunghwanChoi KyunghwanChoi linked an issue Jan 9, 2025 that may be closed by this pull request
3 tasks
@Getter
public static class DecisionRequestDTO{ // 특정 청첩장의 참석의사 조회 요청 DTO
@NotBlank(message = "청첩장 아이디는 필수입니다.")
private final String invitationId;
Copy link
Member

Choose a reason for hiding this comment

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

invitationId Long 타입 아닌가용??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

수정하겠습니다!

Copy link
Member

Choose a reason for hiding this comment

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

방명록 조회할 때, 명세서에 pathvalue로 invitationId 받는 걸로 되어 있는데 requestDTO도 필요한가요??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

제가 혼동한 부분이 있는 것 같습니다! 해당 부분 수정하겠습니다

Copy link
Member

Choose a reason for hiding this comment

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

이것도 pathvalue로 받는데 requestDTO 필요한지 궁금합니다!!

Copy link
Member

@dyk-im dyk-im 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
Contributor

@dogsub dogsub left a comment

Choose a reason for hiding this comment

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

동구와 위즈의 피드백이 훌륭해서 저는 더 말할 것이 없군요

.content(comment.getContent())
.build();
}
}
Copy link
Member

Choose a reason for hiding this comment

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

requestDto는 서버에서 만드는 것이 아닌 프론트에서 변수명을 맞추어 보내는 형식이라 빌더 패턴과 참조 메서드 from 없이 getter, 매개변수 없는 생성자만 설정하면 된다고 합니다!!

.phoneNumber(decision.getPhoneNumber())
.addPerson(decision.getAddPerson())
.build();
}
Copy link
Member

Choose a reason for hiding this comment

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

여기도 마찬가지로 빌더와 참조 메서드는 없어도 될 듯 싶습니당

Copy link
Member

@dyk-im dyk-im left a comment

Choose a reason for hiding this comment

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

고생하셨습니다! 제가 요구한 부분 모두 수정되어 승인했습니다! RequestDto 들만 수정해주시면 감사하겠습니다!

Copy link
Member

@wiz0208 wiz0208 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다~~

@KyunghwanChoi KyunghwanChoi merged commit c417ab5 into develop Jan 11, 2025
2 checks passed
@dyk-im dyk-im deleted the feat/#9-BankAccountDTO-CommentDTO-DecisionDTO-구현 branch January 18, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature or request 환이

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] BankAccountsDTO, CommentDTO, DecisionDTO 구현

5 participants