-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Command/Query Separation for ROM::Commands #606
Comments
@solnic you were saying that you regret adding |
@abrthel oh we definitely do not want to add another option for |
@solnic how would you envision configuring if results are returned or not? I imagine, you'd want to be able to do something like: but what would you call the option? |
So, been thinking about this and realized it's something we want to do in rom 5.0 / rom-sql 3.0. |
@solnic Did something to fix this behavior make it into rom 5.0 / rom-sql 3.0? I'd like to avoid an additional |
@paddor no, but it's very likely it'll be addressed in rom 6.0.0 and rom-sql 4.0 |
I allowed myself to move this issue to the rom repository, because it's going to be a core feature and it will Just Work™ in rom-sql. This is now scheduled for |
According to CQS principle:
With that in mind I would like to see a refactor of the following with at least an option for a commands not to perform additional database query in order to return the updated state (especially since we usually know what state is expected to be a result of the execution in advance):
The text was updated successfully, but these errors were encountered: