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
I created a backlink from one class to another class, which exist in a one-to-many relationship. I also have these classes using the @PersistedName attribute. The schema fails to validate with this setup.
@PersistedName(name="Grower")
classRlmGrower(): RealmObject {
@PrimaryKey
var_id:String=RealmUUID.random().toString()
val farms:RealmResults<RlmFarm> by backlinks(RlmFarm::grower)
// ...
}
@PersistedName(name="Farm")
classRlmFarm(): RealmObject {
@PrimaryKey
var_id:String=RealmUUID.random().toString()
@PersistedName(name="growerId")
var grower:RlmGrower?=null// ...
How frequently does the bug occur?
Always
Description
I created a backlink from one class to another class, which exist in a one-to-many relationship. I also have these classes using the
@PersistedName
attribute. The schema fails to validate with this setup.And the configuration code:
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
1.8.0
What Atlas App Services are you using?
Atlas Device Sync
Are you using encryption?
No
Platform OS and version(s)
iOS 16.4
Build environment
Android Studio version: 2022.1.1 Patch 2
Android Build Tools version:
Gradle version: ...
The text was updated successfully, but these errors were encountered: