This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-20
Channels
- # announcements (1)
- # babashka (4)
- # beginners (8)
- # cider (4)
- # clj-kondo (10)
- # cljdoc (1)
- # cljsrn (7)
- # clojure (3)
- # clojure-europe (20)
- # clojure-france (3)
- # clojure-sg (2)
- # clojurescript (16)
- # clojureverse-ops (3)
- # community-development (5)
- # core-async (35)
- # cursive (1)
- # datahike (14)
- # datomic (7)
- # events (5)
- # fulcro (59)
- # graphql (11)
- # lsp (33)
- # meander (1)
- # off-topic (33)
- # polylith (23)
- # portal (33)
- # re-frame (1)
- # reagent (10)
- # reclojure (7)
- # reveal (14)
Is it possible to assert and add entities to a lookup ref like this?
{:tx-data
[[:db/add
[:airstats.pipeline/id "bestid4"]
:airstats.pipeline/jobs
;; assert new entities here
[{:airstats.error/type "fo"}]
]]}
well something like this, I mean I want to add new "jobs" entities.
This code throws
{:cognitect.anomalies/category :cognitect.anomalies/incorrect,
:cognitect.anomalies/message
"Invalid list form: [#:airstats.error{:type \"fo\"}]",
:db/error :db.error/invalid-lookup-ref}