nodejs/api/src/apollo.ts
Function main
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const main = async () => {
// https://github.com/MichalLytek/type-graphql/issues/869#issuecomment-824887201
(global as any).schema =
(global as any).schema ||
(await buildSchema({