fix: resolve issue #1403 - Validate Start and End Date Order for Hackathons#1404
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds date-ordering validation to hackathon creation and refactors test mock syntax in the ATS service tests. The first change enforces that event end dates cannot be earlier than start dates; the second updates mock implementations across three test cases to use explicit function syntax without altering test behavior. ChangesHackathon Date Validation
ATS Service Test Mock Refactoring
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 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 |
|
Hi @sonusharma6-dsa, thanks for contributing to InternHack! 🎉 I have automatically:
Our workflows will now analyze your changes to classify:
Tip Ensure your PR description references the issue it resolves (e.g. Happy coding! 🚀 |
766bc84 to
178517e
Compare
178517e to
8313187
Compare
Code Review — PR #1404: Validate hackathon start/end date orderHi @sonusharma6-dsa, the validation logic is correct for the create path. Found one issue with how the partial schema inherits the refine. 🔴
|
I resolved it. Thanks for the suggestion. |
97a7129
into
Sachinchaurasiya360:main
Closes #1403
Summary by CodeRabbit