Don't re-export types from unstable dependencies

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-2.0.0-beta, 2.0.0-beta
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the driver's ErrorKind, we include variants that wrap errors from our dependencies, some of which are pre-1.0 and unstable. This means that if those dependencies make breaking changes to those error types, we will be unable to update the version that we depend on without a breaking change in the driver too. We should audit our API for places that we re-export unstable dependencies and replace them with stable types / types we control to avoid getting into a situation like that.

              Assignee:
              Patrick Freed
              Reporter:
              Patrick Freed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: