realm-js
realm-js copied to clipboard
Export the BSON types available for `Realm.Object` properties on `Realm.Types`
We're currently re-exporting all of the bson
package API on Realm.BSON
.
To simplify our exports and make it easier for users to find the types that are actually available for properties, I suggest we export only the types we currently support: ObjectId
, Decimal128
and UUID
.
We should wait for TypeScript-first models to land before fixing this, as it introduce a Realm.Types
namespace where the BSON types will be available.