sfcpc / housing-dashboard

4 stars 0 forks source link

Some child nodes don't have parent populated. #9

Closed sbuss closed 4 years ago

sbuss commented 4 years ago

Sometimes we get records with children=[1,2,3], and the corresponding child nodes don't have parents populated. This necessitated changing to a graph data structure for all records. Ultimately this ended up a bit cleaner while also being more correct.

sbuss commented 4 years ago

Worth noting that this is still wrong -- some children aren't getting associated with their parent, but I'm still writing tests so eventually we'll get there.

sbuss commented 4 years ago

Worth noting that this is still wrong -- some children aren't getting associated with their parent, but I'm still writing tests so eventually we'll get there.

fixed it