dpd-dataloader-collection

0.0.1 • Public • Published

dpd-dataloader-collection

A deployd collection that uses dataloader to batch and cache queries

Usage

A collection that uses Facebook's Dataloader in order to batch and cache requests. It works like a regular collection. In order to migrate from a common collection to a dataloader collection you just need to go to the collection's config file and change:

{
  "type": "Collection",
  ...
}

to

{
  "type": "DataloaderCollection",
  ...
}

Issues and Pull Requests are welcome.

Thank you!

Readme

Keywords

none

Package Sidebar

Install

npm i dpd-dataloader-collection

Weekly Downloads

4

Version

0.0.1

License

ISC

Last publish

Collaborators

  • andrei.alecu
  • rgolea