Yavor Georgiev
23f965060e
Implement implicit property conversion for date and binary ( #1557 )
...
* Implement implicit property conversion for date and binary
Closes #1542
Closes #1551
* fix include
* changelog
2017-12-07 13:47:20 +01:00
Thomas Goyne
9a31febc4c
Add support for lists of things other than objects
...
And add a shorthand syntax for schema definitions.
2017-09-26 11:40:22 -07:00
Thomas Goyne
18dea2bc6c
Add an equality assertion that does the right thing for a given property type
2017-09-26 11:40:22 -07:00
Adam Fish
37dba6bb36
Add objectSchema method to Realm Object ( #1055 )
...
* Add objectSchema property to Realm Object
* fix
2017-06-20 11:42:43 +02:00
Marius Rackwitz
9d25435105
[Tests] Stop using Realm.Types
2016-08-04 10:10:28 -07:00
Ari Lazier
81feca0ce9
fix for setting properties to objects from other realms
2016-06-08 11:22:12 -07:00
Scott Kyle
48394d9c19
Automatically handle deleting test Realms
...
No longer leave this up to the test. All testing passes through the runTest() function, so we use that spot to delete the Realms. It also now deletes them beforehand too since a crash in a previous run could leave a Realm in place.
2016-05-26 15:47:30 -07:00
Ari Lazier
027d4fd153
fix for upgrading optional date properties
2016-05-26 13:30:51 -07:00
Ari Lazier
9e05728dce
fix for negative timestamps
2016-05-24 11:45:16 -07:00
Ari Lazier
0f74101074
Merge pull request #423 from realm/al-timestamp
...
Use new timestamp format
2016-05-16 13:52:31 -07:00
Ari Lazier
d1dcd4ff3f
add additional tests
2016-05-13 15:29:59 -07:00
Ari Lazier
9c1b923797
fixes for test app
2016-05-13 13:05:39 -07:00
Nabil Hachicha
895c6a3056
Copying embedded Realm files using AssetManager from JNI
2016-05-11 19:56:59 +01:00
Nabil Hachicha
57701db8f4
copy Realm file from assets into default storage folder
2016-05-11 03:30:37 +01:00
Scott Kyle
26d2c169a9
Support ES6 class inheritance from Realm.Object
...
Unfortunately, this was broken because our native Realm.Object constructor was not presenting itself as a function in JS. This fixes that and adds tests.
2016-05-09 16:49:05 -07:00
Ari Lazier
21b58b6a1e
test that conversion actually works
2016-05-09 13:32:10 -07:00
Ari Lazier
9c7b01091f
convert old date columns
2016-05-09 13:12:48 -07:00
Ari Lazier
28a7efcd1b
add test for current date
2016-05-05 17:36:48 -07:00
Ari Lazier
d26924e2f9
allow setting of non-persisted properties
2016-05-03 13:05:48 -07:00
Ari Lazier
27d973151f
pr fixes
2016-04-26 16:59:03 -07:00
Ari Lazier
b59784670b
create RealmObject class and make isValid a member
2016-04-26 16:30:04 -07:00
Scott Kyle
a5ec799a7c
Copy whole lib module into JS test bundle
...
This meant we needed to rename tests/lib to tests/js so they folder names would not conflict.
2016-02-29 03:24:58 -08:00