vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
149 stars 53 forks source link

Fix transaction rollback with top-level throw #90

Closed clayellis closed 4 years ago

clayellis commented 6 years ago

Adds a catchFlatMap to rollback transaction when the transaction closure throws an error (#90, fixes #89).

clayellis commented 6 years ago

Done 👍

tanner0101 commented 4 years ago

Sorry this one fell through the cracks x_x. It is now available in https://github.com/vapor/fluent-postgres-driver/releases/tag/1.0.1.