Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction rollback without error #295

Open
tanner0101 opened this issue Apr 25, 2018 · 0 comments
Open

Transaction rollback without error #295

tanner0101 opened this issue Apr 25, 2018 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@tanner0101
Copy link
Member

Currently it is not possible to rollback a transaction without throwing an error.

This could be improved:

Error should cause rollback, but rollback should not cause error

enum TransactionOutcome { case commit, rollback }
@tanner0101 tanner0101 transferred this issue from vapor/fluent May 29, 2020
@tanner0101 tanner0101 changed the title transaction rollback without error Transaction rollback without error May 29, 2020
@tanner0101 tanner0101 added the enhancement New feature or request label May 29, 2020
@tanner0101 tanner0101 moved this from To Do to Backlog in Vapor 4 May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Vapor 4
  
Backlog
Development

No branches or pull requests

1 participant