From c8fd139a56ad2d17a4c4f88e36dc16ba436a23f6 Mon Sep 17 00:00:00 2001 From: Benko Balog Date: Fri, 20 Oct 2023 11:23:54 +0200 Subject: [PATCH] Remove the need for importing type selectors --- .../scala/io/sphere/mongo/generic/MongoFormatMacros.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongo/mongo-derivation/src/main/scala/io/sphere/mongo/generic/MongoFormatMacros.scala b/mongo/mongo-derivation/src/main/scala/io/sphere/mongo/generic/MongoFormatMacros.scala index 3042b371..f5c2d34b 100644 --- a/mongo/mongo-derivation/src/main/scala/io/sphere/mongo/generic/MongoFormatMacros.scala +++ b/mongo/mongo-derivation/src/main/scala/io/sphere/mongo/generic/MongoFormatMacros.scala @@ -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