Fork me on GitHub
#om
<
2017-03-11
>
peeja18:03:46

tree->db / normalize* appears to fall apart when keys in the query have params. Does that sound right, or am I doing something wrong?

peeja18:03:48

For instance, in this (let [[k sel] (util/join-entry expr) …): https://github.com/omcljs/om/blob/master/src/main/om/next.cljc#L1956

peeja18:03:42

If the key of the join entry has params, k will look like (:key {:some-params})

peeja18:03:09

but later it looks up the value in the data as (get data k)

peeja18:03:59

Or does Om expect the key params to be in the keys in the response?

anmonteiro18:03:01

@peeja sounds like a bug

peeja20:03:00

Actually, now that I'm playing with it, having the params in the response is pretty helpful. 🙂

anmonteiro20:03:03

@peeja in the tree->db response?