Uh oh!
There was an error while loading. Please reload this page.
feat: throwOnError for preloadRoute - #7031
Conversation
📝 WalkthroughWalkthroughThis pull request adds a new optional Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx affected --targets=test:eslint,test:unit,tes... | ❌ Failed | 9m 46s | View ↗ |
nx run-many --target=build --exclude=examples/*... | ✅ Succeeded | 1m 44s | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-03-24 23:36:19 UTC
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
Bundle Size Benchmarks
Trend sparkline is historical gzip bytes ending with this PR measurement; lower is better. |
Nandan1996
commented
Mar 28, 2026
Hi @schiller-manuel |
schiller-manuel
commented
Mar 28, 2026
probably needs another optional param to force sync preloading |

prompted by #7002
Summary by CodeRabbit
New Features
throwOnErrorflag to control preload route error handling. When enabled, errors encountered during preload are thrown immediately. When disabled, errors continue to be logged and handled gracefully as before.Tests