Skip to content
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

[Step1] 리팩터링(상품) #115

Open
wants to merge 6 commits into
base: chae-yh
Choose a base branch
from
Open

Conversation

chae-yh
Copy link

@chae-yh chae-yh commented May 8, 2022

개요

kitchenpos product bounded context의 리펙터링입니다

설명

product 도메인의 필드를 value object로 변경하고 service layer를 얇게 변경하였습니다. 그리고 통신을 위해서 dto(request, response) 를 추가하였습니다.
기존 service layer에 다른 bounded context인 menu 도메인의 hide / display 하는 부분은 제거하였습니다. 해당 부분은 후에 batch 혹은 메시지 처리 등을 이용하여 finally consistency를 유지하는 것으로 충분하다고 생각했습니다.

내용 확인 부탁드립니다. 감사합니다 : )

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.

1 participant