Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8fb19de

Browse files
fix missing imports array
fix missing imports array in forFeatureWithConnection
1 parent 996066a commit 8fb19de

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/app/homepage/pages/techniques/sql/sql.component.ts‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,11 @@ export class ApplicationModule {}`;
200200
get forFeatureWithConnection() {
201201
return `
202202
@Module({
203-
TypeOrmModule.forFeature([Photo]),
204-
TypeOrmModule.forFeature([Person], 'personsConnection'),
205-
TypeOrmModule.forFeature([Album], 'albumsConnection')
203+
imports: [
204+
TypeOrmModule.forFeature([Photo]),
205+
TypeOrmModule.forFeature([Person], 'personsConnection'),
206+
TypeOrmModule.forFeature([Album], 'albumsConnection')
207+
]
206208
})
207209
export class ApplicationModule {}`;
208210
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /