This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-05
Channels
- # announcements (7)
- # babashka (61)
- # beginners (146)
- # cider (4)
- # clj-kondo (25)
- # cljsrn (29)
- # clojars (30)
- # clojure (30)
- # clojure-australia (17)
- # clojure-europe (43)
- # clojure-italy (16)
- # clojure-nl (2)
- # clojure-spec (13)
- # clojure-sweden (7)
- # clojure-uk (8)
- # clojurescript (38)
- # cursive (12)
- # datomic (42)
- # defnpodcast (2)
- # dirac (1)
- # events (5)
- # fulcro (5)
- # graalvm (43)
- # graphql (11)
- # helix (6)
- # jackdaw (13)
- # jobs (4)
- # lambdaisland (8)
- # malli (12)
- # off-topic (83)
- # pathom (9)
- # podcasts-discuss (2)
- # re-frame (6)
- # reagent (3)
- # reitit (8)
- # remote-jobs (1)
- # shadow-cljs (40)
- # vim (21)
I’m getting the following error on my fulcro forms diff saving fn. I’m wondering how to do this without adding a data_readers.cljc file to the souce root? RAD forms are working on this app, and it doesn’t need the data readers, but I haven’t figured out why yet.
{riverdb.api.mutations/save-entity
{:com.wsscode.pathom.core/reader-error
"class java.lang.Exception: Unknown Type: 'class com.fulcrologic.fulcro.algorithms.tempid.TempId' for value: #fulcro/tempid[\"0b788809-862b-4a03-95ef-99b93ca9e1b2\"]"}}
I worked around it by first testing for (com.fulcrologic.fulcro.algorithms.tempid/tempid? val)
before (type val)
My application stopped working upgrading from fulcro 3.4.18 to 3.4.19. It appears that the call to (app/mount! APP Root “app”) in the client init function is where the error is generated. That call produces #object[TypeError TypeError: me.cljs$core$IMapEntry$_key$arity$1 is not a function]