René's URL Explorer Experiment


Title: 🐛 Fix composite primary with AfterValidator/Annotated by patrick91 · Pull Request #1602 · fastapi/sqlmodel · GitHub

Open Graph Title: 🐛 Fix composite primary with AfterValidator/Annotated by patrick91 · Pull Request #1602 · fastapi/sqlmodel

X Title: 🐛 Fix composite primary with AfterValidator/Annotated by patrick91 · Pull Request #1602 · fastapi/sqlmodel

Description: SQL databases in Python, designed for simplicity, compatibility, and robustness. - 🐛 Fix composite primary with AfterValidator/Annotated by patrick91 · Pull Request #1602 · fastapi/sqlmodel

Open Graph Description: The title is currently a lie :D but there's a test for what's broken, and I think it's because the FieldInfo we get in get_column_from_field is the Pydantic one and not the SQLModel one...

X Description: The title is currently a lie :D but there's a test for what's broken, and I think it's because the FieldInfo we get in get_column_from_field is the Pydantic one and not the ...

Opengraph URL: https://github.com/fastapi/sqlmodel/pull/1602

X: @github

direct link

Domain: github.com

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:47428b7a-bd22-e994-778e-15474366ea35
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9494:17C035:9F1EA4:DEE3BB:6A624BB4
html-safe-nonce0ae5b58cf418b30f04a18442334f797f8ad272755280b33105df574fa14f59e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDk0OjE3QzAzNTo5RjFFQTQ6REVFM0JCOjZBNjI0QkI0IiwidmlzaXRvcl9pZCI6Ijg4OTUzMzc0NTA2NjAzNjE0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace7a9b314654d154448fb3547ce604b1139f6be575dbc18336af097556432c6e4
hovercard-subject-tagpull_request:2902159588
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/fastapi/sqlmodel/1602/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b50213e934316b2f37ea542c177eea50b55c93b34cd19a98bf9e95baf85ac786/fastapi/sqlmodel/pull/1602
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b50213e934316b2f37ea542c177eea50b55c93b34cd19a98bf9e95baf85ac786/fastapi/sqlmodel/pull/1602
og:image:altThe title is currently a lie :D but there's a test for what's broken, and I think it's because the FieldInfo we get in get_column_from_field is the Pydantic one and not the SQLModel one...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepatrick91
hostnamegithub.com
expected-hostnamegithub.com
None77f5af7d0fa3843b1779a53f60ec016b3f962e46051fb05c2e9b608a8138eefb
turbo-cache-controlno-cache
go-importgithub.com/fastapi/sqlmodel git https://github.com/fastapi/sqlmodel.git
octolytics-dimension-user_id156354296
octolytics-dimension-user_loginfastapi
octolytics-dimension-repository_id399495186
octolytics-dimension-repository_nwofastapi/sqlmodel
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id399495186
octolytics-dimension-repository_network_root_nwofastapi/sqlmodel
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
released3ce7d369aae307e197872f810f80f3ed9051c78
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/fastapi/sqlmodel/pull/1602#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F1602
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F1602
Sign up https://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=fastapi%2Fsqlmodel
Reloadhttps://github.com/fastapi/sqlmodel/pull/1602
Reloadhttps://github.com/fastapi/sqlmodel/pull/1602
Reloadhttps://github.com/fastapi/sqlmodel/pull/1602
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
fastapi https://github.com/fastapi
sqlmodelhttps://github.com/fastapi/sqlmodel
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
Notifications https://github.com/login?return_to=%2Ffastapi%2Fsqlmodel
Fork 874 https://github.com/login?return_to=%2Ffastapi%2Fsqlmodel
Star 18.2k https://github.com/login?return_to=%2Ffastapi%2Fsqlmodel
Code https://github.com/fastapi/sqlmodel
Issues 1 https://github.com/fastapi/sqlmodel/issues
Pull requests 58 https://github.com/fastapi/sqlmodel/pulls
Discussions https://github.com/fastapi/sqlmodel/discussions
Actions https://github.com/fastapi/sqlmodel/actions
Projects https://github.com/fastapi/sqlmodel/projects
Security and quality 0 https://github.com/fastapi/sqlmodel/security
Insights https://github.com/fastapi/sqlmodel/pulse
Code https://github.com/fastapi/sqlmodel
Issues https://github.com/fastapi/sqlmodel/issues
Pull requests https://github.com/fastapi/sqlmodel/pulls
Discussions https://github.com/fastapi/sqlmodel/discussions
Actions https://github.com/fastapi/sqlmodel/actions
Projects https://github.com/fastapi/sqlmodel/projects
Security and quality https://github.com/fastapi/sqlmodel/security
Insights https://github.com/fastapi/sqlmodel/pulse
patrick91https://github.com/patrick91
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
patrick91:10-09-_fix_composite_primary_with_aftervalidator_annotatedhttps://github.com/patrick91/sqlmodel/tree/10-09-_fix_composite_primary_with_aftervalidator_annotated
Conversationhttps://github.com/fastapi/sqlmodel/pull/1602
Commits2 (2)https://github.com/fastapi/sqlmodel/pull/1602/commits
Checkshttps://github.com/fastapi/sqlmodel/pull/1602/checks
Files changedhttps://github.com/fastapi/sqlmodel/pull/1602/files
🐛 Fix composite primary with AfterValidator/Annotatedhttps://github.com/fastapi/sqlmodel/pull/1602#top
patrick91https://github.com/patrick91
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
patrick91:10-09-_fix_composite_primary_with_aftervalidator_annotatedhttps://github.com/patrick91/sqlmodel/tree/10-09-_fix_composite_primary_with_aftervalidator_annotated
https://github.com/patrick91
patrick91https://github.com/patrick91
Oct 9, 2025https://github.com/fastapi/sqlmodel/pull/1602#issue-3500795329
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
https://github.com/patrick91
🐛 Fix composite primary with AfterValidator/Annotatedhttps://github.com/fastapi/sqlmodel/pull/1602/commits/25d3e9c95fd8f64e230f9362752b327cbce3d12e
25d3e9chttps://github.com/fastapi/sqlmodel/pull/1602/commits/25d3e9c95fd8f64e230f9362752b327cbce3d12e
https://github.com/patrick91
patrick91https://github.com/patrick91
force-pushedhttps://github.com/fastapi/sqlmodel/compare/9b502f9dfb0dc602fde4fa50c66c529475e00b87..25d3e9c95fd8f64e230f9362752b327cbce3d12e
9b502f9https://github.com/fastapi/sqlmodel/commit/9b502f9dfb0dc602fde4fa50c66c529475e00b87
25d3e9chttps://github.com/fastapi/sqlmodel/commit/25d3e9c95fd8f64e230f9362752b327cbce3d12e
Compare https://github.com/fastapi/sqlmodel/compare/9b502f9dfb0dc602fde4fa50c66c529475e00b87..25d3e9c95fd8f64e230f9362752b327cbce3d12e
October 9, 2025 22:29https://github.com/fastapi/sqlmodel/pull/1602#event-20195110943
https://github.com/patrick91
patrick91https://github.com/patrick91
bug https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Abug
Oct 9, 2025https://github.com/fastapi/sqlmodel/pull/1602#event-20195146792
https://github.com/stickm4n
stickm4nhttps://github.com/stickm4n
Oct 11, 2025https://github.com/fastapi/sqlmodel/pull/1602#issuecomment-3392730010
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
https://github.com/stickm4n
stickm4nhttps://github.com/stickm4n
Oct 11, 2025 https://github.com/fastapi/sqlmodel/pull/1602#ref-pullrequest-3505112683
🐛 Fix support for Annotated fields with Pydantic 2.12+ #1603 https://github.com/fastapi/sqlmodel/pull/1603
https://github.com/YuriiMotov
YuriiMotovhttps://github.com/YuriiMotov
Oct 14, 2025 https://github.com/fastapi/sqlmodel/pull/1602#ref-issue-3512018925
could not assemble any primary key columns for mapped table #1606 https://github.com/fastapi/sqlmodel/issues/1606
https://github.com/vimota
vimotahttps://github.com/vimota
Oct 15, 2025https://github.com/fastapi/sqlmodel/pull/1602#issuecomment-3407758544
https://github.com/fastapi/sqlmodel/pull/1607/fileshttps://github.com/fastapi/sqlmodel/pull/1607/files
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
https://github.com/patrick91
patrick91https://github.com/patrick91
Oct 15, 2025https://github.com/fastapi/sqlmodel/pull/1602#issuecomment-3407792177
@vimotahttps://github.com/vimota
@tiangolohttps://github.com/tiangolo
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
https://github.com/vimota
vimotahttps://github.com/vimota
Oct 15, 2025https://github.com/fastapi/sqlmodel/pull/1602#issuecomment-3407844142
@vimotahttps://github.com/vimota
@tiangolohttps://github.com/tiangolo
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
https://github.com/stickm4n
stickm4nhttps://github.com/stickm4n
Oct 16, 2025https://github.com/fastapi/sqlmodel/pull/1602#issuecomment-3411734980
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
@patrick91https://github.com/patrick91
@vimotahttps://github.com/vimota
@YuriiMotovhttps://github.com/YuriiMotov
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
https://github.com/svlandeg
Merge branch 'main' into 10-09-_fix_composite_primary_with_aftervalid…https://github.com/fastapi/sqlmodel/pull/1602/commits/600e3b61ca78a65d48d822d0c5115bb9e2c0be9b
600e3b6https://github.com/fastapi/sqlmodel/pull/1602/commits/600e3b61ca78a65d48d822d0c5115bb9e2c0be9b
https://github.com/svlandeg
svlandeghttps://github.com/svlandeg
Oct 30, 2025https://github.com/fastapi/sqlmodel/pull/1602#issuecomment-3470355565
#1603https://github.com/fastapi/sqlmodel/pull/1603
#1607https://github.com/fastapi/sqlmodel/pull/1607
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
https://github.com/svlandeg
svlandeghttps://github.com/svlandeg
Oct 30, 2025https://github.com/fastapi/sqlmodel/pull/1602#event-20620268856
https://github.co/hiddenchars
https://github.com/fastapi/sqlmodel/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%2Ffastapi%2Fsqlmodel%2Fpull%2F1602
bug https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Abug
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1602
https://github.com/patrick91
https://github.com/stickm4n
https://github.com/vimota
https://github.com/svlandeg
https://github.com/tiangolo
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.