fix: TS7031 in posts route map — unblocks main typecheck and Railway deploy - #227
Conversation
…ailway deploy prisma is untyped here, so the destructured map callback param had no contextual type and tsc --noEmit failed (ignoreBuildErrors=false, so the Railway build of 410efdc FAILED and prod stayed on the previous image). Annotate the param as any, matching the repo's existing idiom.
|
Warning Review limit reached
Next review available in: 52 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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 |
One-line follow-up to #226, which merged with a typecheck error:
prismais untyped, so the destructured.map()callback param in the posts list GET had no contextual type —tsc --noEmitfailed (TS7031), and withignoreBuildErrors: falsethe Railway deploy of 410efdc FAILED (13:29Z). Prod is still on the pre-#226 image, so the lekkerweed blog fix is not live until this lands.Annotates the param as
any, matching the repo's existing idiom (initialPosts: any[],catch (e: any)). No runtime change.Test plan: CI Typecheck · Lint · Build goes green; Railway deploy of the merge commit succeeds; lekkerweed admin retries a blog create.