Skip to content

Commit 0fe956f

Browse files
authored
Surface ColumnCoding trait through SQLiteData (#520)
This adds an explicit passthrough trait like we have for other StructuredQueries traits.
1 parent e3d13c0 commit 0fe956f

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

Package.swift

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,18 @@ let package = Package(
2222
),
2323
],
2424
traits: [
25-
.trait(
26-
name: "LazyInitializableByDefault",
27-
description: "Optionalize draft properties that have no default."
28-
),
2925
.trait(
3026
name: "CasePaths",
3127
description: "Introduce support for enum tables."
3228
),
29+
.trait(
30+
name: "ColumnCoding",
31+
description: "Align the Codable coding of tables and selections with their column names."
32+
),
33+
.trait(
34+
name: "LazyInitializableByDefault",
35+
description: "Optionalize draft properties that have no default."
36+
),
3337
.trait(
3438
name: "SuppressPlatformSQLiteAvailability",
3539
description: """
@@ -67,11 +71,8 @@ let package = Package(
6771
url: "https://github.com/pointfreeco/swift-structured-queries",
6872
from: "0.36.0",
6973
traits: [
70-
.trait(
71-
name: "LazyInitializableByDefault",
72-
condition: .when(traits: ["LazyInitializableByDefault"])
73-
),
7474
.trait(name: "CasePaths", condition: .when(traits: ["CasePaths"])),
75+
.trait(name: "ColumnCoding", condition: .when(traits: ["ColumnCoding"])),
7576
.trait(
7677
name: "LazyInitializableByDefault",
7778
condition: .when(traits: ["LazyInitializableByDefault"])

0 commit comments

Comments
 (0)