You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
1️⃣ 도메인 Validation 관련 구현 계층 질문
저희 도메인 로직에서 실시하는 Validation 은 UseCase에서 하도록 정할까요 아니면 Service 계층에서 할까요
위에는 도메인 Validation 예이고 Service 계층에서 정의한 예입니다.
지금 mereg 된 코드를 보면 일관성이 없긴한데, 일관성 있이 Validation을 어느 계층에서 하자를 정할지 아니면 지금처럼 일관되지 않게 할지 질문드리고 싶습니다
만약 계층을 정한다면 어디 계층으로 할지 말해주시면 좋을거 같습니다
Beta Was this translation helpful? Give feedback.
All reactions