Skip to content

fix: add interval to Go and Swift type maps#1059

Merged
grdsdev merged 1 commit intosupabase:masterfrom
oniani1:fix/interval-go-swift-type-maps
Apr 7, 2026
Merged

fix: add interval to Go and Swift type maps#1059
grdsdev merged 1 commit intosupabase:masterfrom
oniani1:fix/interval-go-swift-type-maps

Conversation

@oniani1
Copy link
Copy Markdown
Contributor

@oniani1 oniani1 commented Apr 6, 2026

Fixes #1058

The Go and Swift type generators don't include interval in their type maps, so interval columns fall through to interface{} (Go) and AnyJSON (Swift) instead of string/String.

TypeScript (#1031) and Python already map interval to string. This adds the same mapping to Go and Swift, plus updates the test snapshots.

Related: #921

@oniani1 oniani1 requested review from a team, avallete and soedirgo as code owners April 6, 2026 18:36
@grdsdev grdsdev merged commit a8ebe3d into supabase:master Apr 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

interval type maps to interface{} in Go and AnyJSON in Swift generators

2 participants