Skip to content

Commit c3fc0c1

Browse files
committed
more fixes
1 parent ae81ddf commit c3fc0c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quill-core/src/main/scala/io/getquill/context/ActionMacro.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ActionMacro(val c: MacroContext) extends ContextMacro with ReifyLiftings {
1616
import c.universe.{Function => _, Ident => _, _}
1717

1818
def translateQuery(quoted: Tree): Tree =
19-
translateQueryPrettyPrint(quoted, q"false")
19+
translateQueryPrettyPrint(quoted, q"io.getquill.context.TranslateOptions()")
2020

2121
def translateQueryPrettyPrint(quoted: Tree, options: Tree): Tree = {
2222
val expanded = expand(extractAst(quoted), inferQuat(quoted.tpe))
@@ -33,7 +33,7 @@ class ActionMacro(val c: MacroContext) extends ContextMacro with ReifyLiftings {
3333
}
3434

3535
def translateBatchQuery(quoted: Tree): Tree =
36-
translateBatchQueryPrettyPrint(quoted, q"false")
36+
translateBatchQueryPrettyPrint(quoted, q"io.getquill.context.TranslateOptions()")
3737

3838
// TODO need to change this to include liftings
3939
def translateBatchQueryPrettyPrint(quoted: Tree, options: Tree): Tree =

0 commit comments

Comments
 (0)