This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-27
Channels
- # announcements (3)
- # babashka (35)
- # babashka-sci-dev (42)
- # beginners (27)
- # calva (7)
- # clj-kondo (18)
- # cljs-dev (1)
- # clojure (40)
- # clojure-europe (141)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-uk (40)
- # clojurescript (15)
- # community-development (4)
- # cursive (54)
- # events (1)
- # fulcro (8)
- # helix (5)
- # hyperfiddle (22)
- # introduce-yourself (6)
- # jobs (3)
- # joyride (26)
- # lsp (7)
- # music (1)
- # nbb (7)
- # off-topic (28)
- # pathom (120)
- # pedestal (3)
- # podcasts-discuss (2)
- # portal (2)
- # rdf (2)
- # releases (20)
- # rewrite-clj (9)
- # shadow-cljs (26)
- # spacemacs (1)
- # sql (13)
- # vim (10)
- # xtdb (63)
Hmm, is form/delete! supposed to delete all references to the entity it deletes? It seems to do so on the cljs side, but on the server, only the entity is getting deleted. Pretty sure I'm doing something a little wonky.
Okay, after some digging, it looks like I'll need to handle this in the delete middleware. with the XTDB adapter, at least. It doesn't appear to try to delete references.
I think datomic has something like db/isComponent which enables something similar IIRC, but am not sure of the equivalent in xtdb land.
Delete middleware. It's your responsibility or the databases. Datomic does clean up dangling refs no matter what
I've got two queries:
`[::foo/id
({::foo/things ~(comp/get-query ChildComp)}
{:param :x})]
`[::foo/id
({::foo/things [:thing/x
:thing/y]}
{:param :x})]
The second is just a literal representation of the first. I've compared both outputs and they are identical. But the first one doesn't work 😕 can someone explain why?I don't suspect this is the reason, but https://github.com/fulcrologic/fulcro/blob/3.0.0/src/main/com/fulcrologic/fulcro/components.cljc#L536L565 returns the query vector with metadata
Hi, I would like to create a business using fulcro (with clojure and datomic). I'm looking for someone that's also interested as it's easier to work together. I have few ideas but if you have your own I'm open. If you are interested please DM me so we can talk.