GET /notificaitons #1154
Conversation
4eae1a2 to
451eb34
Compare
|
tests are nice ❤️ suggestion: you should implement tests for GET |
|
for notification frontend will most likely require message for |
|
@devnchill you could add @extend_schema for OPENAPI. Also, |
thanks 😄 , yeah I was aware about missing test for that but thought it would it would be best practice to write tests for |
430aa4e to
74b6806
Compare
|
resolved merge conflicts and rebased 😅 |
74b6806 to
b9a76fc
Compare
b9a76fc to
dbe75c6
Compare
Signed-off-by: Viena <169875752+devnchill@users.noreply.github.com>
|
Thanks for the PR and review. We'll indeed want the text content in the serialized text notifications. As for the suggestion notifications, we'll want the suggestion id so that the frontend or the user can query this suggestion later. I'm currently working on the suggestions API including the suggestion serializer so for now in this PR let's only return the suggestion_id. If needed in the future we can inline the suggestion in the response. |
86a0917 to
d096d0b
Compare
Signed-off-by: Viena <169875752+devnchill@users.noreply.github.com>
d096d0b to
44f9370
Compare
Related to #1024 (#1024 (comment))
notificationsnotifications