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

caliban.schema.SubscriptionSchemaDerivation.scala Maven / Gradle / Ivy

The newest version!
package caliban.schema

import magnolia1._

import scala.language.experimental.macros

trait SubscriptionSchemaDerivation {
  type Typeclass[T] = SubscriptionSchema[T]

  def join[T](ctx: CaseClass[SubscriptionSchema, T]): Typeclass[T] = new Typeclass[T] {}

  implicit def gen[T]: Typeclass[T] = macro Magnolia.gen[T]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy