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

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

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • API, BSON

    Description

      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()".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: