correct moderation review hydration (#17311)
* remove moderation reviews hydration * Restore hydration of moderation_reviews and handle correctly nested hydration is (i think) positional. So if you get something handed to you you must return something in that position. Prevoiusly was removing nils and then returning a smaller collection of hydrated items (cards here). But this meant input might look like this [card1 nil card2] and return [card1 card2] and in the nested hierarchy things didn't get matched up correctly. In the real world application it might look like this: ```clojure {:ordered-cards [{:card-id 1} {:card-id nil :viz-settings {info-for text-card}} {:card-id 2}]} ``` And the nil card comes into this function and we return them in a strange manner things get wonky
Please register or sign in to comment