Skip to content

Commit e9fb3fc

Browse files
committed
docs(readme): fix driver placement in .forRootAsync()
1 parent 4dd26e7 commit e9fb3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ Example of using the config service to generate `TypeGraphQLModule` options:
111111
ConfigModule,
112112
RecipeModule,
113113
TypeGraphQLModule.forRootAsync({
114+
driver: ApolloDriver,
114115
inject: [ConfigService],
115116
useFactory: async (config: ConfigService) => ({
116-
driver: ApolloDriver,
117117
cors: true,
118118
debug: config.isDevelopmentMode,
119119
playground: !config.isDevelopmentMode,

0 commit comments

Comments
 (0)