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

Validate amount #194

Merged
merged 1 commit into from Feb 24, 2016
Merged

Validate amount #194

merged 1 commit into from Feb 24, 2016

Conversation

gbirke
Copy link
Member

@gbirke gbirke commented Feb 22, 2016

* @license GNU GPL v2+
* @author Gabriel Birke < gabriel.birke@wikimedia.de >
*/
class ValidateAmountUseCase {
Copy link
Contributor

Choose a reason for hiding this comment

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

This usecase is somewhat of an empty partition. What do you think about omitting it in this case, by using the AmountValidator directly in the route?

Copy link
Member Author

Choose a reason for hiding this comment

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

Deviation from the architecture? 😮
I can certainly do that.

Copy link
Contributor

Choose a reason for hiding this comment

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

I actually gave this exact case as an example of where to deviate to Kai... kinda facepalm now at the communication

JeroenDeDauw added a commit that referenced this pull request Feb 24, 2016
@JeroenDeDauw JeroenDeDauw merged commit 46ce1a0 into master Feb 24, 2016
@JeroenDeDauw JeroenDeDauw deleted the validate_amount branch February 24, 2016 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants