Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export the BSON types available for Realm.Object properties on Realm.Types #4934

Open
kraenhansen opened this issue Sep 19, 2022 · 1 comment
Labels

Comments

@kraenhansen
Copy link
Member

kraenhansen commented Sep 19, 2022

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.

@kraenhansen
Copy link
Member Author

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.

@kraenhansen kraenhansen changed the title Export only the BSON types available for Realm.Object properties on Realm.BSON Export the BSON types available for Realm.Object properties on Realm.Types Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant