so due to all my passing around of the singular entity gateway structure I am pretty sure I am hilariously limiting myself to only 1 db transaction at a time like a total moron.
InMemoryGateway and PostgreGateway are both designed to be Clone but due to my PEAK ITEMREFACTOR I had to remove that trait to get transactions to work.
not that this used to be fast. for that to happen I would need to pass a clone of the gateway into the handler functions rather than a reference to the main one.
so due to all my passing around of the singular entity gateway structure I am pretty sure I am hilariously limiting myself to only 1 db transaction at a time like a total moron.
`InMemoryGateway` and `PostgreGateway` are both designed to be `Clone` but due to my PEAK ITEMREFACTOR I had to remove that trait to get transactions to work.
not that this used to be fast. for that to happen I would need to pass a clone of the gateway into the handler functions rather than a reference to the main one.
so due to all my passing around of the singular entity gateway structure I am pretty sure I am hilariously limiting myself to only 1 db transaction at a time like a total moron.
InMemoryGateway
andPostgreGateway
are both designed to beClone
but due to my PEAK ITEMREFACTOR I had to remove that trait to get transactions to work.not that this used to be fast. for that to happen I would need to pass a clone of the gateway into the handler functions rather than a reference to the main one.
closed by #117