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

Fix optional data field for firestore #1370

Merged
merged 2 commits into from Mar 28, 2023

Conversation

colerogers
Copy link
Contributor

@colerogers colerogers commented Mar 27, 2023

Reverts making the event.data field optional for all triggers. The cloud event spec has the data property as optional, but changing it in our sdk would cause a breaking change for ts users. We should only do this for firestore since events can have undefined data if the payload dropped by eventarc (usually b/c the payload was > 10mb).

@colerogers colerogers merged commit 6b38638 into master Mar 28, 2023
15 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.

None yet

3 participants