Re:Cloud Functions: Go 1.11 is now a supported language
by vira28 on Wednesday January 16, 2019 @04:50PM
(#18925747)
well, if I have onUpdate trigger, which means my function is going to be triggered for every update on the document (even for the fields that I don't care)
You can say that triggering functions shouldn't cost you much, but thats not the way to do right. Correct me if I am wrong.
My use-case is simple. Want to get my CF triggered if the value of a particular field in a doc changes. Thanks.
For what it's worth, if you have an onUpdate trigger on a Firestore database, the event you receive has the before & after state of the change, which would include field-level changes: https://firebase.google.com/docs/functions/firestore-events#...
Is there a specific use-case that this doesn't handle for you?
Note: Work at GCP, not on Functions.