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

Driver Handling of DBRefs

    XMLWordPrintableJSON

Details

    • Epic
    • Status: Implementing
    • Major - P3
    • Resolution: Unresolved
    • None
    • BSON
    • None
    • Needed
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: