Convert lazy loading to eager of graphql resolvers.
ilyaskarim opened this issue · comments
Ilyas Karim commented
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.