How to use the @graphback/codegen-schema.createSchema function in @graphback/codegen-schema

To help you get started, we’ve selected a few @graphback/codegen-schema examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Urigo / graphql-cli / packages / commands / generate / src / index.ts View on Github external
export async function createBackendFiles(cwd: string, inputContext: InputModelTypeContext[], config: GenerateConfig) {
  const resolvers = createResolvers(inputContext, config.generator.resolvers);
  const schema = createSchema(inputContext, config.generator.schema);

  await Promise.all([
    createSchemaFile(cwd, schema, config),
    createResolversFiles(cwd, resolvers, config)
  ])
}

@graphback/codegen-schema

GraphQL-Code-Generator compatibile schema generator

Apache-2.0
Latest version published 4 years ago

Package Health Score

45 / 100
Full package analysis

Similar packages