Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1967

Pipeline can't handle empty structs and maps

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      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.

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            teeling.sean@gmail.com Sean Teeling
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: