0.2.2 • Published 11 months ago

@carretto/http v0.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

@carretto/http

This is the adapter to use carretto with resources over http.

Install

npm i @carretto/http

Usage

const loader = new DataloaderHttp()

// resolver.ts


export async function(
  source,
  args,
  context,
  info
) {
  await loader.load({ query: args.query, projection: myFunctionToGetProjection(info), skip: args.skip, limit: args.limit })
}
0.2.2

11 months ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago