-
Notifications
You must be signed in to change notification settings - Fork 555
feat: Update read status and apply filter for notifications #1998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
app/src/main/java/org/fossasia/openevent/general/notification/NotificationService.kt
Outdated
Show resolved
Hide resolved
3b460c6 to
d3c88e8
Compare
| val message: String? = null, | ||
| val receivedAt: String? = null, | ||
| val isRead: Boolean? = null, | ||
| @JsonRawValue var isRead: Boolean = false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrect solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please suggest the solution because KebabCaseStrategy is skipping the is word
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tried it. Not working -
@JsonProperty("is-read")
var isRead: Boolean = false,Still sending read
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
param not working, @get:JsonProperty is working fine, Updated 👍

Fixes #1984