Skip to content

Commit 3a9bfba

Browse files
committed
Use same convention as Subprocess
1 parent d3352fd commit 3a9bfba

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ let package = Package(
3131
],
3232
traits: [
3333
.trait(
34-
name: "TaggedStructuredQueries",
34+
name: "StructuredQueriesTagged",
3535
description: "Introduce StructuredQueries conformances to the swift-tagged package.",
3636
enabledTraits: []
37-
),
37+
)
3838
],
3939
dependencies: [
4040
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.3.3"),
@@ -54,7 +54,7 @@ let package = Package(
5454
.product(
5555
name: "Tagged",
5656
package: "swift-tagged",
57-
condition: .when(traits: ["TaggedStructuredQueries"])
57+
condition: .when(traits: ["StructuredQueriesTagged"])
5858
),
5959
]
6060
),

Sources/StructuredQueriesCore/Documentation.docc/Articles/DefiningYourSchema.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,15 @@ With that you can insert reminders with notes like so:
335335
336336
The [Tagged](https://github.com/pointfreeco/swift-tagged) library provides lightweight syntax for
337337
introducing type-safe identifiers (and more) to your models. StructuredQueries ships support for
338-
Tagged with a `TaggedStructuredQueries` package trait, which is available starting from Swift 6.1.
338+
Tagged with a `StructuredQueriesTagged` package trait, which is available starting from Swift 6.1.
339339
340340
To enable the trait, specify it in the Package.swift file that depends on StructuredQueries:
341341
342342
```diff
343343
.package(
344344
url: "https://github.com/pointfreeco/swift-structured-queries",
345345
from: "0.2.0",
346-
+ traits: ["TaggedStructuredQueries"]
346+
+ traits: ["StructuredQueriesTagged"]
347347
),
348348
```
349349

Sources/StructuredQueriesCore/Traits/Tagged.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if TaggedStructuredQueries
1+
#if StructuredQueriesTagged
22
import Tagged
33

44
extension Tagged: _OptionalPromotable where RawValue: _OptionalPromotable {}

0 commit comments

Comments
 (0)