Closed 806software closed 6 years ago
should we ever be returning false
for any of these methods?
Probably, I guess if something went wrong? For the destroy method, the handlers don't appear to indicate if anything went wrong (well the DB one doesn't actually do anything).
For the write handlers, I guess we should actually return the value from the handler.
Now, it loops through the handlers. Therefore I guess we need to wait to see if we get a false from all. Otherwise if we get at least one true, that's ok?
Admittedly, I was going for the quick win on this one.
Updated write and destroy methods so that an expected boolean is returned.