Skip to content

Commit 94de4ac

Browse files
committed
fix(code-first): respect new apollo loader
1 parent 7624329 commit 94de4ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/apollo/tests/code-first/app.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import { RecipesModule } from './recipes/recipes.module';
1111
RecipesModule,
1212
DirectionsModule,
1313
CatsModule,
14-
GraphQLModule.forRoot({
14+
GraphQLModule.forRoot<ApolloDriverConfig>({
15+
driver: ApolloDriver,
1516
debug: false,
1617
installSubscriptionHandlers: true,
1718
autoSchemaFile: true,

0 commit comments

Comments
 (0)