Skip to content

객체지향적인 파라미터 구조 - DTO 또는 객체로 캡슐화 #18

@Goder-0

Description

@Goder-0

작업 내용

  • 메서드의 파라미터가 너무 많거나, 관련된 데이터들이 개별 파라미터로 흩어져 전달되고 있습니다.
  • 파라미터를 하나의 DTO나 객체로 묶어 응집력 있고 객체지향적인 방식으로 개선이 필요합니다.

작업 예시

  • 4개 이상의 파라미터 → Request DTO로 묶기
  • 도메인 객체나 커맨드 객체로 캡슐화

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions