Robert Rossmann1 min

Introducing strv/nestjs-dataloader for Nest.js + GraphQL

BackendJul 16, 2025

Backend

/

Jul 16, 2025

Robert RossmannBackend Engineer

Share this article

We’re excited to announce the release of our new npm package: @strv/nestjs-dataloader— a simple, seamless integration between the Nest.js framework and Dataloader for your GraphQL backends. Check it out!

At STRV, we’ve been building GraphQL backends for years and quickly realized that Dataloader is essential for delivering top performance (read about the N+1 problem). When we began implementing backends in Nest.js and added Dataloader, we saw an opportunity to generalize the integration and make it available for any Nest.js GraphQL project. And that’s how nestjs-dataloader was born.

While we’ve been using this implementation internally and testing it on multiple projects, this is an initial pre-production release. We’ll be gradually rolling it into new projects, addressing bugs and refining the experience. If you spot an issue or have ideas for improvements, please open an issue in the GitHub repo.

We hope this integration helps you as much as it’s helped us.

And lastly, a big thank you to Kris Lefeber, whose previous work on this type of integration inspired our implementation.

Share this article


Sign up to our newsletter

Monthly updates, real stuff, our views. No BS.