-
Notifications
You must be signed in to change notification settings - Fork 165
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
Improvements related to Remote MongoDB access #3414
Conversation
using var realm = await GetRealmAsync(config); | ||
await WaitForUploadAsync(realm); | ||
|
||
var client = user.GetMongoClient(ServiceName); // TODO: this should be provided by Sync |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No longer relevant - in scoping we decided to keep the service name argument
// Use sync to create the schema/rules | ||
SyncConfigurationBase config = appConfigType == AppConfigType.FlexibleSync ? GetFLXIntegrationConfig(user) : GetIntegrationConfig(user); | ||
|
||
config.Schema = GetTransitiveSchema(typeof(T), new()).Values.ToArray(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come we're trying to limit the schema here? Is it to improve the speed of the test?
# Conflicts: # .github/templates/build-packages.yml # .github/workflows/build-packages.yml # global.json
* Various fixes * Removed unused * Fixes to bsondocument equality * Passingn tests * Added embedded test * Added test for embedded * Added fix for not implemented * Fixed serializer and added correct serialization of realm value * Fixed tests for object in realm value * Fixed deserialization object in realm value * Moved method * Split collection class * Revert "Split collection class" This reverts commit eee2d42. * Added test to remove * Removed unused class and test * Separated serializer from serializer registry * Added basic tests for primitives * Added more tests * Added tests for links * Added several tests * Added tests for embedded * Removed unused param * Removed unnecessary * Various fixes * Added missing cases * Added docs and improved serialization * Added tests * Added saving of schema * Added correct handling of extra fields and changelog * Corrected exception check * Small fixes * Small corrections * Moved tests to a new fixture * Small correction * Reinstated reflection * Small fixes * Warning fix * Updated source generated test classes * Corrected weavers errors * Corrected platformhelper and testobject * Fixed source generator test * Added fix for ctor * Small fixes * Corrections to test
I've just merged my branch into this one. |
Pull Request Test Coverage Report for Build 7489097804
💛 - Coveralls |
@nirinchev As we discussed:
If the CI is green (or almost) this is mergeable |
@nirinchev The new release is out, so this is mergeable for me |
Description
This is still WIP, but explores a SG-based approach for using RealmObject classes for remote mongodb access.
TODO