-
Type: Bug
-
Resolution: Gone away
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: API
-
None
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.
- is duplicated by
-
GODRIVER-1968 Pipeline can't handle empty structs and maps
- Closed
- is related to
-
SERVER-54046 Permit empty objects as expressions in $set and $addFields aggregation stages
- Closed