Permalink
Browse files

Ignore ClientSideOp in projection mapping

  • Loading branch information...
zgrannan committed Oct 25, 2017
1 parent 1104bf8 commit 936e0968bf7f6b6135c959de9a6ba8da1599299a
Showing with 2 additions and 0 deletions.
  1. +2 −0 slick/src/main/scala/slick/compiler/FlattenProjections.scala
@@ -40,6 +40,8 @@ class FlattenProjections extends Phase {
n.mapChildren { ch => tr(ch, topLevel && (ch ne n.from)) }
case u: Union =>
n.mapChildren { ch => tr(ch, true) }
case _: ClientSideOp =>
n.mapChildren { ch => tr(ch, topLevel) }
case Library.SilentCast(ch) :@ tpe =>
Library.SilentCast.typed(tpe.structuralRec, tr(ch, false))
case n => n.mapChildren(tr(_, false))

0 comments on commit 936e096

Please sign in to comment.