GET events/api/v1/app/party with invalid SSN returns 500 - #1088
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe party event endpoint now rejects non-empty ChangesPerson header validation
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized validation change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
|



Added format ssn/nin validation similar to what has been applied in the Notifications API:
https://github.com/Altinn/altinn-notifications/blob/c661a72206cf4fd62874770fed4f758c7146be9a/components/api/src/Altinn.Notifications/Validators/Rules/RecipientRules.cs#L183
Including tests
Description
See issue for description
Related Issue(s)
Verification
Documentation
Summary by CodeRabbit