This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-17
Channels
- # bangalore-clj (1)
- # beginners (23)
- # boot (141)
- # cider (68)
- # cljs-dev (29)
- # cljsjs (1)
- # cljsrn (11)
- # clojure (150)
- # clojure-austin (3)
- # clojure-berlin (1)
- # clojure-france (2)
- # clojure-greece (13)
- # clojure-italy (5)
- # clojure-russia (49)
- # clojure-spec (15)
- # clojure-uk (45)
- # clojurescript (152)
- # code-art (1)
- # core-async (75)
- # cursive (12)
- # datascript (2)
- # datomic (90)
- # dirac (5)
- # emacs (10)
- # garden (1)
- # hoplon (52)
- # instaparse (4)
- # juxt (2)
- # lein-figwheel (2)
- # lumo (47)
- # mount (94)
- # off-topic (20)
- # om (21)
- # onyx (14)
- # parinfer (19)
- # pedestal (3)
- # protorepl (13)
- # re-frame (5)
- # reagent (20)
- # slack-help (10)
- # spacemacs (8)
- # specter (57)
- # unrepl (11)
- # untangled (3)
- # vim (1)
- # yada (1)
Just to verify - should I expect to get back resolutions to both tempids for my widget requests if I have a transaction with two mutations named the same thing? Or does one end up overriding the other?
@therabidbanana hah, I was thinking about that behavior a week or 2 ago
yeah, the result of mutations is a map so the same symbol will be overridden
Okay, so it's not an underlying bug in untangled, but just how the om parser itself works right now?
I can pretty easily create a new mutation to work around it, just seemed straightforward to map over my list of tempids (and other parameters) to create a combined transaction rather than a new mutation
it’s om next behavior
would have to think about whether it’s a bug or not
Yeah - I could see it going either way. It's just that I expected it to work because it felt like it should with transactions being data and all. 🙂
But in the end it is probably encouraging me to a better pattern of a combined mutation to represent this case, so I can see it going either way
Any thoughts on the next steps for this PR ? https://github.com/omcljs/om/pull/857 The aim is to allow dynamic queries (i.e. set-query for datascript backed state) The next step is to integrate with get-query, set-query, thoughts/comments welcome.
hello guys, this is an article I just wrote on making draggable elements with om.next => https://medium.com/@baptistedupuch/building-drag-and-drop-elements-with-om-next-836cff477b72#.14m1zl4sv
Is there a link to a running demo/repo of this piece? I’d like to see how it looks. 🙂
hey nope, was “lazy” but I should build a github pages
have you had the time to read it ?
I haven’t had the time to read it in detail, sorry! I scanned it though, and found that it is of interest to me.
please give me feedbacks as I am still new to om.next