Fork me on GitHub
#keechma
<
2019-06-01
>
carkh07:06:26

@mihaelkonjevic In order to understand the dataloader i'm doing a silly test project. I model a list of the typical web demo clickable counters. Each counter keeps a list of clicks as a master/detail relation

carkh07:06:44

the edb schema

carkh07:06:29

when i run this thing, i correctly get the counters in the entity-db

carkh07:06:15

in entity-db->counter->store->4 i can see my counter like this

carkh07:06:01

i was expecting the clicks to be normalized in their own table

carkh07:06:39

am i correct in this assumption (meaning i messed it up in some other place) or does the dataloader maybe just not do normalization ?

carkh07:06:21

The counters datasource

mihaelkonjevic14:06:07

@carkh it should be :relations, it seems you're missing s in the schema

carkh15:06:49

@mihaelkonjevic thanks again... pretty hard to know where to look at when i'm not even sure what's supposed to happen

carkh15:06:53

works now !

carkh15:06:08

maybe add some spec validation at some point, i find that's always a sore point with those map driven APIs

carkh15:06:38

i like the controller thing, i was able to add logging of the app-db in a couple minutes work