-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Tech debt
-
None
-
Not Needed
-
None
You can workaround COMPASS-4145 by running the below in the upgrade-compass-schema branch of compass:
cp node_modules/@mongodb-js/compass-schema/lib/8d0feb331cc7c14b9513.module.wasm ./src/app/; cp node_modules/@mongodb-js/compass-schema/lib/1,js ./src/app/;
Then when trying to analyze a schema, you'll get the below uncaught exception:
Uncaught TypeError: t.fields[Symbol.iterator] is not a function at Object.X.e._mergeSchema (/Users/lucas/compass-electron6/node_modules/@mongodb-js/compass-field-store/lib/index.js:1) at Object.X.e.processSchema (/Users/lucas/compass-electron6/node_modules/@mongodb-js/compass-field-store/lib/index.js:1) at Store.<anonymous> (/Users/lucas/compass-electron6/node_modules/@mongodb-js/compass-field-store/lib/index.js:1) at EventEmitter.eventHandler (/Users/lucas/compass-electron6/node_modules/reflux-core/lib/PublisherMethods.js:44) at EventEmitter.emit (/Users/lucas/compass-electron6/node_modules/reflux-core/node_modules/eventemitter3/index.js:137) at Store.trigger (/Users/lucas/compass-electron6/node_modules/reflux-core/lib/PublisherMethods.js:63) at Store.setState (/Users/lucas/compass-electron6/node_modules/reflux-state-mixin/lib/storeMixin.js:48) at /Users/lucas/compass-electron6/node_modules/@mongodb-js/compass-schema/lib/index.js:34
- related to
-
COMPASS-4145 @mongodb-rust/wasm-schema-parser fails to load
-
- Closed
-