RailsEventStore / ecommerce

Application with CQRS and Event Sourcing built on Rails and Rails Event Store
MIT License
425 stars 72 forks source link

Missing BE validation when supplying a product #373

Closed marlena-b closed 3 months ago

marlena-b commented 3 months ago

An error occurs when the "Supply" form is sent without entering a quantity or if the quantity is set to 0 (after removing the min: 1 validation on frontend). We need to validate the data correctness also on the backend side.