[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: GODRIVER-282 Fix decoding into *bson.Document and bson.Reader struct fields

Change-Id: I3d109c23181cbf2e87c3949138a5c0d04ebc7d87
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/8e4317e9c290465aee05e75170091127ab395cc3

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