Skip to content

To One Relation improvements #31

@k0shk0sh

Description

@k0shk0sh

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions