@graphback/codegen-resolvers
GraphQL-Code-Generator compatibile schema generator
Last updated 5 years ago by aerogear-ci .
Apache-2.0 · Original npm · Tarball · package.json
$ npm install @graphback/codegen-resolvers 
SYNC missed versions from official npm registry.

Graphback


Auto generate database structure,
GraphQL Resolvers and Queries from GraphQL types 🚀

Documentation: https://graphback.dev Repository: https://github.com/aerogear/graphback/

Graphback-Codegen-Resolvers

Generator for Graphback Resolver layer. Supports generating resolvers using typescript or javascript languages

Usage

import { generateResolvers } from "@graphback/codegen-resolvers"
import { graphQLInputContext } from "@graphback/core"

const inputContext = graphQLInputContext.createModelContext(schemaText, {})
const resolverOptions = {
  format: 'ts',
  types: {
    typesImportStatement: 'import { Resolvers } from "../../generated-types"',
    resolverType: 'Resolvers',
  }
};

const resolvers = generateResolvers(inputContext, resolverOptions);

Current Tags

  • 0.10.0-dev4                                ...           dev (5 years ago)
  • 0.12.1                                ...           latest (4 years ago)
  • 0.14.0-alpha3                                ...           next (4 years ago)

31 Versions

  • 0.14.0-alpha3                                ...           4 years ago
  • 0.12.1                                ...           4 years ago
  • 0.14.0-alpha2                                ...           4 years ago
  • 0.14.0-alpha1                                ...           4 years ago
  • 0.14.0-dev3                                ...           4 years ago
  • 0.14.0-dev2                                ...           4 years ago
  • 0.14.0-dev1                                ...           5 years ago
  • 0.12.0                                ...           5 years ago
  • 0.11.4                                ...           5 years ago
  • 0.11.3                                ...           5 years ago
  • 0.11.2                                ...           5 years ago
  • 0.11.1                                ...           5 years ago
  • 0.11.0                                ...           5 years ago
  • 0.11.0-rc6                                ...           5 years ago
  • 0.11.0-rc5                                ...           5 years ago
  • 0.11.0-rc4                                ...           5 years ago
  • 0.11.0-rc3                                ...           5 years ago
  • 0.11.0-rc2                                ...           5 years ago
  • 0.11.0-dev3                                ...           5 years ago
  • 0.11.0-dev2                                ...           5 years ago
  • 0.11.0-rc1                                ...           5 years ago
  • 0.11.0-alpha1                                ...           5 years ago
  • 0.10.2                                ...           5 years ago
  • 0.10.1                                ...           5 years ago
  • 0.10.0                                ...           5 years ago
  • 0.10.0-rc3                                ...           5 years ago
  • 0.10.0-dev4                                ...           5 years ago
  • 0.10.0-dev3                                ...           5 years ago
  • 0.10.0-rc2                                ...           5 years ago
  • 0.10.0-rc1                                ...           5 years ago
  • 0.10.0-dev2                                ...           5 years ago
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (9)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE