graphtoaster-generate-resolver
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

graphtoaster-generate-resolver

For generating resolver files for GraphToaster framework.

Example

import { generateResolver } from "graphtoaster-generate-resolver";

generateResolver({
  force: false,
  name: "get-users",
  path: "./resolvers"
});

API

generateResolver({ force, name, path })

Generates a new resolver file.

Option Type Required Default Description
force Boolean No false Set to true to override the existing file.
name String Yes - Resolver name.
path String No ./resolvers Resolver directory.

Readme

Keywords

none

Package Sidebar

Install

npm i graphtoaster-generate-resolver

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • xpepermint