[GODRIVER-1107] SetHint causes InvalidBSON error Created: 04/Jun/19  Updated: 28/Oct/23  Resolved: 11/Jun/19

Status: Closed
Project: Go Driver
Component/s: Core API
Affects Version/s: None
Fix Version/s: 1.1.0

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

Issue Links:
Depends

 Description   

Error: (InvalidBSON) invalid bson in element with field name 'hint' in object with unknown _id



 Comments   
Comment by Githook User [ 11/Jun/19 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: Use AppendString to create hints.

GODRIVER-1107

Change-Id: I238f19fb8a3c96c9f1dc56b6c153ca876911690b
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/09f204b0046fd1929132d60b63b70028a3bc3711

Comment by Divjot Arora (Inactive) [ 07/Jun/19 ]

CR: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/457313

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