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

More efficient reference resolving #1

Open
tenry92 opened this issue Mar 18, 2018 · 0 comments
Open

More efficient reference resolving #1

tenry92 opened this issue Mar 18, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tenry92
Copy link
Owner

tenry92 commented Mar 18, 2018

Currently, references are resolved through GraphQL. If entity A references B, which references C, three mongo queries would be triggered.

Using the resolve info from GraphQL (get requested sub and sub-sub fields) and mongo's $lookup operation should change it to only a single mongo query.

@tenry92 tenry92 added the enhancement New feature or request label Mar 18, 2018
@tenry92 tenry92 self-assigned this Mar 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant