Repository navigation
refactor(lit-query): add the 'override' modifier to members that override a base class member - #11906
Conversation
…ride a base class member
|
|
View your CI Pipeline Execution ↗ for commit 9f3d616
☁️ Nx Cloud last updated this comment at |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesLit QueryClientProvider
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change adds compile-time checks for existing Lit overrides without changing provider behavior. The resolved Lit types and configured TypeScript versions support these annotations, so no actionable merge risk is indicated. 🚥 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 |
🚀 Changeset Version Preview1 package(s) bumped directly, 24 bumped as dependents. 🟩 Patch bumps
|
size-limit report 📦
|
🎯 Changes
Adds the TypeScript
overridemodifier to theLitElementmembers thatQueryClientProvideroverrides:properties,connectedCallback,disconnectedCallback,willUpdate, andrender.With
override, TypeScript reports an error if one of theseLitElementmembers is renamed or removed, instead of silently turning the member into a new one.overrideis erased at compile time, so the built JS and the type declarations are unchanged.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit