-
Notifications
You must be signed in to change notification settings - Fork 950
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
Add support for deploying new blocking triggers #6384
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #6384 +/- ##
==========================================
- Coverage 54.73% 54.60% -0.13%
==========================================
Files 346 346
Lines 23694 23870 +176
Branches 4872 4932 +60
==========================================
+ Hits 12968 13035 +67
- Misses 9533 9628 +95
- Partials 1193 1207 +14
☔ View full report in Codecov by Sentry. |
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. Should CI be all passed for this repo?
}; | ||
} else { | ||
throw new FirebaseError( | ||
`Received invalid blocking trigger event type ${endpoint.blockingTrigger.eventType}` |
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.
quick question - seems like the error msg will be thrown to customers using firebase CLI, would new error codes and msg needs some sort of approval?
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.
The error message will be wrapped in an error object that will have a code related to a failed deployment.
Can you update this branch with a master rebase? @blidd-google |
* Blocking function SMS --------- Co-authored-by: Brian Li <[email protected]> Co-authored-by: joehan <[email protected]> Co-authored-by: Mathusan Selvarajah <[email protected]>
GCIP now supports two new event types
beforeSendEmail
andbeforeSendSms
. This PR adds support for deploying the new auth blocking function types that are triggered onbeforeSendEmail
andbeforeSendSms
events.