BREAKING CHANGE: This patch changes the transactional interface to improve transactional isolation across all handlers. Instead of begin/commit/rollback being called within the handler, we now use MaybeTransaction which (a) can start a new transaction or (b) use the already existing transaction.
The callback style makes the code significantly more readable and it is easier to handle issues such as panics. See the godoc for more information on the implementation.
BREAKING CHANGE: This patch changes the transactional interface to improve transactional isolation across all handlers. Instead of begin/commit/rollback being called within the handler, we now use
MaybeTransaction
which (a) can start a new transaction or (b) use the already existing transaction.The callback style makes the code significantly more readable and it is easier to handle issues such as panics. See the godoc for more information on the implementation.