Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Add home number 4 #4

Merged
merged 3 commits into from
Jan 14, 2025
Merged

FEAT: Add home number 4 #4

merged 3 commits into from
Jan 14, 2025

Conversation

Dimash95
Copy link
Contributor

No description provided.

@jsru-1
Copy link
Contributor

jsru-1 commented Dec 31, 2024

Проверьте, пожалуйста, ваше решение, не все тесты прошли (PR не будет принят до тех пор, пока все добавленные задачи не будут решены).

1 similar comment
@jsru-1
Copy link
Contributor

jsru-1 commented Dec 31, 2024

Проверьте, пожалуйста, ваше решение, не все тесты прошли (PR не будет принят до тех пор, пока все добавленные задачи не будут решены).

@jsru-1
Copy link
Contributor

jsru-1 commented Jan 7, 2025

Добавляю преподавателя (@tadjik1) для код-ревью.

@jsru-1 jsru-1 requested a review from tadjik1 January 7, 2025 08:24
export class AppModule implements NestModule {
configure(consumer: MiddlewareConsumer) {
consumer.apply(LoggingMiddleware).forRoutes({
path: "ab*cd",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

TypeOrmModule.forRoot({
type: "sqlite", // Тип базы данных
database: "db.sqlite", // Файл базы данных
entities: [Task], // Список сущностей
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

как альтернатива можно использова autoLoadEntities

Copy link

@tadjik1 tadjik1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

отличное решение 👍

@jsru-1 jsru-1 merged commit 16fc872 into js-tasks-ru:master Jan 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants