cult-of-coders/grapher

Aggregated results don't apply collection's transform

Floriferous opened this issue · 2 comments

Grapher relies on mongo aggregations to perform queries sometimes. Aggregations don't apply a collection's transform to them, leading to very inconsistent results.

On the server for example, depending on if you fetch 2 linked documents one way or the other (virtual link, or not), the transform will not be applied.

This is what I meant in #186.

That's a great find. We'll have to implement this.

This will be fixed if we merge #400 :)