-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
1 - XS (<= 1 day)
-
1348
Goals
Passing unexpected arguments to the Realm.open, specifically passing a promise as user on the sync config object.
Expected Results
An error message describing the issue.
Actual Results
Segmentation fault: 11
Steps to Reproduce
Create a new directory, initialize an npm package and install Realm JS
npm init && npm install realm
And then run the code sample.
Code Sample
const Realm = require("realm");
Realm.open({ sync: { user: Promise.resolve() } });
Version of Realm and Tooling
- Realm JS SDK Version: 2.15.3
- Node or React Native: Node v8.4.0
- Client OS & Version: Mac
- Which debugger for React Native: None