Property values are undefined
Due to some inconsistent behaviour in some Babel 7 versions (related to the class properties), a workaround with a model constructor is required.
The library doesn't work in Internet Explorer 11
Make sure you're polyfilling all required functionality:
The easiest way is to add a generic polyfill:
- Babel 6 - Install
babel-polyfill@6and import it in your entry file
- Babel 7 - Install
@babel/polyfilland import it in your entry file
- TypeScript - If you're using the target
ES5or you don't have a target defined, you should add the lib
I'm getting a maximum call stack error
This can happen if you have an existing model instance, but want to update it with new relationships. Make sure you declare all relationships in the model class or use the
addReference method to add new dynamic references. This issue should be fixed once #108 is done.
Having other issues?
Feel free to open an issue.