[DRIVERS-1173] Driver Handling of DBRefs Created: 07/Apr/20 Updated: 21/Aug/23 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | BSON |
| Fix Version/s: | None |
| Type: | Epic | Priority: | Major - P3 |
| Reporter: | Esha Bhargava | Assignee: | Jeremy Mikola |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Quarter: | FY22Q4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Start date: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cost Threshold %: | 100 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Detailed Project Statuses: | 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 2021-07-16:
2021-06-30:
2021-06-16:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. |
| Comments |
| Comment by Githook User [ 04/Jun/21 ] |
|
Author: {'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}Message: DRIVERS-1173: Remove DBRef parse error tests (#1012) |
| Comment by Jeremy Mikola [ 04/Jun/21 ] |
| Comment by Jeremy Mikola [ 04/Jun/21 ] |
|
Some additional BSON corpus tests that expect parse errors need to be removed. Moving back to "Designing" and will follow-up with a PR shortly. |
| Comment by Githook User [ 04/Jun/21 ] |
|
Author: {'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}Message: DRIVERS-1173: Fix syntax error in DBRef BSON corpus test |
| Comment by Githook User [ 27/May/21 ] |
|
Author: {'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}Message: DRIVERS-1173: DBRef spec (#996)
Co-authored-by: Kaitlin Mahar <kaitlinmahar@gmail.com> |
| Comment by Jeremy Mikola [ 21/May/21 ] |