rename inputValidator to validator#7566
Conversation
inputValidator is deprecated and will be removed soon
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughRepository-wide rename of inputValidator to validator across docs, examples, and tests. Core APIs updated to expose validator and deprecate inputValidator. Compiler gains a warn hook and emits deprecation warnings while transforming chains. ChangesValidator API and deprecation plumbing
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|
|
View your CI Pipeline Execution ↗ for commit 16807d2
💡 Dealing with memory or CPU issues? See memory and CPU details with the resource usage add-on ↗. ☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview5 package(s) bumped directly, 9 bumped as dependents. 🟩 Patch bumps
|
Bundle Size Benchmarks
Current gzip tracks all emitted client JS chunks. Initial gzip tracks only the entry/import graph. Trend sparkline is historical current gzip ending with this PR measurement; lower is better. |
There was a problem hiding this comment.
Nx Cloud has identified a flaky task in your failed CI:
🔂 Since the failure was identified as flaky, we triggered a CI rerun by adding an empty commit to this branch.
🎓 Learn more about Self-Healing CI on nx.dev
Merging this PR will not alter performance
Comparing Footnotes
|
inputValidator is deprecated and will be removed soon
Summary by CodeRabbit
New Features
validator()as the canonical method for server function and middleware input validation.Deprecations
inputValidator()is now deprecated; usevalidator()instead. Compiler warnings are emitted for remaining uses.Documentation
validator()API across React, Solid, and Vue frameworks.