Repository navigation
refactor(examples/lit/pagination): infer the controller types instead of passing generics that repeat the field types - #12185
Conversation
… of passing generics that repeat the field types
|
|
View your CI Pipeline Execution ↗ for commit 648b298
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 1
✨ Finishing Touches
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 |
size-limit report 📦
|
🎯 Changes
The lit pagination example passed generics to
createQueryControllerandcreateMutationControllerthat repeat the types already declared on theprojectsQuery,createProjectMutation, andfavoriteMutationfields they are assigned to. Remove the generics from the calls and keep the field types, which still type the mutation variables and theonMutateresult.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit