Repository navigation
fix(charts): return notFound for invalid catalog collection IDs - #1377
Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
tanstack-com | 379f8ab | Oct 13 2026, 11:19 PM |
Pre-validate
params.collectionIdin the charts catalog collection route loader usingisChartsCatalogCaseIdand thrownotFound()before callinggetChartsCatalogCollection. This prevents malformed IDs (such as requests ending in.md, likeshadcn.md) from triggering an unhandled Valibot schema validation exception from the server function validator.Fixes TANSTACK-COM-5AH
@sentry <feedback>: Autofix iterates on these changes@sentry stop iterating: Autofix stops iterating on this runThis PR was automatically generated by Sentry. You can adjust this setting at any time.