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

UserRepositoryをリネームする #2

Open
himanoa opened this issue May 8, 2022 · 1 comment
Open

UserRepositoryをリネームする #2

himanoa opened this issue May 8, 2022 · 1 comment

Comments

@himanoa
Copy link
Member

himanoa commented May 8, 2022

Todo

account-ctx/user-respositoryをaccount-ctx/user-auth-repositoryに変更したい

Context

UserRepositoryはaccount-ctxがauth-ctxだった頃に作られていた概念で、「auth-ctxなのでUserはサインインしかしないよね」という思想で作られた集約です。
が、思考を重ねた結果、auth-ctxはaccount-ctxにrenameされてaccount-ctxではUserはサインイン以外にもプロフィールの更新や作成をおこなうことになったので、主語がでかい名前をリネームしたい

@himanoa
Copy link
Member Author

himanoa commented May 8, 2022

user-auth-repositoryかは諸説ありそう

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

No branches or pull requests

1 participant