Add exception-handling for value-less-than-or-equal-to-zero#114
Add exception-handling for value-less-than-or-equal-to-zero#114McDonnough wants to merge 4 commits intomasterfrom
Conversation
… compensation-endpoint-controller
|
Great @McDonnough! What do you think about changing the spec to accept values equal to zero? @McDonnough & @lroellin It would make an implementation much easier in my view (also ours). |
|
@thde @lroellin Considering this, I propose the following changes to be made [WIP]:
|
|
I agree with you, but we still need to check for negative values. Keep in mind that the web client, which checks this, is not the only consumer of our API. So I would opt to go with a "Value less than zero" approach. |
|
You're absolutely right about the negative values. I totally forgot about that as I was fixed on the zero-situation. I updated my comment above to reflect your input. |
Resolve isssue #113 on the server-side. A corresponding change still has to be implemented in the web client.