realm-js/react-native/android
Mark Rowe 30e58022cf Include property names in type error exceptions thrown by Realm.create (#1069)
* Add and adopt `Value::is_binary` / `Value::to_binary` / `Value::from_binary`.

These methods allow conversions between `BinaryData` and the equivalent
JavaScript types without using `NativeAccessor`. Instead,
`NativeAccessor` now itself delegates to these methods.

* Have `NativeAccessor::value_for_property` and `RealmObjectClass::set_property`
verify that values are valid for the property in question.

If not, we throw an exception that includes the name and type of the
property in question.

`NativeAccessor` is changed to always hold a reference to a `Realm` and
an `ObjectSchema` in order to make this validation possible.

* Fix the Windows build.

* Remove an unused, incorrect forward declaration of a template class
  named `Realm` that caused ambiguity with object store's `Realm` class.
* Disambiguate between `realm::js::PropertyType` and
  `realm::PropertyType`.

* Update CHANGELOG.md
2017-06-20 14:40:01 +02:00
..
gradle/wrapper adding a 'publishAndroid' task to generate the AAR with prebuilt .so files 2016-02-10 16:11:36 -08:00
src/main Include property names in type error exceptions thrown by Realm.create (#1069) 2017-06-20 14:40:01 +02:00
.gitignore gitignore Android downloads folder 2016-02-11 13:20:31 -08:00
.npmignore adding a 'publishAndroid' task to generate the AAR with prebuilt .so files 2016-02-10 16:11:36 -08:00
analytics_template Aligning mixpanel implementation with Java & Cocoa (#513) 2016-06-30 13:26:36 +01:00
build.gradle Merge branch 'master' into gradle-use-dependencies-list 2017-04-20 23:58:16 +03:00
gradle.properties Add Gradle task to generate Version class 2016-02-18 13:58:12 -08:00
gradlew move library to separate project 2016-01-05 11:08:42 -08:00
gradlew.bat move library to separate project 2016-01-05 11:08:42 -08:00
publish_android_template Nh/fixes 866 (#867) 2017-02-15 13:56:21 +01:00