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

ru.tinkoff.phobos.derevo.xmlDecoder.scala Maven / Gradle / Ivy

The newest version!
package ru.tinkoff.phobos.derevo

import derevo.{Derevo, Derivation, delegating}
import ru.tinkoff.phobos.decoding.XmlDecoder

@delegating("ru.tinkoff.phobos.derivation.semiauto.deriveXmlDecoder")
object xmlDecoder extends Derivation[XmlDecoder] {

  def apply[A](arg: String): XmlDecoder[A] = macro Derevo.delegateParam[XmlDecoder, A, String]

  def apply[A, NS](arg1: String, arg2: NS): XmlDecoder[A] = macro Derevo.delegateParams2[XmlDecoder, A, String, NS]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy