Skip to content
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

Split Orders Submit Service #398

Merged

Conversation

marlena-b
Copy link
Collaborator

Issue: #394

Before there was one SubmitService that handled order submissions from both the client and admin sides. Now there are two separate SubmitServices - one dedicated to handling order submissions from the client side and another for the admin side.

if unavailable_products.any?
raise OrderHasUnavailableProducts.new(unavailable_products)
end
true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get rid of this return value.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done :)

@andrzejkrzywda andrzejkrzywda merged commit dc58697 into change-result-pattern-to-exceptions Sep 17, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants