Skip to content

Instantly share code, notes, and snippets.

@job25721
Created January 21, 2022 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save job25721/5fb4b7a6e92b0387dfef040f24fddfd4 to your computer and use it in GitHub Desktop.
Save job25721/5fb4b7a6e92b0387dfef040f24fddfd4 to your computer and use it in GitHub Desktop.
import { Module } from '@nestjs/common';
import { GraphQLModule } from '@nestjs/graphql';
import { UserModule } from './user/user.module';
@Module({
imports: [
GraphQLModule.forRoot({
autoSchemaFile: true,
}),
UserModule,
],
providers: [],
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment