1 - Create a collection with attributes A and B, set B as non required with a default value
2 - Create some documents with data value for A and B
3 - Call updateDocuments() to change values of attribute A
4 - Verify that attribute B gets reset to the default value in the updated documents
TL;DR
Issue: Developers are encountering a problem with the bulk update documents API where attribute B, which is set as non-required with a default value, is not resetting to the default value when updating attribute A in the documents.
Solution: Ensure that the updateDocuments() method correctly resets attribute B to its default value when modifying attribute A in the documents.