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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: Feature Request
    • Labels:
    • Environment:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: