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

[Robert Rossmann](https://www.strv.com/blog/authors/robert-rossmann)  
Backend Engineer

---

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

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](https://www.apollographql.com/tutorials/dataloaders-dgs/02-the-n-plus-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](https://github.com/krislefeber/nestjs-dataloader) on this type of integration inspired our implementation.

---

Don't miss anything