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

Realm Web: Export BSON types from the package #3242

Closed
kraenhansen opened this issue Sep 21, 2020 · 3 comments · Fixed by #3363
Closed

Realm Web: Export BSON types from the package #3242

kraenhansen opened this issue Sep 21, 2020 · 3 comments · Fixed by #3363
Assignees

Comments

@kraenhansen
Copy link
Member

kraenhansen commented Sep 21, 2020

Goals

Users of (expecially the IIFE / CDN bundle) wants to use BSON types exported by the "realm-web" package.

Expected Results

const _id = new Realm.BSON.ObjectId();

Actual Results

Thrown:
TypeError: Cannot read property 'ObjectId' of undefined

Version of Realm and Tooling

  • Realm Web SDK Version: 0.8.1
  • Node or React Native: Web
@RealmBot
Copy link
Collaborator

➤ Ian Ward commented:

[~brian.munkholm] can we get this added to the next sprint please?

@kraenhansen kraenhansen changed the title Realm Web: Export BSON typess from the package Realm Web: Export BSON types from the package Oct 21, 2020
@kraenhansen kraenhansen mentioned this issue Oct 27, 2020
8 tasks
@kraenhansen
Copy link
Member Author

kraenhansen commented Nov 23, 2020

I'm currently awaiting a stable Chrome debugger to implement and ensuring this works when debugging in chrome as well.

@kraenhansen
Copy link
Member Author

Now that the chrome debugger seems stable-ish, the work on fixing this issue can continue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants