Skip to content

Shadows don't represent a complete view #568

@mdii

Description

@mdii

Hello,
I was recently playing with querying shadows. I find it a great and useful feature, however I noticed that when I query for a rather complex object the historical view is not fully returned.

I have an entity X that has a many-to-one relationship with entity Y.
Ys are created and updated independently of Xs, so when an X is updated no snapshot is created for its Y. Now when I query for shadows of X, the value of its Y is null. I believe in this case, the shadow query should look for the last snapshot of Y that precedes the snapshot of X.

I am not sure how exactly shadow creation works, but it seems that it searches the object graph in the same commit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions