Fork me on GitHub
#om
<
2016-08-17
>
anmonteiro22:08:45

@solussd: your query might not always be a map after a mutation

anmonteiro22:08:11

as in, after a mutation, the query that the parser gets is om.next/full-query

anmonteiro22:08:25

which will probably not be the union query

solussd22:08:04

@anmonteiro: after mutating :app/route, route-query in my snippet is the correct part of the union query.

solussd23:08:16

in fact, I make it all the way to returning {:remote (assoc ast :query-root true)} from the recursively-called read handlers, but it never makes it to my send function. 😕

solussd23:08:50

I don’t think I understand what sets env’s :target in my :app/route-data read method

solussd23:08:25

but I do see that it is set to :remote (instead of nil) when it “works”. @anmonteiro ^