This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-01
Channels
- # aleph (4)
- # arachne (24)
- # beginners (231)
- # boot (4)
- # cider (63)
- # clara (36)
- # cljs-dev (57)
- # clojure (195)
- # clojure-dev (12)
- # clojure-gamedev (2)
- # clojure-greece (1)
- # clojure-italy (10)
- # clojure-poland (4)
- # clojure-spec (36)
- # clojure-uk (65)
- # clojurescript (133)
- # core-async (8)
- # core-logic (2)
- # cursive (18)
- # data-science (3)
- # datomic (58)
- # defnpodcast (3)
- # duct (2)
- # emacs (2)
- # fulcro (27)
- # graphql (3)
- # hoplon (18)
- # jobs (2)
- # jobs-discuss (10)
- # jobs-rus (1)
- # lumo (1)
- # mount (6)
- # nyc (2)
- # off-topic (27)
- # pedestal (13)
- # re-frame (71)
- # reagent (105)
- # reitit (4)
- # ring (2)
- # ring-swagger (1)
- # rum (10)
- # shadow-cljs (172)
- # spacemacs (24)
- # sql (26)
- # tools-deps (1)
- # uncomplicate (4)
- # unrepl (51)
- # vim (3)
- # yada (11)
@wilkerlucio Any idea what it means when
[fulcro.client.impl.application] Mutation fulcro.inspect.ui.transactions/add-tx failed with exception Error: Assert failed: Path [:fulcro.inspect.ui.transactions/tx-list-id [:fulcro.inspect.core/app-id some-app.ui.root/Root] :fulcro.inspect.ui.transactions/tx-list] for append must target an app-state vector.
(vector? (get-in state data-path))
I saw that a few times, are in the latest version?
Yes, it’s in the latest version.
ok, can you open an issue on inspect with a minimum case, it's easy to reproduce?
I will try!
@U15BH4U4V you can follow the progress of the issue here: https://github.com/fulcrologic/fulcro-inspect/issues/31
@U15BH4U4V I just sent a new snapshot that might fix it, please check the details on the link sent by @U0BR5D7A6
Thank you @wilkerlucio! The error is gone!😄
glad to hear 🙂
That’s odd, doesn’t seem to have fixed it on my end.
woops, silly me. somehow it was showing up twice in my dependencies, and the other wasn’t updated.
it works now!
FYI: Anyone wanting to try out cljs 1.10 I’ve just pushed 2.3.1-SNAPSHOT to clojars. There were two minor changes needed for it to work. I’ve not done extensive testing, but I do a formal release as soon as I get some reports of larger applications working.
@wilkerlucio how do I access to top level AST from my outermost wrap-parser plugin?
I want a plugin that read top level AST, calculate a value from the AST and inject to env so the all reader plugins can access the value
@myguidingstar given this is the wrap-parser signature: (fn [parser] (fn [env tx]))
, the tx
is your full query, so you can call query->ast
on it to get the full source ast
I know, but I guess that's duplication
anything else to achieve the same goal?
not that I know, because the parser make this internally, currently it is kind wasterful, it calls query->ast on every recursive call, but for server processing thats usually not a problem
I see, so one more is no big deal 🙂
where is query->ast?
fulcro primitives
ok, I thought we've decoupled pathom from fulcro
not yet, but it might be in future
thank you very much
no problem