All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scope.generic.ModelMapperBuilderMacrosSyntax.scala Maven / Gradle / Ivy

There is a newer version: 0.0.12
Show newest version
package scope.generic

import scope.{ModelMapper, Scope}

import scala.annotation.unused

private[generic] trait ModelMapperBuilderMacrosSyntax {

  extension [S <: Scope](@unused co: ModelMapper.Builder[S]) {
    inline def deriveCaseClassIdMap[A, B]: ModelMapper[S, A, B] =
      ${ ModelMapperCaseClassIdMacros.deriveCaseClassIdMap[S, A, B] }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy