tiller icon indicating copy to clipboard operation
tiller copied to clipboard

Deep Saving fails to save References in Embed Documents

Open nico-ulbricht opened this issue 9 years ago • 0 comments

Given the setup

class Model {
    @embed(EmbedDocument)
    doc: EmbedDocument;
}

class EmbedDocument {
    @reference(ReferencedDocument)
    doc: ReferencedDocument;
}

calling await Model.save(true) only saves Model, but not ReferencedDocument

nico-ulbricht avatar Sep 19 '16 10:09 nico-ulbricht