|
|
|
|
|
by amitaibu
1687 days ago
|
|
I tried to keep the code simple, so yeah - it was on the expense of making it more "right". In this case I wouldn't call the command send the mail unless status was explicitly Accepted or Rejected. But as notes above, the important part is that the compiler doesn't let me forget about all the possible cases (e.g. `Queue` in this example). |
|