-
Notifications
You must be signed in to change notification settings - Fork 308
Closed
Description
Seeing the code generated for @Relation
annotation, I think its not the right way to do it, the getter for lets say ClassA
should check if the value is null first, and if it is, then should lookup for the One to One relation and query upon, however currently, the library forces us to always use the relationship generated method to return the data, how about if the data is not yet being saved? and we would like to display the result from the api immediately, because currently i can't seem to display the data returned due to the relationship generated code and the enforcing of loading the data for the variable from the objectBox which causes our variable to always be null.
Metadata
Metadata
Assignees
Labels
No labels