-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 ability to set channels during trigger #5541
Conversation
if ( | ||
subscriber && | ||
!subscriberNeedUpdate(subscriber, subscriberPayload) && | ||
!subscriberPayload.channels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't entirely like this, but this is for now until we have a better diff logic happening here
✅ Deploy Preview for novu-design ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for dev-web-novu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
</envs> | ||
<ui /> | ||
<extra-mocha-options>--timeout 30000 --require ts-node/register --exit --file e2e/setup.ts</extra-mocha-options> | ||
<extra-mocha-options>--require ts-node/register --exit --file e2e/setup.ts</extra-mocha-options> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder what is the default timeout, it does not exist it would be better to have it defined here
* feat: add ability to set channels during trigger * fix: tests * fix: remove duplicate check for subscriber needs update
What changed? Why was the change needed?
We already support creating a subscriber during trigger, this change allows creating it with the channels object for push and chat channels similarly to how ew allow doing that with email and phone today.
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer