Skip to content

Conversation

@samad-yar-khan
Copy link
Contributor

Why do we need this ?

  • We need a new rollback decorator that can handle failed db calls.

Proposed changes

  • initialised _db in all class repo services so they can be passed in rollback
  • Add rollback decorator everywhere and used self._db in all repo services

amoghjalan
amoghjalan previously approved these changes Apr 17, 2024
@samad-yar-khan samad-yar-khan changed the title Add rollback dectrator Add rollback decorator Apr 17, 2024
@shivam-bit shivam-bit merged commit 90c127c into main Apr 17, 2024
@shivam-bit shivam-bit deleted the GROW-1325-1 branch April 17, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants