fix: add NO_RAIQUB_SOURCEGENERATORS_POLYFILL flag to disable embedded polyfills#261
fix: add NO_RAIQUB_SOURCEGENERATORS_POLYFILL flag to disable embedded polyfills#261
Conversation
…d polyfills Guards the InternalPolyfill types behind the flag so that projects already providing equivalent types (e.g. via PolyFill) can opt out and avoid duplicate type definition errors. Documents the flag in both the root README and the CSharp.Sources README. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #261 +/- ##
=======================================
Coverage 88.88% 88.88%
=======================================
Files 19 19
Lines 1332 1332
Branches 101 101
=======================================
Hits 1184 1184
Misses 104 104
Partials 44 44 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR adds compile-time guards ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ 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 |
Summary
InternalPolyfilltypes (SpanExtensions,SpanLineEnumerator,StringBuilderMemory) behind a#if !NO_RAIQUB_SOURCEGENERATORS_POLYFILLcompile-time flagREADME.mdandsrc/InterpolationCodeWriter.CSharp.Sources/README.mdTest plan
NO_RAIQUB_SOURCEGENERATORS_POLYFILLdefined — polyfill types should be excluded🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Documentation