DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and reduce requests to those backends via batching and caching.
Why do you think that https://github.com/slicknode/graphql-query-complexity is a good alternative to dataloader