quick icon indicating copy to clipboard operation
quick copied to clipboard

asMemento doesn't fire with a relationship.withDefault

Open elpete opened this issue 2 years ago • 2 comments

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

elpete avatar Oct 13 '21 19:10 elpete