You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,18 @@
7
7
8
8
A library for building SQL in a safe, expressive, and composable manner.
9
9
10
+
>[!NOTE]
11
+
>This package is a fork of [swift-structured-queries](https://github.com/pointfreeco/swift-structured-queries) with additional traits for opt-in features, making it more _composable_. Upstream is merged sporadically.
12
+
>
13
+
>### Why does this fork exist?
14
+
>
15
+
>[Point-Free](https://www.pointfree.co) make good software and tools, but often their packages come with dependencies on the rest of the Point-Free ecosystem for entirely optional behaviour. So even if you don't want or need those dependencies, you have them anyway. Wrapping optional behaviour in traits is easy, but unfortunately there are bugs in Xcode (up to and including 26.0) and it doesn't respect default enabled traits. So were Point-Free to accept a PR with these traits it would be a backwards-incompatible change as far as Xcode is concerned, hence this fork.
16
+
>
17
+
> To run unit tests successfully for this package you will need to enable several traits:
18
+
>
19
+
>```swift
20
+
>swift test --traits StructuredQueriesSnapshotTesting,StructuredQueriesIssueReporting,StructuredQueriesDependencies,StructuredQueriesCustomDump,StructuredQueriesMacroTesting
21
+
>```
10
22
## Learn more
11
23
12
24
This library was motivated and designed over the course of many episodes on
0 commit comments