Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregated results don't apply collection's transform #420

Open
Floriferous opened this issue Apr 4, 2020 · 2 comments
Open

Aggregated results don't apply collection's transform #420

Floriferous opened this issue Apr 4, 2020 · 2 comments

Comments

@Floriferous
Copy link
Contributor

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.

@theodorDiaconu
Copy link
Contributor

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

@Floriferous
Copy link
Contributor Author

This will be fixed if we merge #400 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants