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

Convert lazy loading to eager of graphql resolvers. #275

Open
ilyaskarim opened this issue Feb 28, 2021 · 0 comments
Open

Convert lazy loading to eager of graphql resolvers. #275

ilyaskarim opened this issue Feb 28, 2021 · 0 comments
Milestone

Comments

@ilyaskarim
Copy link
Collaborator

Right now we are using lazy loading of Database items instead of eager loading. We need to use eager loading because if there are 5000 items then probably this will impact a lot on the server. Because for each item or relation the graphql resolver is running a different SQL query.

  • This will be fixed through Sequelize Associations.
@ilyaskarim ilyaskarim added this to the v2.5 milestone Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant