-
Notifications
You must be signed in to change notification settings - Fork 977
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
Container contract updates #4388
Conversation
Partial revert of #4240 where we transformed EventFilters to list of arrays. We now prefer to keep the object structure. To support path-pattern operator on event filters, we add new eventFilterPathPattern property. Also adds channel property to event trigger definition.
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.
couple things, then we're g2g
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.
Woof. Lots of work all over again. TY for this.
@@ -48,7 +48,7 @@ export interface CallableTriggered { | |||
callableTrigger: CallableTrigger; | |||
} | |||
|
|||
type EventFilterKey = "resource" | "topic" | "bucket" | string; | |||
type EventFilterKey = "resource" | "topic" | "bucket" | "alerttype" | string; |
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 if it's silly to keep this type.
@@ -485,6 +477,9 @@ export function functionFromEndpoint(endpoint: backend.Endpoint, source: Storage | |||
return gcfFunction; | |||
} | |||
|
|||
/** | |||
* |
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.
wat
Partial revert of #4240 where we transformed EventFilters to list of arrays. We now prefer to keep the object structure.
To support path-pattern operator on event filters, we add new eventFilterPathPattern property. While we are at it, we also adds channel property to event trigger definition.
Note that most of the affected changes are in test files :/
Relevant SDK change: firebase/firebase-functions#1070