Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This multi-api indeed seems similar to the sequence function.

If you can try-catch the failure in the external service, you can rollback the transaction with kiss-orm. Actually kiss-orm does not abstract the transaction itself, so you can do whatever you want.

I just realized a flaw in my current implementation, which is that directly using the repository CRUD methods from inside the sequence (rather than a query) function would execute those operations outside the scope of the sequence.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: