Skip to content

FINERACT-1788: Split notification queries by read status#5988

Open
udayagiri-sivasai-dev wants to merge 1 commit into
apache:developfrom
udayagiri-sivasai-dev:FINERACT-1788-followup
Open

FINERACT-1788: Split notification queries by read status#5988
udayagiri-sivasai-dev wants to merge 1 commit into
apache:developfrom
udayagiri-sivasai-dev:FINERACT-1788-followup

Conversation

@udayagiri-sivasai-dev

Copy link
Copy Markdown
Contributor

Description

Splits the notification retrieval query into two explicit repository methods:

  • One method retrieves all notifications for the authenticated user.
  • One method retrieves only unread notifications.

This removes the nullable isRead parameter and avoids the EclipseLink parameter-binding issue when null is passed. The notification read service now calls the appropriate repository method for each use case.

Testing

  • .\gradlew.bat :fineract-provider:compileJava
  • .\gradlew.bat :fineract-provider:compileTestJava
  • .\gradlew.bat spotlessApply
  • .\gradlew.bat :integration-tests:test --tests "*NotificationApiTest*" --no-parallel --max-workers=1
  • git diff --check
  • git diff --cached --check

All completed successfully.

@adamsaghy adamsaghy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@udayagiri-sivasai-dev Please make sure, there is (integration or E2E) test to cover this functionality.

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