-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
C Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Proposal
Add API to the bson_array_builder for more feature parity with the bson_append API. Add macros that compute the string length:
- BSON_ARRAY_BUILDER_APPEND_UTF8
- BSON_ARRAY_BUILDER_APPEND_SYMBOL
Background & Motivaiton
CDRIVER-6180 plans to deprecate unsafe API to build arrays. Adding helpers to the bson_array_builder_t may ease migration. For example, the BSON_APPEND_UTF8 macro allows excluding the length argument. The bson_array_builder_append_utf8 has no analogous macro.
- is related to
-
CDRIVER-6180 Deprecate bson_append_array_begin
-
- Backlog
-