[GODRIVER-691] ArrayEncodeValue and SliceEncodeValue don't properly handle nil for primitive.Element Created: 12/Dec/18 Updated: 28/Oct/23 Resolved: 12/Dec/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | 0.1.0 |
| Fix Version/s: | 0.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Go Community User |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The ArrayEncodeValue and SliceEncodeValue methods do not have a primitive.E with nil as it's Value field. Fix these two methods to properly encode BSON null when they receive nil for the Value field. |
| Comments |
| Comment by Githook User [ 12/Dec/18 ] |
|
Author: {'name': 'Kris Brandow', 'email': 'kris@mongodb.com', 'username': 'skriptble'}Message: Merge branch 'pr/115' Change-Id: Iab74c96aa5caae87f9e206acbc6c0919b61a01ba |
| Comment by Kristofer Brandow (Inactive) [ 12/Dec/18 ] |
|
Code Review: https://github.com/mongodb/mongo-go-driver/pull/115. |