<!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/---report-a-bug.md --> ### Related issues <!-- Are there any related firebase-functions issues that you found on this topic before deciding to open a new issue? Please link them here--> ### [REQUIRED] Version info <!-- What versions of the following libraries are you using? Note that your issue may already be fixed in the latest versions. --> **node:** 16.9.0 <!-- Run node --version and print the output here--> **firebase-functions:** 3.15.5 **firebase-tools:** 9.23.1 <!-- Run firebase --version and print the output here--> **firebase-admin:** 9.21.0 ### [REQUIRED] Test case <!-- Provide a minimal, complete, and verifiable example (http://stackoverflow.com/help/mcve) --> ``` const test = functions.firestore .document("testDoc") .onWrite(async (change, context) => { await change.after.ref.set({ testField: undefined }); }); ``` ### [REQUIRED] Steps to reproduce <!-- Provide the steps needed to reproduce the issue given the above test case. --> Put in `index.ts` and make a change to `testDoc`. ### [REQUIRED] Expected behavior <!-- What is the expected behavior? --> There should be a way to set `ignoreUndefinedProperties` to `true` when using functions triggers. ### [REQUIRED] Actual behavior <!-- Please copy and paste any error logs from https://console.firebase.google.com/project/_/functions/logs. If you're experiencing a deployment issue, please copy and paste the entirety of firebase-debug.log --> There doesn't seem to be a way to do this ### Were you able to successfully deploy your functions? <!-- When you ran `firebase deploy`, did you see any error messages? --> yeah it deploys