feat: add data field to the employer notification so FE can build a l…#244
Conversation
|
Warning Review limit reached
More reviews will be available in 51 minutes and 6 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe employer notification system is extended with an optional ChangesEmployer Notification Data Payload
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
61639a8 to
ba68fec
Compare
Description
Adds the raw
dataobject to the employer notification list response so the frontend can build navigation links itself instead of relying on the backend'slinkentity mapping.Related Issue (Link to Github issue)
N/A
Motivation and Context
The backend doesn't know how the routing system works on the backend, so the
linkobject (which encodes entity IDs and types) is insufficient. By returning the fulldatapayload — includingofferId,candidateUserId,candidateName,roleTitle, andaction, the frontend can construct its own routes.How Has This Been Tested?
employer.service.spec.tsto assert the newdatafield.Screenshots (if appropriate - Postman, etc):
N/A
Types of changes
Checklist:
Summary by CodeRabbit