eventual icon indicating copy to clipboard operation
eventual copied to clipboard

Feat: Transactions should be able to run inline in handlers

Open thantos opened this issue 2 years ago • 4 comments

thantos avatar Sep 17 '23 14:09 thantos

100%. Also, no need for them to be lambdas.

sam-goodwin avatar Sep 18 '23 17:09 sam-goodwin

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

sam-goodwin avatar Sep 25 '23 18:09 sam-goodwin

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

thantos avatar Sep 25 '23 18:09 thantos

I agree! I think they should be entirely internal. They don't need to be named, schema'ed or anything. Just a utility.

sam-goodwin avatar Sep 25 '23 18:09 sam-goodwin