Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3379

wasm: use regular result type in wasm exported functions

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: schema.rs
    • None

      currently library wraps around the existing methods to export them for wasm as the usual "Result<T, E>" doesn't quite work in wasm. There is an outstanding issue on wasm-bindgen project to improve this experience: https://github.com/rustwasm/wasm-bindgen/issues/1017

      this ticket is mostly for monitoring and talking to the rust-wasm team to improve the current implementation

            Assignee:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Reporter:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: