Skip to content

Add webhook event filtering support - #625

Merged
Abdulazeem-code merged 1 commit into
Abdulazeem-code:mainfrom
Primex-Tech:feat/webhook-event-filtering
Aug 29, 2026
Merged

Add webhook event filtering support#625
Abdulazeem-code merged 1 commit into
Abdulazeem-code:mainfrom
Primex-Tech:feat/webhook-event-filtering

Conversation

@Primex-Tech

Copy link
Copy Markdown
Contributor

closes #614

What changed:

Added events to the Webhook model as a String[] with default ["*"] for backward compatibility.
Registration now accepts an optional events array and stores it.
Delivery logic now checks each webhook’s subscribed event list before sending.
Default behavior remains “all events” when no filter is specified.
Added tests covering the subscribed vs unsubscribed delivery behavior.
Validation status:

I attempted to run the focused Jest coverage, but this environment does not currently have Node/npm available on PATH, so runtime tests could not be executed here.

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@Primex-Tech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

@akinolavictor419-sketch is attempting to deploy a commit to the Abdulazeem's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Abdulazeem-code
Abdulazeem-code merged commit 5b156fc into Abdulazeem-code:main Aug 29, 2026
8 of 10 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.

Implement webhook event types and filtering

3 participants