Latest DnsClient breaks API compatibility

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.8.0
    • Affects Version/s: 2.7.2
    • Component/s: Connectivity
    • None
    • Environment:
      DnsClient nuget package version 1.2.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Version 1.2.0 of the DnsClient nuget package changed the LookupClient.QueryAsync() signature which breaks MongoDB.Driver.Core.Configuration.ConnectionString.ResolveAsync.

      Also version 1.2.0 results in a MissingMethodException at runtime:

      System.MissingMethodException was unhandled
       HResult=-2146233069
       Message=Method not found: 'DnsClient.IDnsQueryResponse DnsClient.LookupClient.Query(System.String, DnsClient.QueryType)'.
       Source=MongoDB.Driver.Core
       StackTrace:
       at MongoDB.Driver.Core.Configuration.ConnectionString.Resolve()
       at MongoDB.Driver.MongoUrl.Resolve()
       at MongoDB.Driver.MongoClientSettings.FromUrl(MongoUrl url)
       at MongoDB.Driver.MongoClient..ctor(MongoUrl url)
      

              Assignee:
              Robert Stam
              Reporter:
              John Murphy
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: