nodejs-firestore
nodejs-firestore copied to clipboard
Not taking care of "Maximum number of field transformations" in BulkWriter
Hi there
According to the doc https://firebase.google.com/docs/firestore/quotas#writes_and_transactions
Maximum number of field transformations that can be performed on a single document in a Commit operation or in a transaction : 500
I couldn't find any code handling this limit in the BulkWriter.
Is this a bug or intended?
I'm not sure I fully understand your question. What is the "bug" you are referring to? Perhaps you could pose your question with "steps to reproduce", the "expected results" and "actual results". Thank you.
Hi @dconeybe will this help? https://stackoverflow.com/questions/70764076/what-is-field-transformations-in-firestore
I see. So, are you asking for details about what constitutes a "transformation"? Or are you asking for BulkWriter to be modified to enforce this limit?
Thanks @dconeybe , I'm asking for BulkWriter to be modified to enforce this limit.
Ok thank you for the clarification. This is likely something that we could add in the future. Unfortunately, we don't have the bandwidth to work on it any time soon. I've added this issue to our product backlog and we will update this issue if/when we have an update. Thank you for taking the time to make this suggestion. It is a good one.
Thanks @dconeybe 🥳🥳🥳