[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: |
|
||||||||
| 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 Change-Id: I93b413198e0bdd949e6cbccb9a9436e93e6c3cbf |
| Comment by Kristofer Brandow (Inactive) [ 12/Feb/19 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/444290. |