Created
December 15, 2020 00:53
-
-
Save kuccello/81784b8478c548840d4dfaf9c5031a7e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Module } from '@nestjs/common'; | |
import { GraphQLModule } from '@nestjs/graphql'; | |
import { AppController } from './app.controller'; | |
import { AppService } from './app.service'; | |
import { GraphqlConfigService } from './gql.config' | |
@Module({ | |
imports: [ | |
GraphQLModule.forRootAsync({ | |
useClass: GraphqlConfigService, | |
}) | |
], | |
controllers: [AppController], | |
providers: [AppService], | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment