Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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)
])
}