You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Faced an issue with being unable to wrap an EmbeddedObject instance with @ObservedRealmObject in View body, and compiler error only returns No exact matches in call to initializer.
Solution
Replace the No exact matches in call to initializer compiler error with a @ObservedRealmObject requires {Object/EmbeddedObject} must conform to ObjectKeyIdentifiable
Alternatives
Enhance documentation to reflect the required conformance of an @ObservedRealmObject to ObjectKeyIdentifiable in RealmSwift Documentation page
How important is this improvement for you?
Fairly niche but nice to have anyway
Feature would mainly be used with
Atlas Device Sync
The text was updated successfully, but these errors were encountered:
Problem
Faced an issue with being unable to wrap an EmbeddedObject instance with
@ObservedRealmObject
in View body, and compiler error only returnsNo exact matches in call to initializer
.Solution
Replace the
No exact matches in call to initializer
compiler error with a@ObservedRealmObject requires {Object/EmbeddedObject} must conform to ObjectKeyIdentifiable
Alternatives
Enhance documentation to reflect the required conformance of an
@ObservedRealmObject
toObjectKeyIdentifiable
in RealmSwift Documentation pageHow important is this improvement for you?
Fairly niche but nice to have anyway
Feature would mainly be used with
Atlas Device Sync
The text was updated successfully, but these errors were encountered: