[GODRIVER-815] Can only interact with GridFS files by id via ObjectIds Created: 06/Feb/19  Updated: 28/Oct/23  Resolved: 13/Feb/19

Status: Closed
Project: Go Driver
Component/s: GridFS
Affects Version/s: None
Fix Version/s: 1.0.0-rc1

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

Issue Links:
Gantt Dependency
has to be done before TOOLS-1840 Migrate mongofiles to new Go Driver Closed

 Description   

GridFS files collection files can have anĀ _id of any type, but the GridFS function signatures that accept an id only accept ObjectIds (e.g. bucket.OpenUploadStreamWithId). This should be expanded to accept any valid BSON type.



 Comments   
Comment by Githook User [ 13/Feb/19 ]

Author:

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

Message: Allow GridFS fileID to be any type

GODRIVER-815

Change-Id: I93b413198e0bdd949e6cbccb9a9436e93e6c3cbf
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/498dcf627114de35e78c5a4cac3d8fe4f91c44f9

Comment by Kristofer Brandow (Inactive) [ 12/Feb/19 ]

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

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