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

mongocxx::read_preference::tags(bsoncxx::document::view_or_value) should take a bsoncxx::array::view_or_value

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 3.7.0
    • None
    • None

    Description

      When reading about the Read Preference Tag Sets, we would expect the following signature :
      read_preference& tags(bsoncxx::array::view_or_value tags);

      In the current form (with a bsoncxx::document::view_or_value), it's unclear what is the correct usage.
      Are we supposed to wrap the array in a document ?

      Attachments

        Activity

          People

            ezra.chung@mongodb.com Ezra Chung
            adrian.blandin@sovo-tech.com Adrian B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: