Skip to content

Conversation

vkoktashev
Copy link
Member

No description provided.

@vkoktashev vkoktashev requested review from Novtin and perlexed October 9, 2025 19:56
Comment on lines +69 to +73
@StringField({
label: 'Тип файла',
nullable: true,
})
fileType: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

Миграции для модели File у нас создаются же в проектах? Тогда получается что нужно в MigrationGuide написать чтобы запустили генерацию миграций после накатывания этого изменения.

Copy link
Member Author

Choose a reason for hiding this comment

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

Напишу, только MigrationGuide во время выпуска новой версии заполняется обычно. Или предлагаешь в рамках PR сразу набрасывать наброски?

Copy link
Contributor

Choose a reason for hiding this comment

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

В целом он только с выпуском новой версии нужен, но тогда надо как-то так сделать, чтобы это не забылось во время проверки новой версии...

Copy link
Member Author

Choose a reason for hiding this comment

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

Ну то есть добавить набросок в MigrationGuide? В отдельный раздел какой-нибудь типа Pending

Copy link
Contributor

Choose a reason for hiding this comment

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

Или может создать задачу, в которой прописать что нужно обновить версию и добавить конкретную инфу в MigrationGuide?

Copy link
Member Author

Choose a reason for hiding this comment

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

Я новые версии без задач оформляю обычно, прохожу по истории коммитов и всё записываю в описание версии и MigrationGuide

Copy link
Contributor

Choose a reason for hiding this comment

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

Получается, тогда в коммите это стоит отметить? Если по-правильному, то через BREAKING CHANGE: ...

Copy link
Member Author

Choose a reason for hiding this comment

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

Оно не особо то и BREAKING 🌚
А так я планировал сразу новую версию и выкатить, мне на проекте это обновление нужно. Так что не забуду

Copy link
Contributor

Choose a reason for hiding this comment

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

Оно не особо то и BREAKING 🌚

Да, но тогда надо придумать такие изменения, которые по факту не будут работать без дополнительных действий.

А так я планировал сразу новую версию и выкатить, мне на проекте это обновление нужно. Так что не забуду

Я бы отталкивался от процессов, а не от конкретных людей 🌚. Так что если не сложно, то зафиксируй это, хотя бы в задаче )

Copy link
Member Author

Choose a reason for hiding this comment

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

зафиксируй это, хотя бы в задаче )

оставил в задаче комментарий

Copy link
Contributor

@Novtin Novtin left a comment

Choose a reason for hiding this comment

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

Саша всё написал, мне нечего добавить

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