mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-09 13:55:49 +00:00
9e0a9a3bd3
* Add support for linkingObjects * Test linkingObjects * Borrow names helper from list tests * include computed properties when serializing the schema for the RN debugger * add API docs * review comments * Expose admin users to JS (#1100) The JS binding used to conflate `SyncUser::is_admin()` with the user being created by calling `Realm.Sync.User.adminToken()`, but now that we expose a user’s role on the server under `is_admin()` this supposition is no longer correct. #1097 attempted to fix one such case, but fixing it only uncovered another: in `UserClass<T>::all_users()`. I’ve gone through all the callsites of `SyncUser::is_admin()` to make sure they don’t assume an admin token user. * [1.8.3] Bump version * add linkingObjects method to Realm.Object * changelog