eventual
eventual copied to clipboard
Feat: Transactions should be able to run inline in handlers
100%. Also, no need for them to be lambdas.
We need to make a decision: will transactions still be allowed to called directly over the API gateway? If so, we need to support middleware and zod schemas for auth and validation
I think it's be better if allow transactions to be run inline in non workflow handlers. Then wrap it in a command. Maybe add command.transaction
I agree! I think they should be entirely internal. They don't need to be named, schema'ed or anything. Just a utility.