[GODRIVER-590] objectid.ObjectID should support regular JSON hex bytes Created: 04/Oct/18  Updated: 28/Oct/23  Resolved: 11/Oct/18

Status: Closed
Project: Go Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: 0.0.16

Type: Improvement Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Go Community User
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes GODRIVER-562 JSON decoding of an objectid returns ... Closed

 Description   

Ensure objectid.ObjectID can properly round trip to regular JSON as a hex string. Extended JSON will be handled via the codecs.



 Comments   
Comment by Kristofer Brandow (Inactive) [ 11/Oct/18 ]

Code Review: https://github.com/mongodb/mongo-go-driver/pull/97 and https://github.com/mongodb/mongo-go-driver/pull/98.

Comment by Githook User [ 11/Oct/18 ]

Author:

{'name': 'Kris Brandow', 'email': 'kris@mongodb.com', 'username': 'skriptble'}

Message: Merge branches 'pr/97' and 'pr/98'

GODRIVER-590
GODRIVER-562

Change-Id: If800aceefac70ad6deb98411a012c32f6a30fa0e
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/97447040cabd95498a3f38bca806d50f76817c77

Generated at Thu Feb 08 08:34:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.