0.2.1 • Published 5 months ago

@carretto/http v0.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 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.1

5 months ago

0.2.0

5 months ago

0.1.7

8 months ago

0.1.6

11 months ago

0.1.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago