Skip to content

Trigger support for withConverter #872

Open
@larssn

Description

@larssn

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

ref: googleapis/nodejs-firestore#1449

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions