Skip to content

Commit

Permalink
Remove the need for importing type selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
benko-balog committed Oct 20, 2023
1 parent 79066ff commit c8fd139
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ private[generic] object MongoFormatMacros {
// Until this changes we'd need to provide an Any instance or an upper bound instance anyway
firstTypeParam.typeSignature match {
case TypeBounds(_, superType) =>
q"new TypeSelector[$t[$superType]](${t.name.toString}, classOf[$t[$superType]])"
q"new io.sphere.mongo.generic.TypeSelector[$t[$superType]](${t.name.toString}, classOf[$t[$superType]])"
case _ =>
q"new TypeSelector[$t[Any]](${t.name.toString}, classOf[$t[Any]])"
q"new io.sphere.mongo.generic.TypeSelector[$t[Any]](${t.name.toString}, classOf[$t[Any]])"
}
}.toList

Expand Down

0 comments on commit c8fd139

Please sign in to comment.