問題タブ [command-query-separation]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
51 問題
0
投票する
2
に答える
50
参照
c# - 同じコントローラーアクションでクエリとコマンドを使用することを許可しない CQRS のルールはありますか?
例: アイテムを削除したい、またはコントローラー アクションから存在しない場合は 404 を返したい。私は規則を破っていますか?コマンドは引き続きクエリから分離されています。