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

Pipeline can't handle empty structs and maps

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Unknown 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            teeling.sean@gmail.com Sean Teeling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: