Skip to content

asMemento doesn't fire with a relationship.withDefault #159

@elpete

Description

@elpete

Entity 1 hasOne Entity 2 (with default) so that even if it doesn't exist, we should get an empty memento.

This does not work:

Entity1.Entity2().asMemento().get();

But this does:

Entity1.Entity2().get().getMemento();

Reported by: @dbelanger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions