Wrong Type of Binary.buffer

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: 6.18.0
    • Component/s: BSON, TypeScript
    • 1
    • Not Needed
    • None
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a Typescript Developer
      I want to have correctly typed libraries 
      So that I can work with them

      User Experience (Impact)

      • Every Typescript Developer using Binaries in mongodb currently needs a workaround (type assertion)

      Dependencies

      Risks/Unknowns

      • Is breaking change to previous type

      Acceptance Criteria

      Binary.buffer should be ArrayBuffer and not  Uint8Array

            Assignee:
            Bailey Pearson
            Reporter:
            David Löwens
            None
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: