bson: add wasm support for bson-rs crate

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: schema.rs
    • None
    • 3
    • Iteration Vol au Vent, Iteration Wasabi
    • None

      bson-rs crate is currently not wasm compatible as it makes system calls to get machine_id and process_id to make ObjectId bson type. This doesn't work in the browser and should be done as randomly generated numbers (like the node's bson package)

            Assignee:
            Irina Shestak (Inactive)
            Reporter:
            Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: