This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-13
Channels
- # adventofcode (84)
- # aleph (1)
- # announcements (2)
- # aws (27)
- # beginners (52)
- # braveandtrue (2)
- # calva (440)
- # cider (7)
- # clara (2)
- # cljdoc (26)
- # cljs-dev (70)
- # clojure (131)
- # clojure-berlin (4)
- # clojure-brasil (1)
- # clojure-europe (2)
- # clojure-greece (4)
- # clojure-hamburg (1)
- # clojure-italy (4)
- # clojure-losangeles (6)
- # clojure-nl (14)
- # clojure-spec (7)
- # clojure-uk (25)
- # clojurescript (26)
- # component (2)
- # cursive (13)
- # datomic (60)
- # dirac (59)
- # docker (1)
- # figwheel (1)
- # figwheel-main (2)
- # fulcro (12)
- # graphql (5)
- # juxt (33)
- # leiningen (19)
- # nrepl (1)
- # off-topic (37)
- # protorepl (2)
- # re-frame (18)
- # reagent (46)
- # remote-jobs (1)
- # ring-swagger (1)
- # shadow-cljs (88)
- # sql (10)
- # tools-deps (64)
- # vim (24)
@tony.kay is there an idiomatic way to begin
a state machine from within another state machine?
Not at present. At the moment you need a mutation env to do that, and I have not written begin
to leverage the outer one. It is possible to add to the lib, but has not been done yet.
Ah, I see. Would you consider a feature request? 😄 I could put an issue up in github if you like, to serve as a to-do
Hahaha I’ll see what I can do 🙂
Anyone with an example of Pathom used together with Datomic?
Given [{[:person/by-id 13859] some-query}]
, do I have to list all possible keys in ::pc/output
?
Just pure datomic would be (d/pull db some-query 13859)
. (not equivalent function though).
Better to ask on #pathom. The keys you list in output go in the index. If you don’t put them there, then pretty sure pathom won’t necessarily know how to resolve them; however, it will use them if they end up there and they are asked for.
The answer is generally that you can put more in than you advertise to pathom and that won’t hurt..just consider the index implications.
Thank you, that answers my question
Hey @andreas862, as far as I know you do indeed have to list all possible keys in ::pc/output. It makes sense, you have to tell pathom what resolvers it can use to resolve a certain attribute.
That would make sense indeed. Probably I will continue without Pathom for a while. As for my use right now, Datomic in itself provides a good enough feature subset of Pathom.