Remove state from (most) action callbacks #5
Reference in New Issue
Block a user
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?
For most action callbacks the data reported in the state parameter should also be accessible though the device itself, e.g. on(). Instead of having all of this duplicate data we should just access it though the device.
One exception might be the battery state as that is not something we (currently) store and probably won't store either.
One potential issue though would maybe be the data changing during the callback? Not sure if that would really lead to issues though.