[GODRIVER-282] bson.Decoder cannot decode into bson types inside of a struct Created: 15/Mar/18 Updated: 28/Oct/23 Resolved: 15/Mar/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | 0.0.2 |
| Fix Version/s: | 0.0.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Samuel Rossi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | GODRIVER Alpha UX |
| Description |
|
While the decoder supports decoding into *bson.Document and bson.Reader, the decoder does not support these types when they are members of a struct. While I did not test this against maps and slices, we should ensure that the fix works for those as well. |
| Comments |
| Comment by Githook User [ 15/Mar/18 ] |
|
Author: {'email': 'saghmrossi@gmail.com', 'name': 'Saghm Rossi', 'username': 'saghm'}Message: Change-Id: I3d109c23181cbf2e87c3949138a5c0d04ebc7d87 |