Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-196

Drivers in languages with a symbol representation should always serialize symbols to BSON Strings for commands

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      RUBY-856 Won't Fix 2.0.0
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion RUBY-856 Won't Fix 2.0.0

    Description

      The BSON Symbol type is deprecated so drivers in languages that have a symbol representation should make sure that they:

      1) Never serialize symbols to a BSON Symbol. They should instead serialize to a BSON String.
      2) Deserialize BSON Symbols to strings, as they would the BSON String type.

      Attachments

        Activity

          People

            barrie Barrie Segal
            emily.stolfo Emily Stolfo
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: