Skip to content

Comments

Viktors dolzenko task/2#51

Open
ViktorsDolzenko wants to merge 5 commits intoviktors-dolzenkofrom
viktors-dolzenko--task/2
Open

Viktors dolzenko task/2#51
ViktorsDolzenko wants to merge 5 commits intoviktors-dolzenkofrom
viktors-dolzenko--task/2

Conversation

@ViktorsDolzenko
Copy link
Collaborator

No description provided.

@ViktorsDolzenko ViktorsDolzenko changed the base branch from main to viktors-dolzenko February 17, 2026 16:30
@github-actions
Copy link

github-actions bot commented Feb 17, 2026

Test Results

20 tests   20 ✅  1s ⏱️
12 suites   0 💤
12 files     0 ❌

Results for commit 54b8a1d.

♻️ This comment has been updated with latest results.

LocalDate fromDate = input.fromDate();
LocalDate toDate = input.toDate();

if ("summary".equalsIgnoreCase(input.normalizedFormat())) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Try to refactor this field to enum

Criteria dateCriteria = buildDateCriteria(from, to);

GroupOperation groupByUserAndCompletion =
Aggregation.group("createdBy", "completed").count().as("count");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Usually we define such string as constants. May be even in dedicated file if there are many related constants

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