Priority: Major - P3
Affects Version/s: None
Fix Version/s: 1.0.0-rc1
As described in
CDRIVER-2829, we cannot use bson_copy_to_excluding in its current form because we can't call variadic C functions from Swift. CDRIVER-2829 will allow us to use a va_list (which we can create from Swift) to supply the variable-length list of fields to exclude.
We will be able to use this in three places to optimize performance when we remove elements from documents, noted by TODOS:
doing this will require dropping libmongoc < 1.14.