Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-687

UpdateBuilder.Combine cannot be used with UpdateBuilder<T> and vice versa

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.8
    • 1.7
    • Feature Request
    • n/a

    Description

      It is not possible to pass an UpdateBuilder<T> into the UpdateBuilder.Combine method, or an UpdateBuilder into an UpdateBuilder<T>.Combine method. It is Perhaps the Combine methods should take IMongoUpdate as the argument type instead, or UpdateBuilder<T> could be made to inherit from UpdateBuilder and the UpdateBuilder<T>.Combine method switched to take UpdateBuilder instead of UpdateBuilder<T>.

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            superduperjon jonathan roeder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: