Notification validation
Encountered an issue with notifications:
I was mentioned in a socra, the socra was deleted, which s
Encountered an issue with notifications:
- I was mentioned in a socra, the socra was deleted, which set notification `target` null, but notification was not deleted.
- This caused error on client because client was expecting non-null target for that notification type.
Fixes:
- [x] Find scenario causing null target for mention notification
- [x] implement zod schema validation for notifications**Issue**: Encountered an issue with notifications where a notification's target became null after being mentioned in a deleted socra, causing an error on the client.
**Fixes**:
- Find scenario causing null target for mention notification
- Implement zod schema validation for notificationsBy Mike Morton