Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1156

Provide more user-friendly constructor or factory function for builder::core

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: API, BSON
    • Labels:

      The builder::core constructor currently takes a required boolean parameter. To improve readability of code which constructs builder::core objects, we should deprecate the existing constructor and either:

      • Provide a new constructor which takes an enumerated type parameter.
      • Provide static factory methods "builder::core::make_document()" and "builder::core::make_document()".

            Assignee:
            Unassigned Unassigned
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: