om

Please ask the channel first, not @dnolen directly!
2017-03-17T00:28:19.865782Z

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?

anmonteiro 2017-03-17T00:30:11.881190Z

@therabidbanana hah, I was thinking about that behavior a week or 2 ago

anmonteiro 2017-03-17T00:30:27.883532Z

yeah, the result of mutations is a map so the same symbol will be overridden

2017-03-17T00:30:53.887162Z

Okay, so it's not an underlying bug in untangled, but just how the om parser itself works right now?

2017-03-17T00:31:50.895436Z

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

anmonteiro 2017-03-17T00:34:01.912981Z

it’s om next behavior

anmonteiro 2017-03-17T00:34:20.915531Z

would have to think about whether it’s a bug or not

2017-03-17T00:34:57.920692Z

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. 🙂

2017-03-17T00:35:51.928092Z

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

foobar 2017-03-17T10:22:19.543537Z

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.

foobar 2017-03-17T12:57:58.392374Z

What is the :component used for in query metadata?

baptiste-from-paris 2017-03-17T13:01:43.450650Z

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

👍 1
4
baptiste-from-paris 2017-03-17T13:02:11.457500Z

please give me feedbacks as I am still new to om.next

levitanong 2017-03-17T14:48:10.522976Z

Is there a link to a running demo/repo of this piece? I’d like to see how it looks. 🙂

baptiste-from-paris 2017-03-17T15:27:28.441009Z

hey nope, was “lazy” but I should build a github pages

baptiste-from-paris 2017-03-17T15:28:41.469135Z

have you had the time to read it ?

levitanong 2017-03-17T17:12:42.798218Z

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.

baptiste-from-paris 2017-03-17T17:14:03.825652Z

great

peeja 2017-03-17T18:56:31.927097Z

@foobar The :component is used for normalization: when a component class has an ident, the data that part of the query fetches is moved into a table and referenced with a link.

peeja 2017-03-17T18:56:47.932243Z

It may be used for other things too, but that one comes to mind