Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2866

Only use basic Go types in externally-implementable interfaces

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 2.0.0
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None
    • Major Change
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      If external projects want to implement BSON marshal/unmarshal support, they may not be able to without importing the Go Driver package. That frequently makes implementing BSON support a non-starter for library projects. Update those interfaces to not require importing the Go Driver to implement them.

      Definition of done:

      Open questions:

      • Should similar functions be changed to match the signature of the updated interfaces? Considerations:
      • Are there more interfaces that need to be modified?

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: