Skip to content

Database Commits on Error Responses #19

Description

@kasimlyee
Image

Problem:

  • Commits database changes even when handler returns 400, 403, 404, 500, etc.
  • Partial data modifications during validation failures get committed
    Example: User creation fails validation but email is already marked as "taken"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions