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

feat: extend transactions to cover after and beforeOperation hooks #4960

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

DanRibbens
Copy link
Contributor

Description

This change includes the following improvements:

  • All operations that call beforeOperation begins a transaction before the hooks are called

  • Adds req to the beforeOperation hook args

  • Adds req to the afterOperation hook

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes
  • I have made corresponding changes to the documentation

@denolfe denolfe merged commit 1e8a6b7 into main Feb 2, 2024
30 checks passed
@denolfe denolfe deleted the feat/req-before-operation branch February 2, 2024 19:53
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.

None yet

2 participants