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

Add support for MongoClient APIs #1541

Closed
wants to merge 1 commit into from
Closed

Conversation

cmelchior
Copy link
Contributor

Closes #972

This PR add support the MongoClient APIs found in Realm Java and other SDKs.

Note, that the implementation should not use the C-API as we want to prepare the code to be split from Device Sync.

TODO

  • Figure out if we should support watch or not. .NET does not and it was removed from JS Web. I assume we can leave this out for the initial release of this.
  • Move tests from Realm Java.
  • Right now we are duplicating methods to make it possible to override the return class. Figure out if there is a better way of doing this.
    • We already have a MongoCollection.withDocumentClass(), maybe just require that people use that instead of duplicating methods?
  • Figure out if we should keep using FindIterable and friends, move to FindFlow (similar to the Kotlin Driver), or both.
  • Review docs. Right now I just ported the Java doc more or less as is.

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

Successfully merging this pull request may close these issues.

Mongo Client API's
2 participants