Too Long; Didn't Read
The Easiest Way to Solve N+1 Problem on GraphQL is solving N-1 problem. Use this package https://github.com/oney/sequelize-proxy to solve this problem. It creates built-in dataloaders to collect hasOne, belongsTo, hasMany relation query with where, order, etc. You don’t have to deal with any of these by yourself. The disadvantage of this method is we have to declare a data loader for each model in our ORM.