[GODRIVER-651] InsertedID from InsertResult is a bsonx Created: 22/Nov/18  Updated: 28/Oct/23  Resolved: 30/Nov/18

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

Type: Bug Priority: Major - P3
Reporter: Eric Daniels (Inactive) Assignee: Kristofer Brandow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It should be a bson packaged type instead



 Comments   
Comment by Githook User [ 30/Nov/18 ]

Author:

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

Message: Ensure primitives are returned as insertedIDs

This change updates InsertOne and InsertMany to return a Go or BSON
primitive type instead of a bsonx type.

GODRIVER-651

Change-Id: Iccaae5ee169cbf72cce09d996e3e55f46659faf8
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/a29da95dd69cd66f3e93f3652176fdae08bc9f66

Comment by Kristofer Brandow (Inactive) [ 27/Nov/18 ]

Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/435161.

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