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

Remove builder::list in favor of builder::document and builder::array

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.0, 3.7.0-beta1
    • None
    • None
    • None

    Description

      It's less error-prone to force users to explicitly state whether they expect a document or array as opposed to doing type deduction on their behave. It could also be faster if we forgo the initial check to test whether the given initializer list is a valid document.

      Attachments

        Activity

          People

            clyde.bazile@mongodb.com Clyde Bazile III (Inactive)
            clyde.bazile@mongodb.com Clyde Bazile III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: