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: add support for beforeNotify and beforeEvent handlers #222

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

subzero10
Copy link
Member

@subzero10 subzero10 commented Dec 29, 2024

Status

READY

Description

Closes: #220
Closes: #221

Adds support for beforeEvent and beforeNotify handlers.
If any handler returns false, execution will stop (i.e. notice won't be sent, or insights event won't be sent).
The actual payload can be modified.

Todos

@subzero10 subzero10 self-assigned this Dec 29, 2024
@subzero10 subzero10 changed the title feat: add support for beforeNotify and beforeInsightsEvent handlers feat: add support for beforeNotify and beforeEvent handlers Jan 4, 2025
@subzero10 subzero10 requested a review from stympy January 4, 2025 10:58
@stympy
Copy link
Member

stympy commented Jan 4, 2025

Looks good!

@subzero10 subzero10 merged commit 534634c into master Jan 7, 2025
22 checks passed
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.

Add support for before_event listeners Add support for before_notify listeners
2 participants