Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4978

Provide a programatic mechanism to determine extension dependency versions

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Dependencies

      Motivation

      With the many peer dependencies the driver has in addition the future where they are brought in lazily (NODE-4977) it could be useful to have a way to determine if the dependency was / can be imported and what version is the one being imported.

      Open Questions

      • Is it safe to import a dependency's package.json file?
        • we did it with snappy for a while
      • Should the packge.json version be imported regardless of if the feature is used, or only when the feature is used?
        • It seems reasonable someone would want to know that information before actually attempting usage
      • If the version is always imported / made available what indicator would there be that the dep itself hasn't yet been pulled in?
        • Is this important?

      AC

      • TBD

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: