om

Please ask the channel first, not @dnolen directly!
sova-soars-the-sora 2017-03-15T04:41:59.583414Z

Hi, is there a way to process markdown in om.next?

cjmurphy 2017-03-15T05:24:27.838556Z

@sova: I did this little project that uses a library that reads markdown, that's an Untangled app: https://github.com/chrismurrph/wandering

sova-soars-the-sora 2017-03-15T16:45:50.970708Z

@cjmurphy cool! thanks

peeja 2017-03-15T19:57:30.319390Z

When you use recursion in a query, how much of it recurses? The whole thing?

peeja 2017-03-15T19:57:58.328943Z

(That doesn't seem very useful, as your root query probably doesn't apply at whatever position you're recursing from.)

anmonteiro 2017-03-15T20:08:51.559689Z

@peeja recurses forever

anmonteiro 2017-03-15T20:09:13.567017Z

You can use an integer instead of ... to limit recursion

peeja 2017-03-15T20:40:32.222249Z

I don't mean how deep, I mean how much of the query is "re-mounted" at the recursion point?

anmonteiro 2017-03-15T20:45:22.322519Z

@peeja hrm. so the current query is recursed in the normal case.

anmonteiro 2017-03-15T20:45:29.325238Z

in the union case, the union query is

peeja 2017-03-15T20:45:45.330637Z

The entire query from the root?

anmonteiro 2017-03-15T20:46:08.338824Z

no

peeja 2017-03-15T20:46:16.341434Z

Oh, "current" as in the key it's joined to?

adambros 2017-03-15T20:46:27.345518Z

[:id :title {:child …}] => [:id :title {:child [:id :title {:child …}]}] etc ?

anmonteiro 2017-03-15T20:46:39.349631Z

basically

peeja 2017-03-15T20:46:46.352022Z

That makes sense

sova-soars-the-sora 2017-03-15T21:09:43.825195Z

is there a way to force a re-read of keys outside of component scope?

adambros 2017-03-15T21:12:07.870087Z

@sova are you talking about in a transact!, a mutation, or?

sova-soars-the-sora 2017-03-15T21:12:37.879665Z

Yes, can I do a transaction outside of component scope?

adambros 2017-03-15T21:13:15.890623Z

for routing i’ve seen it done all the time, so yes?

sova-soars-the-sora 2017-03-15T21:14:35.915643Z

hm okay, I guess I don't know what to do with (om/transact! this ... ) where "this" is not defined.

sova-soars-the-sora 2017-03-15T21:19:21.003383Z

just pass it the reconciler directly?

adambros 2017-03-15T21:36:36.310895Z

yeah that’s what you are going to have to do, you aren’t in a component after all

sova-soars-the-sora 2017-03-15T21:39:04.352973Z

Cool.

sova-soars-the-sora 2017-03-15T21:39:11.354651Z

Thanks! 😄