We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
値オブジェクトの扱いでちょっと悩んでいる。例として BookPage を取り上げる。
skipValidation
BookPageForQuery
BookPageForCommand
The text was updated successfully, but these errors were encountered:
BookPage
No branches or pull requests
値オブジェクトの扱いでちょっと悩んでいる。例として BookPage を取り上げる。
TL;DR
Background
skipValidation
というbool値を入れて検証の有無を切り替えているが、コードが複雑になってしまう。Solution
BookPageForQuery
を新たに作成すべき?BookPageForCommand
を作成すべきだろう。The text was updated successfully, but these errors were encountered: