Fork me on GitHub
#keechma
<
2018-01-12
>
sooheon00:01:25

Thanks, looking at it now.

sooheon01:01:12

Nice, so the link I was missing was the filter datasource, passing through its prev value from its params. I tried to do that part with direct access to the kv store in the real-stats datasource and couldn’t get it right.

sooheon02:01:14

I want a dataloader to run two ajax calls, and store result in a map under the target path: {:call1 […] :call2 […]}. But making the return of loader a map like this causes the internal promises not to be deref’d, is there a manual promesa function I can call on them, or is this part of the API that loader must return a top level ajax call?

sooheon02:01:29

^ignore the promise question, I took a look at promesa docs :p

mihaelkonjevic07:01:54

You must define the data source even if it’s only a “pass through” resource. That way dataloader code can be much simpler - because dependencies between the datsources are explicit instead of depending on arbitrary data from app-db

mihaelkonjevic17:01:12

@sooheon I’ve tried to install your app to check what’s going on with the routing, but I get some weird errors when I run boot dev

sooheon19:01:41

Ah sorry, I forgot I had some local dependencies! I’ll let you know when I’ve published them tomorrow.