설치
yarn add @nestjs/graphql
yarn add apollo-server-express
yarn add graphql-tools
yarn add type-graphql
yarn add graphql
app.module.ts
...
import { GraphQLModule } from '@nestjs/graphql';
@Module({
imports: [
GraphQLModule.forRoot({ autoSchemaFile: 'schema.gql' }),
...
],
...