Fix msgspec enum discriminator tag#3170
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughSets msgspec.Struct variant ChangesEnum Discriminator Literal Resolution
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Poem
🚥 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 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 |
|
📚 Docs Preview: https://pr-3170.datamodel-code-generator.pages.dev |
Merging this PR will not alter performance
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3170 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 93 93
Lines 20025 20027 +2
Branches 2338 2338
=========================================
+ Hits 20025 20027 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fcb57e6 to
9b08b55
Compare
Breaking Change AnalysisResult: No breaking changes detected Reasoning: The PR contains two categories of changes: (1) A bug fix for msgspec discriminator tag generation (parser/base.py), changing from This analysis was performed by Claude Code Action |
|
🎉 Released in 0.58.0 This PR is now available in the latest release. See the release notes for details. |
Fixes #3152
Summary by CodeRabbit
Release Notes
Bug Fixes
Tests