Skip to content

Commit 93f6d83

Browse files
committed
queryFragment as QueryFragment
1 parent 9911454 commit 93f6d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/StructuredQueriesMacros/TableMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ extension TableMacro: MemberMacro {
10141014
public static var allColumns: [any \(moduleName).TableColumnExpression] { \
10151015
[\(allColumns.map { "QueryValue.columns.\($0)" as ExprSyntax }, separator: ", ")]
10161016
}
1017-
public static var queryFragment: String { \(fragmentLiteral) }
1017+
public var queryFragment: QueryFragment { \(fragmentLiteral) }
10181018
}
10191019
""",
10201020
draft,

0 commit comments

Comments
 (0)