-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Description
Version info
firebase-functions:
v2.0.0
Test case
I upgraded from v1.0.0 to v2.0.0, in my triggers I have the following situation
functions.firestore.document('...').onCreate((snap, context) => {
timestamp in snap.data() is Timestamp
}
functions.firestore.document('...').onUpdate((snap, context) => {
timestamp in change.before.data() and change.after.data() are Date
}
That's ok?
Expected behavior
functions.firestore.document('...').onCreate((snap, context) => {
timestamp in snap.data() is Timestamp
}
functions.firestore.document('...').onUpdate((snap, context) => {
timestamp in change.before.data() and change.after.data() are Timestamp
}
Greetings!
mchyb
Metadata
Metadata
Assignees
Labels
No labels