| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
47
|
48820
|
1615
-
1628
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.operation.AdminCreateOperationRequest]({
val inst$macro$16: io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.AdminCreateOperationRequest] = {
final class anon$lazy$macro$15 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$15 = {
anon$lazy$macro$15.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.AdminCreateOperationRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.operation.AdminCreateOperationRequest, shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.operation.AdminCreateOperationRequest, (Symbol @@ String("slug")) :: (Symbol @@ String("operationKind")) :: (Symbol @@ String("operationAuthentication")) :: shapeless.HNil, eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.operation.AdminCreateOperationRequest, (Symbol @@ String("slug")) :: (Symbol @@ String("operationKind")) :: (Symbol @@ String("operationAuthentication")) :: shapeless.HNil](::.apply[Symbol @@ String("slug"), (Symbol @@ String("operationKind")) :: (Symbol @@ String("operationAuthentication")) :: shapeless.HNil.type](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")], ::.apply[Symbol @@ String("operationKind"), (Symbol @@ String("operationAuthentication")) :: shapeless.HNil.type](scala.Symbol.apply("operationKind").asInstanceOf[Symbol @@ String("operationKind")], ::.apply[Symbol @@ String("operationAuthentication"), shapeless.HNil.type](scala.Symbol.apply("operationAuthentication").asInstanceOf[Symbol @@ String("operationAuthentication")], HNil)))), Generic.instance[org.make.api.operation.AdminCreateOperationRequest, eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil](((x0$3: org.make.api.operation.AdminCreateOperationRequest) => x0$3 match {
case (slug: eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], operationKind: org.make.core.operation.OperationKind, operationAuthentication: Option[org.make.core.operation.OperationAuthentication]): org.make.api.operation.AdminCreateOperationRequest((slug$macro$11 @ _), (operationKind$macro$12 @ _), (operationAuthentication$macro$13 @ _)) => ::.apply[eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil.type](slug$macro$11, ::.apply[org.make.core.operation.OperationKind, Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil.type](operationKind$macro$12, ::.apply[Option[org.make.core.operation.OperationAuthentication], shapeless.HNil.type](operationAuthentication$macro$13, HNil))).asInstanceOf[eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil]
}), ((x0$4: eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil) => x0$4 match {
case (head: eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], tail: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil): eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil((slug$macro$8 @ _), (head: org.make.core.operation.OperationKind, tail: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil): org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil((operationKind$macro$9 @ _), (head: Option[org.make.core.operation.OperationAuthentication], tail: shapeless.HNil): Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil((operationAuthentication$macro$10 @ _), HNil))) => operation.this.AdminCreateOperationRequest.apply(slug$macro$8, operationKind$macro$9, operationAuthentication$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("slug"), eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], (Symbol @@ String("operationKind")) :: (Symbol @@ String("operationAuthentication")) :: shapeless.HNil, org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("operationKind"), org.make.core.operation.OperationKind, (Symbol @@ String("operationAuthentication")) :: shapeless.HNil, Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("operationAuthentication"), Option[org.make.core.operation.OperationAuthentication], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("operationAuthentication")]](scala.Symbol.apply("operationAuthentication").asInstanceOf[Symbol @@ String("operationAuthentication")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("operationAuthentication")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("operationKind")]](scala.Symbol.apply("operationKind").asInstanceOf[Symbol @@ String("operationKind")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("operationKind")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("slug")]](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("slug")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.AdminCreateOperationRequest]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForslug: io.circe.Decoder[eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] = io.circe.refined.`package`.refinedDecoder[String, org.make.core.Validation.Slug, eu.timepit.refined.api.Refined](circe.this.Decoder.decodeString, org.make.core.Validation.validateSlug, api.this.RefType.refinedRefType);
private[this] val circeGenericDecoderForoperationKind: io.circe.Decoder[org.make.core.operation.OperationKind] = operation.this.OperationKind.circeDecoder;
private[this] val circeGenericDecoderForoperationAuthentication: io.circe.Decoder[Option[org.make.core.operation.OperationAuthentication]] = circe.this.Decoder.decodeOption[org.make.core.operation.OperationAuthentication](operation.this.OperationAuthentication.codec);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("slug"), eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecode(c.downField("slug")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("operationKind"), org.make.core.operation.OperationKind, shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationKind.tryDecode(c.downField("operationKind")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("operationAuthentication"), Option[org.make.core.operation.OperationAuthentication], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationAuthentication.tryDecode(c.downField("operationAuthentication")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("slug"), eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecodeAccumulating(c.downField("slug")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("operationKind"), org.make.core.operation.OperationKind, shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationKind.tryDecodeAccumulating(c.downField("operationKind")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("operationAuthentication"), Option[org.make.core.operation.OperationAuthentication], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationAuthentication.tryDecodeAccumulating(c.downField("operationAuthentication")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$15().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.AdminCreateOperationRequest]](inst$macro$16)
})
|
|
62
|
41241
|
2049
-
2062
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.operation.AdminUpdateOperationRequest]({
val inst$macro$16: io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.AdminUpdateOperationRequest] = {
final class anon$lazy$macro$15 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$15 = {
anon$lazy$macro$15.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.AdminUpdateOperationRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.operation.AdminUpdateOperationRequest, shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.operation.AdminUpdateOperationRequest, (Symbol @@ String("slug")) :: (Symbol @@ String("operationKind")) :: (Symbol @@ String("operationAuthentication")) :: shapeless.HNil, eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.operation.AdminUpdateOperationRequest, (Symbol @@ String("slug")) :: (Symbol @@ String("operationKind")) :: (Symbol @@ String("operationAuthentication")) :: shapeless.HNil](::.apply[Symbol @@ String("slug"), (Symbol @@ String("operationKind")) :: (Symbol @@ String("operationAuthentication")) :: shapeless.HNil.type](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")], ::.apply[Symbol @@ String("operationKind"), (Symbol @@ String("operationAuthentication")) :: shapeless.HNil.type](scala.Symbol.apply("operationKind").asInstanceOf[Symbol @@ String("operationKind")], ::.apply[Symbol @@ String("operationAuthentication"), shapeless.HNil.type](scala.Symbol.apply("operationAuthentication").asInstanceOf[Symbol @@ String("operationAuthentication")], HNil)))), Generic.instance[org.make.api.operation.AdminUpdateOperationRequest, eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil](((x0$3: org.make.api.operation.AdminUpdateOperationRequest) => x0$3 match {
case (slug: eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], operationKind: org.make.core.operation.OperationKind, operationAuthentication: Option[org.make.core.operation.OperationAuthentication]): org.make.api.operation.AdminUpdateOperationRequest((slug$macro$11 @ _), (operationKind$macro$12 @ _), (operationAuthentication$macro$13 @ _)) => ::.apply[eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil.type](slug$macro$11, ::.apply[org.make.core.operation.OperationKind, Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil.type](operationKind$macro$12, ::.apply[Option[org.make.core.operation.OperationAuthentication], shapeless.HNil.type](operationAuthentication$macro$13, HNil))).asInstanceOf[eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil]
}), ((x0$4: eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil) => x0$4 match {
case (head: eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], tail: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil): eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug] :: org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil((slug$macro$8 @ _), (head: org.make.core.operation.OperationKind, tail: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil): org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil((operationKind$macro$9 @ _), (head: Option[org.make.core.operation.OperationAuthentication], tail: shapeless.HNil): Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil((operationAuthentication$macro$10 @ _), HNil))) => operation.this.AdminUpdateOperationRequest.apply(slug$macro$8, operationKind$macro$9, operationAuthentication$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("slug"), eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], (Symbol @@ String("operationKind")) :: (Symbol @@ String("operationAuthentication")) :: shapeless.HNil, org.make.core.operation.OperationKind :: Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("operationKind"), org.make.core.operation.OperationKind, (Symbol @@ String("operationAuthentication")) :: shapeless.HNil, Option[org.make.core.operation.OperationAuthentication] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("operationAuthentication"), Option[org.make.core.operation.OperationAuthentication], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("operationAuthentication")]](scala.Symbol.apply("operationAuthentication").asInstanceOf[Symbol @@ String("operationAuthentication")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("operationAuthentication")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("operationKind")]](scala.Symbol.apply("operationKind").asInstanceOf[Symbol @@ String("operationKind")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("operationKind")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("slug")]](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("slug")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.AdminUpdateOperationRequest]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForslug: io.circe.Decoder[eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] = io.circe.refined.`package`.refinedDecoder[String, org.make.core.Validation.Slug, eu.timepit.refined.api.Refined](circe.this.Decoder.decodeString, org.make.core.Validation.validateSlug, api.this.RefType.refinedRefType);
private[this] val circeGenericDecoderForoperationKind: io.circe.Decoder[org.make.core.operation.OperationKind] = operation.this.OperationKind.circeDecoder;
private[this] val circeGenericDecoderForoperationAuthentication: io.circe.Decoder[Option[org.make.core.operation.OperationAuthentication]] = circe.this.Decoder.decodeOption[org.make.core.operation.OperationAuthentication](operation.this.OperationAuthentication.codec);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("slug"), eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecode(c.downField("slug")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("operationKind"), org.make.core.operation.OperationKind, shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationKind.tryDecode(c.downField("operationKind")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("operationAuthentication"), Option[org.make.core.operation.OperationAuthentication], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationAuthentication.tryDecode(c.downField("operationAuthentication")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("slug"), eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug], shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecodeAccumulating(c.downField("slug")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("operationKind"), org.make.core.operation.OperationKind, shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationKind.tryDecodeAccumulating(c.downField("operationKind")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("operationAuthentication"), Option[org.make.core.operation.OperationAuthentication], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationAuthentication.tryDecodeAccumulating(c.downField("operationAuthentication")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("slug"),eu.timepit.refined.api.Refined[String,org.make.core.Validation.Slug]] :: shapeless.labelled.FieldType[Symbol @@ String("operationKind"),org.make.core.operation.OperationKind] :: shapeless.labelled.FieldType[Symbol @@ String("operationAuthentication"),Option[org.make.core.operation.OperationAuthentication]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$15().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.AdminUpdateOperationRequest]](inst$macro$16)
})
|
|
75
|
38117
|
2473
-
2478
|
Select
|
org.make.api.operation.ResultsLinkRequest.value
|
org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest
|
ResultsLinkRequest.this.value
|
|
75
|
50452
|
2455
-
2479
|
Apply
|
org.make.core.operation.ResultsLink.parse
|
org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest
|
org.make.core.operation.ResultsLink.parse(ResultsLinkRequest.this.value)
|
|
81
|
42330
|
2651
-
2664
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.operation.ResultsLinkRequest]({
val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.ResultsLinkRequest] = {
final class anon$lazy$macro$11 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$11 = {
anon$lazy$macro$11.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.ResultsLinkRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.operation.ResultsLinkRequest, shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.operation.ResultsLinkRequest, (Symbol @@ String("kind")) :: (Symbol @@ String("value")) :: shapeless.HNil, org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.operation.ResultsLinkRequest, (Symbol @@ String("kind")) :: (Symbol @@ String("value")) :: shapeless.HNil](::.apply[Symbol @@ String("kind"), (Symbol @@ String("value")) :: shapeless.HNil.type](scala.Symbol.apply("kind").asInstanceOf[Symbol @@ String("kind")], ::.apply[Symbol @@ String("value"), shapeless.HNil.type](scala.Symbol.apply("value").asInstanceOf[Symbol @@ String("value")], HNil))), Generic.instance[org.make.api.operation.ResultsLinkRequest, org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil](((x0$3: org.make.api.operation.ResultsLinkRequest) => x0$3 match {
case (kind: org.make.api.operation.ResultsLinkKind, value: String): org.make.api.operation.ResultsLinkRequest((kind$macro$8 @ _), (value$macro$9 @ _)) => ::.apply[org.make.api.operation.ResultsLinkKind, String :: shapeless.HNil.type](kind$macro$8, ::.apply[String, shapeless.HNil.type](value$macro$9, HNil)).asInstanceOf[org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil]
}), ((x0$4: org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil) => x0$4 match {
case (head: org.make.api.operation.ResultsLinkKind, tail: String :: shapeless.HNil): org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil((kind$macro$6 @ _), (head: String, tail: shapeless.HNil): String :: shapeless.HNil((value$macro$7 @ _), HNil)) => operation.this.ResultsLinkRequest.apply(kind$macro$6, value$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("kind"), org.make.api.operation.ResultsLinkKind, (Symbol @@ String("value")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("value"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("value")]](scala.Symbol.apply("value").asInstanceOf[Symbol @@ String("value")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("value")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("kind")]](scala.Symbol.apply("kind").asInstanceOf[Symbol @@ String("kind")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("kind")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.ResultsLinkRequest]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForkind: io.circe.Decoder[org.make.api.operation.ResultsLinkKind] = operation.this.ResultsLinkKind.decoder;
private[this] val circeGenericDecoderForvalue: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("kind"), org.make.api.operation.ResultsLinkKind, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForkind.tryDecode(c.downField("kind")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("value"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvalue.tryDecode(c.downField("value")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("kind"), org.make.api.operation.ResultsLinkKind, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForkind.tryDecodeAccumulating(c.downField("kind")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("value"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvalue.tryDecodeAccumulating(c.downField("value")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.operation.ResultsLinkRequest]](inst$macro$12)
})
|
|
82
|
44404
|
2719
-
3128
|
Apply
|
io.circe.Decoder.emap
|
org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest
|
ResultsLinkRequest.this.baseDecoder.emap[org.make.api.operation.ResultsLinkRequest](((x0$5: org.make.api.operation.ResultsLinkRequest) => x0$5 match {
case (t @ (kind: org.make.api.operation.ResultsLinkKind, value: String): org.make.api.operation.ResultsLinkRequest(ResultsLinkKind.External, (value @ _))) => if (scala.util.Try.apply[java.net.URI](new java.net.URI(value)).isSuccess)
scala.`package`.Right.apply[Nothing, org.make.api.operation.ResultsLinkRequest](t)
else
scala.`package`.Left.apply[String, Nothing](("Invalid URI: \'".+(value).+("\'"): String))
case (t @ (kind: org.make.api.operation.ResultsLinkKind, value: String): org.make.api.operation.ResultsLinkRequest(ResultsLinkKind.Internal, (value @ _))) => if (org.make.core.operation.ResultsLink.Internal.withValueOpt(value).nonEmpty)
scala.`package`.Right.apply[Nothing, org.make.api.operation.ResultsLinkRequest](t)
else
scala.`package`.Left.apply[String, Nothing](("Invalid internal link: \'".+(value).+("\'"): String))
}))
|
|
84
|
34462
|
2820
-
2834
|
Apply
|
java.net.URI.<init>
|
|
new java.net.URI(value)
|
|
84
|
30549
|
2816
-
2845
|
Select
|
scala.util.Try.isSuccess
|
|
scala.util.Try.apply[java.net.URI](new java.net.URI(value)).isSuccess
|
|
85
|
44640
|
2855
-
2863
|
Apply
|
scala.util.Right.apply
|
|
scala.`package`.Right.apply[Nothing, org.make.api.operation.ResultsLinkRequest](t)
|
|
85
|
36102
|
2855
-
2863
|
Block
|
scala.util.Right.apply
|
|
scala.`package`.Right.apply[Nothing, org.make.api.operation.ResultsLinkRequest](t)
|
|
87
|
40995
|
2883
-
2915
|
Block
|
scala.util.Left.apply
|
|
scala.`package`.Left.apply[String, Nothing](("Invalid URI: \'".+(value).+("\'"): String))
|
|
87
|
48854
|
2883
-
2915
|
Apply
|
scala.util.Left.apply
|
|
scala.`package`.Left.apply[String, Nothing](("Invalid URI: \'".+(value).+("\'"): String))
|
|
90
|
37873
|
2995
-
3044
|
Select
|
scala.Option.nonEmpty
|
|
org.make.core.operation.ResultsLink.Internal.withValueOpt(value).nonEmpty
|
|
91
|
43382
|
3054
-
3062
|
Block
|
scala.util.Right.apply
|
|
scala.`package`.Right.apply[Nothing, org.make.api.operation.ResultsLinkRequest](t)
|
|
91
|
51181
|
3054
-
3062
|
Apply
|
scala.util.Right.apply
|
|
scala.`package`.Right.apply[Nothing, org.make.api.operation.ResultsLinkRequest](t)
|
|
93
|
31359
|
3082
-
3124
|
Block
|
scala.util.Left.apply
|
|
scala.`package`.Left.apply[String, Nothing](("Invalid internal link: \'".+(value).+("\'"): String))
|
|
93
|
34502
|
3082
-
3124
|
Apply
|
scala.util.Left.apply
|
|
scala.`package`.Left.apply[String, Nothing](("Invalid internal link: \'".+(value).+("\'"): String))
|
|
96
|
36310
|
3184
-
3197
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
org.make.api.operation.defaultmoderationoperationofquestionapicomponenttest
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.operation.ResultsLinkRequest]({
val inst$macro$24: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.operation.ResultsLinkRequest] = {
final class anon$lazy$macro$23 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$23 = {
anon$lazy$macro$23.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$13: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.operation.ResultsLinkRequest] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.operation.ResultsLinkRequest, shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.operation.ResultsLinkRequest, (Symbol @@ String("kind")) :: (Symbol @@ String("value")) :: shapeless.HNil, org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.operation.ResultsLinkRequest, (Symbol @@ String("kind")) :: (Symbol @@ String("value")) :: shapeless.HNil](::.apply[Symbol @@ String("kind"), (Symbol @@ String("value")) :: shapeless.HNil.type](scala.Symbol.apply("kind").asInstanceOf[Symbol @@ String("kind")], ::.apply[Symbol @@ String("value"), shapeless.HNil.type](scala.Symbol.apply("value").asInstanceOf[Symbol @@ String("value")], HNil))), Generic.instance[org.make.api.operation.ResultsLinkRequest, org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil](((x0$8: org.make.api.operation.ResultsLinkRequest) => x0$8 match {
case (kind: org.make.api.operation.ResultsLinkKind, value: String): org.make.api.operation.ResultsLinkRequest((kind$macro$20 @ _), (value$macro$21 @ _)) => ::.apply[org.make.api.operation.ResultsLinkKind, String :: shapeless.HNil.type](kind$macro$20, ::.apply[String, shapeless.HNil.type](value$macro$21, HNil)).asInstanceOf[org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil]
}), ((x0$9: org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil) => x0$9 match {
case (head: org.make.api.operation.ResultsLinkKind, tail: String :: shapeless.HNil): org.make.api.operation.ResultsLinkKind :: String :: shapeless.HNil((kind$macro$18 @ _), (head: String, tail: shapeless.HNil): String :: shapeless.HNil((value$macro$19 @ _), HNil)) => operation.this.ResultsLinkRequest.apply(kind$macro$18, value$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("kind"), org.make.api.operation.ResultsLinkKind, (Symbol @@ String("value")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("value"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("value")]](scala.Symbol.apply("value").asInstanceOf[Symbol @@ String("value")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("value")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("kind")]](scala.Symbol.apply("kind").asInstanceOf[Symbol @@ String("kind")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("kind")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.operation.ResultsLinkRequest]];
<stable> <accessor> lazy val inst$macro$22: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForkind: io.circe.Encoder[org.make.api.operation.ResultsLinkKind] = operation.this.ResultsLinkKind.encoder;
private[this] val circeGenericEncoderForvalue: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind], tail: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForkind @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("value"),String], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForvalue @ _), shapeless.HNil)) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("kind", $anon.this.circeGenericEncoderForkind.apply(circeGenericHListBindingForkind)), scala.Tuple2.apply[String, io.circe.Json]("value", $anon.this.circeGenericEncoderForvalue.apply(circeGenericHListBindingForvalue))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.api.operation.ResultsLinkKind] :: shapeless.labelled.FieldType[Symbol @@ String("value"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$23().inst$macro$13
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.operation.ResultsLinkRequest]](inst$macro$24)
})
|