Skip to content

Commit

Permalink
update getCommittedArtifacts to support multiple schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
borisno2 committed May 15, 2024
1 parent cff9d60 commit 653b175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function getCommittedArtifacts (config: __ResolvedKeystoneConfig, graphQLS
const prismaSchema = printPrismaSchema(config, lists)
return {
graphql: getFormattedGraphQLSchema(printSchema(graphQLSchema)),
prisma: await formatSchema({ schema: prismaSchema }),
prisma: (await formatSchema({ schemas: [[config.db.prismaSchemaPath, prismaSchema]] }))[0][1],
}
}

Expand Down

0 comments on commit 653b175

Please sign in to comment.