Skip to content

Feature comments#3

Merged
andrej1307 merged 10 commits intomainfrom
feature_comments
Aug 13, 2025
Merged

Feature comments#3
andrej1307 merged 10 commits intomainfrom
feature_comments

Conversation

@andrej1307
Copy link
Owner

Дополнительная функциональность "Комментарии"

@Getter
@NoArgsConstructor
@ToString

Choose a reason for hiding this comment

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

Лишний отступ

@ResponseStatus(HttpStatus.NO_CONTENT)
public void deleteComment(@PathVariable Integer commentId,
@PathVariable Integer userId) {

Choose a reason for hiding this comment

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

Лишний отступ

@AllArgsConstructor
public class NewCommentDto {
@NotBlank(message = "Текст комментария должен быть задан.")
@Size(min = 3, max = 2000, message = "Длина комментария должна быть от 3 до 2000 символов.")

Choose a reason for hiding this comment

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

Хорошая валидация

@andrej1307 andrej1307 merged commit 7b4a592 into main Aug 13, 2025
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