File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
StructuredQueriesCore/QueryRepresentable
StructuredQueriesSQLiteCore Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11import Foundation
22
3- public struct _CodableJSONRepresentation < QueryOutput: Codable > : QueryRepresentable {
3+ public struct _CodableJSONRepresentation < QueryOutput: Codable > : Codable , QueryRepresentable {
44 public var queryOutput : QueryOutput
55
66 public init ( queryOutput: QueryOutput ) {
77 self . queryOutput = queryOutput
88 }
99}
1010
11+ extension _CodableJSONRepresentation : Equatable where QueryOutput: Equatable { }
12+ extension _CodableJSONRepresentation : Hashable where QueryOutput: Hashable { }
13+ extension _CodableJSONRepresentation : Sendable where QueryOutput: Sendable { }
14+
1115extension Decodable where Self: Encodable {
1216 /// A query expression representing codable JSON.
1317 ///
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ extension QueryExpression {
2626 }
2727}
2828
29- extension QueryExpression where QueryValue: Codable & QueryBindable {
29+ extension QueryExpression where QueryValue: Codable {
3030 /// A JSON array aggregate of this expression
3131 ///
3232 /// Concatenates all of the values in a group.
You can’t perform that action at this time.
0 commit comments