Skip to content

fix: fall back to object for unresolved column types instead of throwing - #423

Merged
doron050 merged 4 commits into
DaredevilOSS:mainfrom
ballistic-booger:type-fallback-instead-of-throwing
Jul 25, 2026
Merged

doron050 merged 4 commits into
DaredevilOSS:mainfrom
ballistic-booger:type-fallback-instead-of-throwing

Conversation

@ballistic-booger

Copy link
Copy Markdown
Contributor
  • map any and hstore Postgres types to object in NpgsqlDriver
  • sqlc reports any when it can't infer a column's type; previously this made codegen throw a NotSupportedException
  • generated readers use GetValue so those columns come back as plain object values

- include any and hstore types in the object variable mapping
@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Release Assistant - Passed

All requirements satisfied.

Release Information:

  • Type: patch

This PR is ready to merge.

@doron050 doron050 added the patch Backward-compatible bug fixes, performance improvements, documentation updates. label Jul 25, 2026
@doron050

Copy link
Copy Markdown
Collaborator

@ballistic-booger I'm merging this, but next time don't forget the docs :) I'll update them for this one

@doron050
doron050 merged commit 8f8bc8b into DaredevilOSS:main Jul 25, 2026
11 of 12 checks passed
@doron050 doron050 mentioned this pull request Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Backward-compatible bug fixes, performance improvements, documentation updates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants