Skip to content

dx-with: reverse relation not set when creating db #46

@stanleyj-edsn

Description

@stanleyj-edsn

Given the smallest reproduction scenario I could come up with:

(dx/dx-with
 [{:parent #{[:id "291020"]}
   :id "757796"}])

I expect to see a reverse relation :_parent on the entity [:id "291020"] refering to [:id "757796"] , but I get nil:

{[:id "291020"] {:id "291020"
                 :_parent nil} ; <-- expected: [:id "757796"] 
 [:id "757796"] {:parent #{[:id "291020"]}, :id "757796"}}

is this a bug or is my expectation incorrect? Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions