[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

GODRIVER-1231

Change-Id: Ie60d386efce586d0a271b487698fd0bfd13cd74c
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/cd0e7928e3eda94d89ecafb67130bc85ba944765

Comment by Divjot Arora (Inactive) [ 12/Aug/19 ]

CR: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/464979

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