Skip to content

Feat/boards#71

Open
maksberegovoi wants to merge 14 commits into
devfrom
feat/boards
Open

Feat/boards#71
maksberegovoi wants to merge 14 commits into
devfrom
feat/boards

Conversation

@maksberegovoi
Copy link
Copy Markdown
Collaborator

No description provided.

@maksberegovoi maksberegovoi requested a review from soorq May 8, 2026 18:49
Comment thread src/boards/application/controller/views/swagger.ts Outdated
Comment thread src/boards/application/controller/views/swagger.ts Outdated
Comment thread src/boards/application/controller/views/swagger.ts Outdated
Comment thread src/boards/application/use-cases/create-board-view.use-case.ts Outdated
Comment thread src/boards/application/use-cases/delete-board-view.use-case.ts Outdated
Comment thread src/boards/application/controller/views/controller.ts Outdated
Comment thread src/boards/application/controller/columns/swagger.ts Outdated
Comment thread src/boards/application/controller/columns/controller.ts Outdated
Comment thread src/boards/application/controller/boards/swagger.ts Outdated
@maksberegovoi maksberegovoi marked this pull request as ready for review May 18, 2026 09:03
ApiResponse({
status: 201,
description: 'Представление создано',
type: CreateBoardViewResponse.Output,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Тут я тебе говорил, нету смысла лепить createResponse, зачем, мы в дальнейшем с фронтом уже обсудим, чтоб он хотел видеть, и уже доделаем response контракты, а пока описывать и отдавать фулл схемы после создания - зачем.. на 1ом контракте с действием идем ведь

code: 'DELETE_FAILED',
message: 'Не удалось удалить колонку доски',
},
HttpStatus.SERVICE_UNAVAILABLE,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Спорно, но окей, пока пусть будет так

code: 'DELETE_FAILED',
message: 'Не удалось удалить доску',
},
HttpStatus.SERVICE_UNAVAILABLE,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

unavailable отдаст прокси, если чет навернется, либо хелз, но методы не должны такого уметь делать)

projectId: string,
userId: string,
dto: CreateBoardDto,
): Promise<CreateBoardResponse> {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Все типы переделай на zodContract, чтоб точно держать в деле и типы, и ответы

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.

2 participants