[GODRIVER-1968] Pipeline can't handle empty structs and maps Created: 16/Apr/21 Updated: 19/Apr/21 Resolved: 19/Apr/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Sean Teeling | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
collection.UpdateOne fails if a {{$set, myStruct}} is supplied within a mongo pipeline, and the struct contains empty values.
However that same $set succeeds, when it's not within a pipeline. |