-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Local
-
3 - M (<= 1 month)
-
15
-
587
See this Java issue for broader context: https://github.com/realm/realm-java/issues/1694
Given that KMP has no default types for UUID and Dates, type adapters are probably required from the start for Kotlin.
This will allow people to bring their own libraries to work with UUID and Dates as long as they create a type adapter for those types. We should probably ship adapters for the common libraries: https://github.com/Kotlin/kotlinx-datetime and https://github.com/benasher44/uuid.
Note, the Java issue has pretty ambitious. We can probably cut scope for an initial implementation that only does "single property -> single core property"
API needs to be determined.