Skip to content

Commit

Permalink
making QueryProvider public so that it can be used to cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
manishkkatoch committed Jun 23, 2019
1 parent 3db276c commit f1159f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import shapeless.ops.hlist.ToTraversable
import shapeless.ops.record.Keys
import shapeless.{HList, LabelledGeneric}

private[cypherDSL] trait QueryProvider[T <: Product] {
trait QueryProvider[T <: Product] {
def getMatchers(element: T)(implicit context: Context): Seq[String]
def getMatchers[U <: HList](element: T, columns: U)(implicit context: Context,
i0: ToTraversable.Aux[U, List, Symbol]): Seq[String]
}

private[cypherDSL] object QueryProvider {
object QueryProvider {
def apply[T <: Product](implicit queryProvider: QueryProvider[T]): QueryProvider[T] =
queryProvider

Expand Down

0 comments on commit f1159f8

Please sign in to comment.