Refactor ActionHelper and ActionMessage to expect success boolean explicitely #377
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#377
Loading…
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