[COMPASS-3378] bson: add wasm support for bson-rs crate Created: 07/Jan/19 Updated: 06/Feb/19 Resolved: 06/Feb/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: | Done | 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 Vol au Vent, Iteration Wasabi |
| Description |
|
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) |