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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.7.0
    • Affects Version/s: None
    • Component/s: None

      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 ?

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

              Created:
              Updated:
              Resolved: