Open
Description
Not sure if you accept Feature Requests, but I'll make it brief:
Would be nice if the onCreate
, onWrite
, onUpdate
and onDelete
triggers had support for withConverter
:
Example:
firestore
.document(`businesses/{businessId}`)
.withConverter(new BusinessConverter())
.onWrite(async (change, context) => {
const business: Business = change.after.data()
})
Thanks