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
project.idやuser.roleはスキーマにおいてデフォルト値が入るように設定されているが、これらのフィールドはentityにおいて初期化されており、実質的にはDB側のデフォルト値が使われることはない。 現在の実装ではCRUDのすべてにおいて同じentityのモデルを使用しているが、command/queryぐらいの粒度にモデルを分割することで重複を防げるものと思われる。
project.id
user.role
The text was updated successfully, but these errors were encountered:
ドメイン層で生成するパターンを「早期生成」、インフラストラクチャ層で生成するパターンを「遅延生成」と呼称する場合があるらしい
Sorry, something went wrong.
No branches or pull requests
project.id
やuser.role
はスキーマにおいてデフォルト値が入るように設定されているが、これらのフィールドはentityにおいて初期化されており、実質的にはDB側のデフォルト値が使われることはない。現在の実装ではCRUDのすべてにおいて同じentityのモデルを使用しているが、command/queryぐらいの粒度にモデルを分割することで重複を防げるものと思われる。
The text was updated successfully, but these errors were encountered: