This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-18
Channels
- # adventofcode (69)
- # babashka (21)
- # beginners (246)
- # calva (49)
- # chlorine-clover (19)
- # circleci (3)
- # clj-kondo (38)
- # cljsrn (1)
- # clojure (52)
- # clojure-australia (2)
- # clojure-europe (41)
- # clojure-nl (5)
- # clojure-spec (4)
- # clojure-taiwan (2)
- # clojure-uk (28)
- # clojurescript (12)
- # cryogen (6)
- # cursive (6)
- # datahike (3)
- # deps-new (5)
- # fulcro (2)
- # garden (1)
- # graalvm (3)
- # hoplon (48)
- # jackdaw (6)
- # jobs (3)
- # kaocha (6)
- # malli (3)
- # off-topic (51)
- # rdf (1)
- # reagent (40)
- # reitit (32)
- # remote-jobs (1)
- # reveal (24)
- # shadow-cljs (21)
- # startup-in-a-month (5)
- # xtdb (8)
Figured it out. I was concentrating on getting the mechanism of Fulcro so much so that I forgot these are simply Clojure codes. Solved it with a condp.
@yubrshen Great to hear you got through chapter 4. There is a lot of information and, in my case, it was mostly stuff I had never encountered before so grasping it all is an accomplishment in itself! Re: Queries - have you downloaded and installed the Fulcro Inspect? https://github.com/fulcrologic/fulcro-inspect It is an essential tool in my view and it has an “EQL” tab which allows you to learn how to write queries against your running data. I prefer the Electron app as you get the freshest fixes from Tony without having to wait for the Chrome store updates. Re: Database model - While Fulcro’s client db is a graph database it does not assume that your remote is a graph database. But understanding the EQL / Pathom query syntax is very important - the authors of Pathom, Tony and Wilker Lucio have written great docs on Pathom which really helped me figure out the basics of queries: https://blog.wsscode.com/pathom/v2/pathom/2.2.0/introduction.html Remember: Pathom is the “glue” which ties the Fulcro front-end to virtually any datasource (sql, datomic, aps, whatever). If you know how to get data in and out of your DB then you can write a Pathom resolver to connect it to Fulcro.