-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat; 멤버 가입(등록) API 작성하기 #29
Conversation
interface MemberUseCase { | ||
data class CreateCommand( | ||
val fullName: String, | ||
val profileImageId: ImageId?, | ||
val platform: MemberPlatform, | ||
val ordinal: Int, | ||
val gender: MemberGender, | ||
) | ||
|
||
fun create(command: CreateCommand): MemberId | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
유즈케이스랑 서비스랑 메소드랑 코맨드 모델이 아예 똑같아서,, 유즈케이스라는 레이어가 하나 더 있는게 불필요하게 느껴지더라구요?
그래서 바로 컨트롤러에서 서비스 호출해도 되도록하면 어떨지 여러분들 의견도 궁금합니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아까 저도 이것과 관련하여 얘기를 해봤는데, API와 통신하는 것 UseCase만을 사용하도록 했던 것 같아요~~
3dd2002
to
5bf42ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
먼저 merge 하고 추후 수정사항은 후속 PR 에서 진행합니다.
[add] pr template
작업 내용
비고 (첨부자료)