Skip to content

EmbedsOne relationship always have a model associated #736

@Rezouce

Description

@Rezouce

I upgraded Moloquent from 2.2.4 to 2.3.2.
Before, when no object was associated to an embedOne relation, I had a null value when trying to retrieve it, now I have an empty object.

Is this an intended new behaviour? If so, how should we check if the object is a prepopulated one or one we associated ourselves?

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