Skip to content

Commit 3293dfe

Browse files
committed
Remove unnecessary makeSchema
Signed-off-by: Arda TANRIKULU <[email protected]>
1 parent 2a75bd6 commit 3293dfe

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/schema.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import 'reflect-metadata';
2-
import { makeExecutableSchema } from 'graphql-tools';
32
import { AppModule } from '@modules/app';
43

5-
// Ask for typeDefs without all schema with business logi
6-
const { typeDefs } = AppModule;
7-
export default makeExecutableSchema({
8-
typeDefs
9-
});
4+
// Ask for typeDefs without all schema with business logic
5+
export default AppModule.typeDefs;

0 commit comments

Comments
 (0)