Refactor ActionHelper and ActionMessage to expect success boolean explicitely #377
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now the ActionHelper finish function looks like this:
I think it would be better if it looks like this
This is because the underlying completion reply implementation looks like this
So whether finish is successfull or not is implicitely defined by the returnvalue, which is not good in my opinion. The developer should be forced to determine whether their returnvalues are equal to a completion success or failure. I think this would be better:
REfactor ActionHelper and ActionMessage to expect success boolean explicitelyto Refactor ActionHelper and ActionMessage to expect success boolean explicitelyWas merged with #378