I would like to trigger a cloud function only when a particular field of a firestore document is updated. I don't want to trigger it every time the document is updated regardless which field. Is it possible?
For example:
exports.onAvatarUpdated = functions.firestore.document('users/{userId}/avatarUrl')
.onUpdate(change => {
// do something here
});