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

Driver Handling of DBRefs

    • Type: Icon: Epic Epic
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: BSON
    • None
    • To Do
    • Driver Handling of DBRefs
    • 100
    • Hide

      Summary: This introduces a new Handling of DBRefs specification. This spec itself should only be relevant for drivers that provide a DBRef model class, as it provides guidance for encoding/decoding behavior and includes several prose tests to be implemented.

      Lead: Andreas
      Author: Jeremy

      2021-07-16:

      • C, Go, and PHP done
      • All other teams focusing on higher priority 5.0 work

      2021-06-30:

      • C, Go, and PHP done
      • All other teams focusing on higher priority 5.0 work

      2021-06-16:

      • C done
      • Go and PHP in review
      • All other teams focusing on higher priority 5.0 work

      Show
      Summary: This introduces a new Handling of DBRefs specification. This spec itself should only be relevant for drivers that provide a DBRef model class, as it provides guidance for encoding/decoding behavior and includes several prose tests to be implemented. Lead: Andreas Author: Jeremy 2021-07-16: C, Go, and PHP done All other teams focusing on higher priority 5.0 work 2021-06-30: C, Go, and PHP done All other teams focusing on higher priority 5.0 work 2021-06-16: C done Go and PHP in review All other teams focusing on higher priority 5.0 work
    • Needed
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-3970 Fixed 1.18.0
      CXX-2238 Works as Designed
      CSHARP-3631 Backlog
      GODRIVER-1985 Fixed 1.6.0
      JAVA-4124 Won't Fix
      NODE-3247 Fixed bson-4.5.0
      MOTOR-718 Duplicate
      PYTHON-2680 Fixed 4.0
      PHPC-1821 Fixed 1.10.0
      RUBY-2590 Fixed bson-4.13.0, 2.18.0
      RUST-762 Works as Designed
      SWIFT-1190 Done
      $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 CDRIVER-3970 Fixed 1.18.0 CXX-2238 Works as Designed CSHARP-3631 Backlog GODRIVER-1985 Fixed 1.6.0 JAVA-4124 Won't Fix NODE-3247 Fixed bson-4.5.0 MOTOR-718 Duplicate PYTHON-2680 Fixed 4.0 PHPC-1821 Fixed 1.10.0 RUBY-2590 Fixed bson-4.13.0, 2.18.0 RUST-762 Works as Designed SWIFT-1190 Done

      This introduces a new Handling of DBRefs specification. This spec itself should only be relevant for drivers that provide a DBRef model class, as it provides guidance for encoding/decoding behavior and includes several prose tests to be implemented.

      Relevant to all drivers, this project additionally updated the BSON corpus spec tests and Extended JSON spec. All drivers should sync BSON corpus tests with mongodb/specifications@a274fbf. The Extended JSON spec was updated to remove mention that DBRef documents cannot contain extra dollar-prefixed keys (related to DRIVERS-1237). Additionally, the JSON parsing rules were relaxed to not raise an error when parsing a document that resembles but does not fully conform to a DBRef.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            esha.bhargava@mongodb.com Esha Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: