Realm-js: Support Object.assign

Created on 12 Sep 2017  路  3Comments  路  Source: realm/realm-js

user pseudocode:

//sample myrealmObject { id: 111, name: 'John Doe' }
var myNewEmptyObject = {};
Object.assign(myNewEmptyObject, myrealmObject}
console.dir(myNewEmptyObject); //will return {}

Realm version: V1.11.0

O-Community Reproduction-Required T-Bug

Most helpful comment

Same here. :'(

All 3 comments

@MihaelIsaev Thanks for reporting.

Same here. :'(

It works on Reamjs 3.4.1 but after upgrading to 5.0.3 it not works

Was this page helpful?
0 / 5 - 0 ratings