Skip to content

Commit 003391e

Browse files
authored
fix: Add 'case' to list of Swift keywords (#956)
1 parent 92e9fba commit 003391e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/templates/swift.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ function formatForSwiftTypeName(name: string): string {
392392
)
393393
}
394394

395-
const SWIFT_KEYWORDS = ['in', 'default']
395+
const SWIFT_KEYWORDS = ['in', 'default', 'case']
396396

397397
/**
398398
* Converts a Postgres name to pascalCase.

0 commit comments

Comments
 (0)