Skip to content

Add Implement Events, Requests and Error handling - #4

Merged
Darya346 merged 24 commits into
mainfrom
main_svc
May 11, 2026
Merged

Darya346 merged 24 commits into
mainfrom
main_svc

Conversation

@Darya346

@Darya346 Darya346 commented May 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

return categoryService.updateCategory(catId, categoryDto);
}

@DeleteMapping("/{catId}")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Общие пути можно вынести в переменные для избежания дубляжей

compilationService.deleteCompilation(compId);
}

@PatchMapping("/{compId}")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Тоже самое

String name;
@NotBlank
@Size(min = 1, max = 50)
private String name;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Можно использовать @FieldDefaults

@Darya346
Darya346 merged commit 452c253 into main May 11, 2026
2 checks 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.

2 participants