Fork me on GitHub
#om
<
2017-09-09
>
steveb8n01:09:32

A question about thunks in parser mutations. When used in a server side parser, can I assume that the thunk will be invoked syncronously i.e. I can access return values. I know this is not possible in a client parser but it simplifies things if it can be used this way in a server side parser.

cjhowe01:09:21

in case anyone is interested in seeing how to do an om.next backend parser with SQL, here's a small one I built https://gist.github.com/cjhowe7/88e943ac7eefeda086f3a61eb1123712

cjhowe05:09:31

is there some way to get om.next to use the tempids returned by my server parser's :action thunk? it keeps putting it under [:result :tempids], which breaks default-merge