Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant