Skip to content

Commit

Permalink
Merge pull request #742 from SakulK/scala3-syntax-in-Fs2AbstractServi…
Browse files Browse the repository at this point in the history
…cePrinter

Scala 3 compatible wildard import support in Fs2AbstractServicePrinter
  • Loading branch information
ahjohannessen authored Oct 3, 2024
2 parents c694374 + 22f80e0 commit 6508ac4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ abstract class Fs2AbstractServicePrinter extends Fs2ServicePrinter {

def printService(printer: FunctionalPrinter): FunctionalPrinter = {
printer
.add(s"package $servicePkgName", "", "import _root_.cats.syntax.all._", "")
.add(s"package $servicePkgName", "", s"import _root_.cats.syntax.all.${service.getFile.V.WildcardImport}", "")
.call(serviceTrait)
.newline
.call(serviceObject)
Expand Down

0 comments on commit 6508ac4

Please sign in to comment.