[GODRIVER-1231] update doesn't handle bson.Raw correctly Created: 12/Aug/19 Updated: 28/Oct/23 Resolved: 13/Aug/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The change to support update pipelines broke support for bson.Raw. In addition to special-casing bsoncore.Document, bson.Raw and []byte should be handled separately as well, because they're both slices but represent single documents, not pipelines. |
| Comments |
| Comment by Githook User [ 13/Aug/19 ] |
|
Author: {'name': 'Divjot Arora', 'username': 'divjotarora', 'email': 'divjot.arora@10gen.com'}Message: Fix type checks for update pipelines Change-Id: Ie60d386efce586d0a271b487698fd0bfd13cd74c |
| Comment by Divjot Arora (Inactive) [ 12/Aug/19 ] |
|
CR: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/464979 |