-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
3
-
248
-
Not Needed
-
Kotlin Beta sprint 9, Kotlin Beta sprint 10, Kotlin Beta sprint 11
This issue covers creating an MVP API for SyncConfiguration that allows a user to Sync.
It looks like this should be the minimal thing required:
class SyncConfiguration { companion object { fun defaultConfig(user: User, partitionValue: Integer?, schema: Set<RealmObject>) fun defaultConfig(user: User, partitionValue: Long?, schema: Set<RealmObject>) fun defaultConfig(user: User, partitionValue: String?, schema: Set<RealmObject>) fun defaultConfig(user: User, partitionValue: ObjectId?, schema: Set<RealmObject>) } val user: User val partitionValue: Any val schema: Set<KClass<RealmObject>> class Builder { constructor(user: User, partitionValue: Integer?, schema: Set<RealmObject>) constructor(user: User, partitionValue: Long?, schema: Set<RealmObject>) constructor(user: User, partitionValue: String?, schema: Set<RealmObject>) constructor(user: User, partitionValue: ObjectId?, schema: Set<RealmObject>) } }
- is depended on by
-
RKOTLIN-157 Story: [Sync] SyncConfiguration API
- Closed