Skip to content

Instantly share code, notes, and snippets.

@bhb

bhb/tempids.clj

Created May 13, 2019
Embed
What would you like to do?
Dependent effects with tempids
[{:op :create-company
:name "Foobar Company"
:id "tempid/company"}
{:op :create-employee
:name "Alice"
:company_id "tempid/company"
:id "tempid/user1"}
{:op :create-employee
:name "Bob"
:company_id "tempid/company"
:supervisor_id "tempid/user1"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment