Skip to content

[web-32] 인증 DTO 코딩 컨벤션 리팩토링#13

Merged
Chunwol merged 1 commit into
developfrom
refactor/web-32
May 21, 2026
Merged

[web-32] 인증 DTO 코딩 컨벤션 리팩토링#13
Chunwol merged 1 commit into
developfrom
refactor/web-32

Conversation

@Chunwol
Copy link
Copy Markdown
Member

@Chunwol Chunwol commented May 20, 2026

개요

기존 인증 관련 DTO가 코딩 컨벤션을 위반하고 있어 리팩토링합니다.

변경 사항

  • LoginRequest (record) → LoginRequestDto (Lombok 클래스)
  • TokenRequest (record) → TokenRequestDto (Lombok 클래스)
  • LoginResponse (record) → LoginResponseDto (Lombok 클래스)
  • 팩토리 메서드 of()from()
  • AuthController, AdminAuthService 수동 생성자 → @RequiredArgsConstructor

컨벤션 적용 기준

  • DTO 클래스명은 *RequestDto / *ResponseDto 접미사
  • Java record 사용 금지, Lombok 어노테이션 사용
  • 생성자 주입 시 @RequiredArgsConstructor 사용
  • 응답 DTO 팩토리 메서드는 from() 사용

@Chunwol Chunwol requested a review from chldPDms May 20, 2026 09:25
@Chunwol Chunwol self-assigned this May 20, 2026
@Chunwol Chunwol force-pushed the refactor/web-32 branch from 1c80ff1 to 2b04c6e Compare May 20, 2026 10:33
@Chunwol Chunwol requested a review from marianddi May 20, 2026 10:38
Copy link
Copy Markdown
Contributor

@chldPDms chldPDms left a comment

Choose a reason for hiding this comment

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

머지해 주세용

@Chunwol Chunwol merged commit ccec036 into develop May 21, 2026
Chunwol added a commit that referenced this pull request May 24, 2026
[web-32] 인증 DTO 코딩 컨벤션 리팩토링
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants