normalisation suppressed if 1 entity is missing :id
stevebuik opened this issue · comments
Steve Buikhuizen commented
this works as expected
(->> {:id "100"
:name "Steve"
:cars [{:id "123"
:name "Audi"}
{
:id "124" ; <<<<< comment/remove this line
:name "Ford"}
{:id "125"
:name "Tesla"}]}
dx/normalize)
but if one of the cars has no id, the none of the cars are normalised.
is this intentional?
it would be better for dev/debug if the valid cars were still normalised.
maybe a log msg could indicate that one was skipped? not sure how log tooling works and if that's something you consider desirable?