guard startup snapshot detection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • 2
    • 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

      https://github.com/mongodb/js-bson/pull/903

      Use Case

      As a user of the js-bson library
      I want to be able to use bun as my runtime
      So that I can serialize bson

      User Experience

      • N/A

      Dependencies

      • N/A

      Risks/Unknowns

      • N/A

      Acceptance Criteria

      Implementation Requirements

      • Calls to isBuildingSnapshot should survive throw(), since subsequent calls to addDeserializeCallback are not required

      Testing Requirements

      • existing PR tests can remove references to bun

      Documentation Requirements

      • comments building any runtime affinity should be removed (do not mention bun direct)

      Follow Up Requirements

      • N/A

            Assignee:
            Unassigned
            Reporter:
            Pavel Safronov
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: