-
Notifications
You must be signed in to change notification settings - Fork 72
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
make future prices editable #220
Comments
My idea how to achieve it:
Alternatively, we would need to edit the whole There is also one issue with the |
Thanks for communicating the ideas! They made me think about the current design. I think we can get rid of the pricing calendar. If we allow adding products to offer with the price, we don't need the prices info anymore. If price is passed as part of the command things get simpler. I think it's fair to assume that adding a product to an offer requires a price. What would be the point of offering a product without a price? Where can we get the price from? So, at the controller level when we initialize the command we grab the price too. This could fix a bug which we probably have now - if the price changes after the offer was created, the offer price would change too, right? What do you think? |
Thank you for you answer, Andrzej. I don't fully understand what you're proposing.
We already do have the price attribute on the the
But the read model on the Public Offer is showing the current price, not the future one. In the issue we're talking about making the future price editable.
Which controller and which command do you mean? |
next step of issue: #190
The text was updated successfully, but these errors were encountered: