[COMPASS-3379] wasm: use regular result type in wasm exported functions Created: 08/Jan/19  Updated: 27/Oct/23  Resolved: 18/Mar/19

Status: Closed
Project: Compass
Component/s: schema.rs
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Irina Shestak (Inactive) Assignee: Irina Shestak (Inactive)
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-3418
Story Points: 3
Sprint: Iteration Zucchini

 Description   

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


Generated at Wed Feb 07 22:33:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.