keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
sooheon 2018-01-12T00:39:25.000001Z

Thanks, looking at it now.

sooheon 2018-01-12T01:06:12.000222Z

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.

sooheon 2018-01-12T02:18:14.000203Z

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?

sooheon 2018-01-12T02:30:29.000210Z

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

👍 1
mihaelkonjevic 2018-01-12T07:34:54.000035Z

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

mihaelkonjevic 2018-01-12T17:41:12.000093Z

@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

mihaelkonjevic 2018-01-12T17:41:23.000614Z

@mihaelkonjevic uploaded a file: https://clojurians.slack.com/files/U050986L9/F8S50QY8L/-.txt

sooheon 2018-01-12T19:18:41.000800Z

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

mihaelkonjevic 2018-01-12T21:40:13.000307Z

👍