René's URL Explorer Experiment


Title: fix(contract): keep schema constraint when inferring types of a generic schema by dinwwwh · Pull Request #2455 · middleapi/orpc · GitHub

Open Graph Title: fix(contract): keep schema constraint when inferring types of a generic schema by dinwwwh · Pull Request #2455 · middleapi/orpc

X Title: fix(contract): keep schema constraint when inferring types of a generic schema by dinwwwh · Pull Request #2455 · middleapi/orpc

Description: Typesafe APIs Made Simple 🪄. Contribute to middleapi/orpc development by creating an account on GitHub.

Open Graph Description: Summary Fixes a type regression from #2451. InferSchemaInput / InferSchemaOutput were a non-distributive conditional (0 extends 1 & T ? unknown : ...). For a type parameter T, TypeScript defers...

X Description: Summary Fixes a type regression from #2451. InferSchemaInput / InferSchemaOutput were a non-distributive conditional (0 extends 1 & T ? unknown : ...). For a type parameter T, TypeScript de...

Opengraph URL: https://github.com/middleapi/orpc/pull/2455

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ffcd7389-4938-a31c-b1b2-3e316440b567
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id84BA:1CA15F:C2399C:100FBB7:6AF9B9D5
html-safe-noncea65e8d499bb32444e5d4e05eb89a3d1c6e2f58af073dd81e9ecea9336dd4ff50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEJBOjFDQTE1RjpDMjM5OUM6MTAwRkJCNzo2QUY5QjlENSIsInZpc2l0b3JfaWQiOiIyMDA0ODM5NDEwNzA4MzYzNzMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb2f8ed42bf2d45dd93d4e54110451b14260c5fb1465f9a6859fd8fc9faa58df1
hovercard-subject-tagpull_request:5292960346
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/middleapi/orpc/2455/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2597abc177fb62949a98538359c7c8c0581684fca366f47b51a9b0e3ffc07fbe/middleapi/orpc/pull/2455
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2597abc177fb62949a98538359c7c8c0581684fca366f47b51a9b0e3ffc07fbe/middleapi/orpc/pull/2455
og:image:altSummary Fixes a type regression from #2451. InferSchemaInput / InferSchemaOutput were a non-distributive conditional (0 extends 1 & T ? unknown : ...). For a type parameter T, TypeScript defers...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedinwwwh
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/middleapi/orpc git https://github.com/middleapi/orpc.git
octolytics-dimension-user_id173978236
octolytics-dimension-user_loginmiddleapi
octolytics-dimension-repository_id863811008
octolytics-dimension-repository_nwomiddleapi/orpc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id863811008
octolytics-dimension-repository_network_root_nwomiddleapi/orpc
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/middleapi/orpc/pull/2455#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmiddleapi%2Forpc%2Fpull%2F2455
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmiddleapi%2Forpc%2Fpull%2F2455
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=middleapi%2Forpc
Reloadhttps://github.com/middleapi/orpc/pull/2455
Reloadhttps://github.com/middleapi/orpc/pull/2455
Reloadhttps://github.com/middleapi/orpc/pull/2455
middleapihttps://github.com/middleapi
orpchttps://github.com/middleapi/orpc
Codehttps://github.com/middleapi/orpc
Issues22 (22)https://github.com/middleapi/orpc/issues
Pull requests20 (20)https://github.com/middleapi/orpc/pulls
Discussionshttps://github.com/middleapi/orpc/discussions
Actionshttps://github.com/middleapi/orpc/actions
Projectshttps://github.com/middleapi/orpc/projects
Security and quality7 (7)https://github.com/middleapi/orpc/security
Insightshttps://github.com/middleapi/orpc/pulse
https://github.com/middleapi/orpc
dinwwwhhttps://github.com/dinwwwh
mainhttps://github.com/middleapi/orpc/tree/main
claude/exciting-allen-qfk7mxhttps://github.com/middleapi/orpc/tree/claude/exciting-allen-qfk7mx
Conversationhttps://github.com/middleapi/orpc/pull/2455
Commits1 (1)https://github.com/middleapi/orpc/pull/2455/commits
Checkshttps://github.com/middleapi/orpc/pull/2455/checks
Files changedhttps://github.com/middleapi/orpc/pull/2455/files
fix(contract): keep schema constraint when inferring types of a generic schemahttps://github.com/middleapi/orpc/pull/2455#top
dinwwwhhttps://github.com/dinwwwh
mainhttps://github.com/middleapi/orpc/tree/main
claude/exciting-allen-qfk7mxhttps://github.com/middleapi/orpc/tree/claude/exciting-allen-qfk7mx
https://github.com/dinwwwh
dinwwwhhttps://github.com/dinwwwh
Nov 13, 2026https://github.com/middleapi/orpc/pull/2455#issue-6368276460
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
#2451https://github.com/middleapi/orpc/pull/2451
perf(contract, server): infer schema types by indexed access #2451https://github.com/middleapi/orpc/pull/2451
perf(contract, server): infer schema types by indexed access #2451https://github.com/middleapi/orpc/pull/2451
#2451https://github.com/middleapi/orpc/pull/2451
#2451https://github.com/middleapi/orpc/pull/2451
perf(contract, server): infer schema types by indexed access #2451https://github.com/middleapi/orpc/pull/2451
perf(contract, server): infer schema types by indexed access #2451https://github.com/middleapi/orpc/pull/2451
Claude Codehttps://claude.com/claude-code
https://claude.ai/code/session_01VVaw7StRJoiYhWsMDWSwV1https://claude.ai/code/session_01VVaw7StRJoiYhWsMDWSwV1
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/claude
fix(contract): keep schema constraint when inferring types of a gener…https://github.com/middleapi/orpc/pull/2455/commits/16123b72e188aa32505ea507ece18b17c187dd43
16123b7https://github.com/middleapi/orpc/pull/2455/commits/16123b72e188aa32505ea507ece18b17c187dd43
https://claude.ai/code/session_01VVaw7StRJoiYhWsMDWSwV1https://claude.ai/code/session_01VVaw7StRJoiYhWsMDWSwV1
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 13, 2026https://github.com/middleapi/orpc/pull/2455#issuecomment-6848719365
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://app.coderabbit.ai/change-stack/middleapi/orpc/pull/2455?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=middleapi/orpc&utm_content=2455
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
f1015a6https://github.com/middleapi/orpc/commit/f1015a6c4289bd1d894a113bdc560085251ed7bf
16123b7https://github.com/middleapi/orpc/commit/16123b72e188aa32505ea507ece18b17c187dd43
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Nov 13, 2026https://github.com/middleapi/orpc/pull/2455#issuecomment-6848741678
@orpc/bun-playgroundhttps://pkg.pr.new/template/25b708ee-1929-43ea-b682-515f94692b9b
@orpc/cloudflare-playgroundhttps://pkg.pr.new/template/7d402491-193a-421f-b22c-bcb968f270a4
@orpc/nest-playgroundhttps://pkg.pr.new/template/75ec8ce5-6eb3-4dda-a654-ccf729a954f3
@orpc/next-playgroundhttps://pkg.pr.new/template/90b5d15c-a517-4cc7-a772-e5a6f8286328
16123b7https://github.com/middleapi/orpc/runs/131795765878
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/apps/codspeed
codspeedhttps://github.com/apps/codspeed
Nov 13, 2026https://github.com/middleapi/orpc/pull/2455#issuecomment-6848777915
Learn more about system callshttps://codspeed.io/docs/instruments/cpu?utm_source=github&utm_medium=comment-v2&utm_content=significant_sys_time#system-calls
See affected benchmarkshttps://app.codspeed.io/middleapi/orpc/branches/claude%2Fexciting-allen-qfk7mx?q=has%3Asignificant_sys_time&utm_source=github&utm_medium=comment-v2&utm_content=affected_benchmarks
1https://github.com/middleapi/orpc/pull/2455#user-content-fn-skipped-4e2ac8219ad7bf18d345cacfc85b2c84
16123b7https://github.com/middleapi/orpc/commit/16123b72e188aa32505ea507ece18b17c187dd43
a37c238https://github.com/middleapi/orpc/commit/a37c238e9b88b52ef399ee2ef165c26949689cfd
2https://github.com/middleapi/orpc/pull/2455#user-content-fn-unexpected-base-4e2ac8219ad7bf18d345cacfc85b2c84
https://app.codspeed.io/middleapi/orpc/branches/claude%2Fexciting-allen-qfk7mx?utm_source=github&utm_medium=comment-v2&utm_content=button
click here and archive them to remove them from the performance reportshttps://app.codspeed.io/middleapi/orpc/branches/claude%2Fexciting-allen-qfk7mx?q=is%3Askipped&utm_source=github&utm_medium=comment-v2&utm_content=archive
↩https://github.com/middleapi/orpc/pull/2455#user-content-fnref-skipped-4e2ac8219ad7bf18d345cacfc85b2c84
f1015a6https://github.com/middleapi/orpc/commit/f1015a6c4289bd1d894a113bdc560085251ed7bf
a37c238https://github.com/middleapi/orpc/commit/a37c238e9b88b52ef399ee2ef165c26949689cfd
↩https://github.com/middleapi/orpc/pull/2455#user-content-fnref-unexpected-base-4e2ac8219ad7bf18d345cacfc85b2c84
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Nov 13, 2026https://github.com/middleapi/orpc/pull/2455#issuecomment-6848808549
Codecovhttps://app.codecov.io/gh/middleapi/orpc/pull/2455?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=middleapi
Let us know!https://github.com/codecov/feedback/issues/255
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/apps/pullfrog
pullfroghttps://github.com/apps/pullfrog
Nov 13, 2026 https://github.com/middleapi/orpc/pull/2455#pullrequestreview-5888601959
View reviewed changes https://github.com/middleapi/orpc/pull/2455/files/16123b72e188aa32505ea507ece18b17c187dd43
pullfroghttps://github.com/apps/pullfrog
https://github.com/middleapi/orpc/pull/2455#pullrequestreview-5888601959
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2451https://github.com/middleapi/orpc/pull/2451
#2451https://github.com/middleapi/orpc/pull/2451
#2451https://github.com/middleapi/orpc/pull/2451
#2451https://github.com/middleapi/orpc/pull/2451
#2451https://github.com/middleapi/orpc/pull/2451
https://pullfrog.com
View workflow runhttps://github.com/middleapi/orpc/actions/runs/43398541790/job/131795334867
Pullfrog for OSShttps://pullfrog.com/for-oss
𝕏https://x.com/pullfrogai
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/apps/cloudflare-workers-and-pages
cloudflare-workers-and-pageshttps://github.com/apps/cloudflare-workers-and-pages
Nov 13, 2026https://github.com/middleapi/orpc/pull/2455#issuecomment-6848922418
https://workers.dev
integrating Git with Workershttps://developers.cloudflare.com/workers/ci-cd/builds/git-integration/
View logshttps://dash.cloudflare.com/?to=/6ef7354877e707d0c6008dbe27676722/workers/services/view/orpc/production/builds/60ce0ff1-c82a-412c-9f41-0b91bb0d9e64
16123b7https://github.com/middleapi/orpc/commit/16123b72e188aa32505ea507ece18b17c187dd43
Commit Preview URLhttps://15190149-orpc.dinwwwh.workers.dev
Branch Preview URLhttps://claude-exciting-allen-qfk7mx-orpc.dinwwwh.workers.dev
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/dinwwwh
dinwwwhhttps://github.com/dinwwwh
13d572fhttps://github.com/middleapi/orpc/commit/13d572f2b4526df233d6099ec8a88325337d60e6
Nov 14, 2026https://github.com/middleapi/orpc/pull/2455#event-36095939845
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/dinwwwh
dinwwwhhttps://github.com/dinwwwh
Nov 15, 2026 https://github.com/middleapi/orpc/pull/2455#ref-pullrequest-6399341514
perf(contract, server): read procedure contract types by indexed access (−4.9% contract-first, −20.3% merged schemas) #2476 https://github.com/middleapi/orpc/pull/2476
https://github.co/hiddenchars
https://github.com/middleapi/orpc/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmiddleapi%2Forpc%2Fpull%2F2455
https://github.com/apps/pullfrog
pullfrog[bot] https://github.com/apps/pullfrog
https://github.com/middleapi/orpc/pull/2455/files/16123b72e188aa32505ea507ece18b17c187dd43
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
Please reload this pagehttps://github.com/middleapi/orpc/pull/2455
https://github.com/dinwwwh
https://github.com/claude
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.