| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
40
|
29182
|
1428
-
1474
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(CreatePersonalityRoleFieldRequest.this.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
}).throwIfInvalid()
|
|
44
|
28690
|
1590
-
1638
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.personality.CreatePersonalityRoleFieldRequest]({
val inst$macro$16: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.CreatePersonalityRoleFieldRequest] = {
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.personality.CreatePersonalityRoleFieldRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.personality.CreatePersonalityRoleFieldRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.CreatePersonalityRoleFieldRequest, (Symbol @@ String("name")) :: (Symbol @@ String("fieldType")) :: (Symbol @@ String("required")) :: shapeless.HNil, String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.CreatePersonalityRoleFieldRequest, (Symbol @@ String("name")) :: (Symbol @@ String("fieldType")) :: (Symbol @@ String("required")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), (Symbol @@ String("fieldType")) :: (Symbol @@ String("required")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("fieldType"), (Symbol @@ String("required")) :: shapeless.HNil.type](scala.Symbol.apply("fieldType").asInstanceOf[Symbol @@ String("fieldType")], ::.apply[Symbol @@ String("required"), shapeless.HNil.type](scala.Symbol.apply("required").asInstanceOf[Symbol @@ String("required")], HNil)))), Generic.instance[org.make.api.personality.CreatePersonalityRoleFieldRequest, String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil](((x0$3: org.make.api.personality.CreatePersonalityRoleFieldRequest) => x0$3 match {
case (name: String, fieldType: org.make.core.personality.FieldType, required: Boolean): org.make.api.personality.CreatePersonalityRoleFieldRequest((name$macro$11 @ _), (fieldType$macro$12 @ _), (required$macro$13 @ _)) => ::.apply[String, org.make.core.personality.FieldType :: Boolean :: shapeless.HNil.type](name$macro$11, ::.apply[org.make.core.personality.FieldType, Boolean :: shapeless.HNil.type](fieldType$macro$12, ::.apply[Boolean, shapeless.HNil.type](required$macro$13, HNil))).asInstanceOf[String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil]
}), ((x0$4: String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil) => x0$4 match {
case (head: String, tail: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil): String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil((name$macro$8 @ _), (head: org.make.core.personality.FieldType, tail: Boolean :: shapeless.HNil): org.make.core.personality.FieldType :: Boolean :: shapeless.HNil((fieldType$macro$9 @ _), (head: Boolean, tail: shapeless.HNil): Boolean :: shapeless.HNil((required$macro$10 @ _), HNil))) => personality.this.CreatePersonalityRoleFieldRequest.apply(name$macro$8, fieldType$macro$9, required$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("fieldType")) :: (Symbol @@ String("required")) :: shapeless.HNil, org.make.core.personality.FieldType :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("fieldType"), org.make.core.personality.FieldType, (Symbol @@ String("required")) :: shapeless.HNil, Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("required"), Boolean, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("required")]](scala.Symbol.apply("required").asInstanceOf[Symbol @@ String("required")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("required")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("fieldType")]](scala.Symbol.apply("fieldType").asInstanceOf[Symbol @@ String("fieldType")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("fieldType")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.CreatePersonalityRoleFieldRequest]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForfieldType: io.circe.Decoder[org.make.core.personality.FieldType] = personality.this.FieldType.circeDecoder;
private[this] val circeGenericDecoderForrequired: io.circe.Decoder[Boolean] = circe.this.Decoder.decodeBoolean;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("fieldType"), org.make.core.personality.FieldType, shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfieldType.tryDecode(c.downField("fieldType")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("required"), Boolean, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForrequired.tryDecode(c.downField("required")), 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("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("fieldType"), org.make.core.personality.FieldType, shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfieldType.tryDecodeAccumulating(c.downField("fieldType")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("required"), Boolean, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForrequired.tryDecodeAccumulating(c.downField("required")), 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("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: 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.personality.CreatePersonalityRoleFieldRequest]](inst$macro$16)
})
|
|
49
|
30058
|
1707
-
1753
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(CreatePersonalityRoleRequest.this.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
}).throwIfInvalid()
|
|
53
|
29231
|
1859
-
1902
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.personality.CreatePersonalityRoleRequest]({
val inst$macro$8: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.CreatePersonalityRoleRequest] = {
final class anon$lazy$macro$7 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$7 = {
anon$lazy$macro$7.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.CreatePersonalityRoleRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.personality.CreatePersonalityRoleRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.CreatePersonalityRoleRequest, (Symbol @@ String("name")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.CreatePersonalityRoleRequest, (Symbol @@ String("name")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], HNil)), Generic.instance[org.make.api.personality.CreatePersonalityRoleRequest, String :: shapeless.HNil](((x0$3: org.make.api.personality.CreatePersonalityRoleRequest) => x0$3 match {
case (name: String): org.make.api.personality.CreatePersonalityRoleRequest((name$macro$5 @ _)) => ::.apply[String, shapeless.HNil.type](name$macro$5, HNil).asInstanceOf[String :: shapeless.HNil]
}), ((x0$4: String :: shapeless.HNil) => x0$4 match {
case (head: String, tail: shapeless.HNil): String :: shapeless.HNil((name$macro$4 @ _), HNil) => personality.this.CreatePersonalityRoleRequest.apply(name$macro$4)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$7.this.inst$macro$6)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.CreatePersonalityRoleRequest]];
<stable> <accessor> lazy val inst$macro$6: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$7().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.CreatePersonalityRoleRequest]](inst$macro$8)
})
|
|
66
|
28491
|
2504
-
2551
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.personality.CreateQuestionPersonalityRequest]({
val inst$macro$16: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.CreateQuestionPersonalityRequest] = {
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.personality.CreateQuestionPersonalityRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.personality.CreateQuestionPersonalityRequest, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.CreateQuestionPersonalityRequest, (Symbol @@ String("userId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.user.UserId :: org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.CreateQuestionPersonalityRequest, (Symbol @@ String("userId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil](::.apply[Symbol @@ String("userId"), (Symbol @@ String("questionId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("personalityRoleId"), shapeless.HNil.type](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")], HNil)))), Generic.instance[org.make.api.personality.CreateQuestionPersonalityRequest, org.make.core.user.UserId :: org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil](((x0$3: org.make.api.personality.CreateQuestionPersonalityRequest) => x0$3 match {
case (userId: org.make.core.user.UserId, questionId: org.make.core.question.QuestionId, personalityRoleId: org.make.core.personality.PersonalityRoleId): org.make.api.personality.CreateQuestionPersonalityRequest((userId$macro$11 @ _), (questionId$macro$12 @ _), (personalityRoleId$macro$13 @ _)) => ::.apply[org.make.core.user.UserId, org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](userId$macro$11, ::.apply[org.make.core.question.QuestionId, org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](questionId$macro$12, ::.apply[org.make.core.personality.PersonalityRoleId, shapeless.HNil.type](personalityRoleId$macro$13, HNil))).asInstanceOf[org.make.core.user.UserId :: org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil]
}), ((x0$4: org.make.core.user.UserId :: org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.user.UserId, tail: org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.user.UserId :: org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((userId$macro$8 @ _), (head: org.make.core.question.QuestionId, tail: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((questionId$macro$9 @ _), (head: org.make.core.personality.PersonalityRoleId, tail: shapeless.HNil): org.make.core.personality.PersonalityRoleId :: shapeless.HNil((personalityRoleId$macro$10 @ _), HNil))) => personality.this.CreateQuestionPersonalityRequest.apply(userId$macro$8, questionId$macro$9, personalityRoleId$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userId"), org.make.core.user.UserId, (Symbol @@ String("questionId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.question.QuestionId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), org.make.core.question.QuestionId, (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userId")]](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userId")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.CreateQuestionPersonalityRequest]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForuserId: io.circe.Decoder[org.make.core.user.UserId] = user.this.UserId.userIdDecoder;
private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdDecoder;
private[this] val circeGenericDecoderForpersonalityRoleId: io.circe.Decoder[org.make.core.personality.PersonalityRoleId] = personality.this.PersonalityRoleId.personalityRoleIdDecoder;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("userId"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserId.tryDecode(c.downField("userId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpersonalityRoleId.tryDecode(c.downField("personalityRoleId")), 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("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("userId"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserId.tryDecodeAccumulating(c.downField("userId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpersonalityRoleId.tryDecodeAccumulating(c.downField("personalityRoleId")), 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("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: 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.personality.CreateQuestionPersonalityRequest]](inst$macro$16)
})
|
|
76
|
29777
|
2793
-
2839
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(UpdatePersonalityRoleFieldRequest.this.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
}).throwIfInvalid()
|
|
80
|
29492
|
2955
-
3003
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.personality.UpdatePersonalityRoleFieldRequest]({
val inst$macro$16: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.UpdatePersonalityRoleFieldRequest] = {
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.personality.UpdatePersonalityRoleFieldRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.personality.UpdatePersonalityRoleFieldRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.UpdatePersonalityRoleFieldRequest, (Symbol @@ String("name")) :: (Symbol @@ String("fieldType")) :: (Symbol @@ String("required")) :: shapeless.HNil, String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.UpdatePersonalityRoleFieldRequest, (Symbol @@ String("name")) :: (Symbol @@ String("fieldType")) :: (Symbol @@ String("required")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), (Symbol @@ String("fieldType")) :: (Symbol @@ String("required")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("fieldType"), (Symbol @@ String("required")) :: shapeless.HNil.type](scala.Symbol.apply("fieldType").asInstanceOf[Symbol @@ String("fieldType")], ::.apply[Symbol @@ String("required"), shapeless.HNil.type](scala.Symbol.apply("required").asInstanceOf[Symbol @@ String("required")], HNil)))), Generic.instance[org.make.api.personality.UpdatePersonalityRoleFieldRequest, String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil](((x0$3: org.make.api.personality.UpdatePersonalityRoleFieldRequest) => x0$3 match {
case (name: String, fieldType: org.make.core.personality.FieldType, required: Boolean): org.make.api.personality.UpdatePersonalityRoleFieldRequest((name$macro$11 @ _), (fieldType$macro$12 @ _), (required$macro$13 @ _)) => ::.apply[String, org.make.core.personality.FieldType :: Boolean :: shapeless.HNil.type](name$macro$11, ::.apply[org.make.core.personality.FieldType, Boolean :: shapeless.HNil.type](fieldType$macro$12, ::.apply[Boolean, shapeless.HNil.type](required$macro$13, HNil))).asInstanceOf[String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil]
}), ((x0$4: String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil) => x0$4 match {
case (head: String, tail: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil): String :: org.make.core.personality.FieldType :: Boolean :: shapeless.HNil((name$macro$8 @ _), (head: org.make.core.personality.FieldType, tail: Boolean :: shapeless.HNil): org.make.core.personality.FieldType :: Boolean :: shapeless.HNil((fieldType$macro$9 @ _), (head: Boolean, tail: shapeless.HNil): Boolean :: shapeless.HNil((required$macro$10 @ _), HNil))) => personality.this.UpdatePersonalityRoleFieldRequest.apply(name$macro$8, fieldType$macro$9, required$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("fieldType")) :: (Symbol @@ String("required")) :: shapeless.HNil, org.make.core.personality.FieldType :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("fieldType"), org.make.core.personality.FieldType, (Symbol @@ String("required")) :: shapeless.HNil, Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("required"), Boolean, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("required")]](scala.Symbol.apply("required").asInstanceOf[Symbol @@ String("required")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("required")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("fieldType")]](scala.Symbol.apply("fieldType").asInstanceOf[Symbol @@ String("fieldType")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("fieldType")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.UpdatePersonalityRoleFieldRequest]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForfieldType: io.circe.Decoder[org.make.core.personality.FieldType] = personality.this.FieldType.circeDecoder;
private[this] val circeGenericDecoderForrequired: io.circe.Decoder[Boolean] = circe.this.Decoder.decodeBoolean;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("fieldType"), org.make.core.personality.FieldType, shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfieldType.tryDecode(c.downField("fieldType")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("required"), Boolean, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForrequired.tryDecode(c.downField("required")), 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("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("fieldType"), org.make.core.personality.FieldType, shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfieldType.tryDecodeAccumulating(c.downField("fieldType")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("required"), Boolean, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForrequired.tryDecodeAccumulating(c.downField("required")), 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("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("fieldType"),org.make.core.personality.FieldType] :: shapeless.labelled.FieldType[Symbol @@ String("required"),Boolean] :: 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.personality.UpdatePersonalityRoleFieldRequest]](inst$macro$16)
})
|
|
85
|
28546
|
3072
-
3118
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(UpdatePersonalityRoleRequest.this.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
}).throwIfInvalid()
|
|
89
|
29925
|
3224
-
3267
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.personality.UpdatePersonalityRoleRequest]({
val inst$macro$8: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.UpdatePersonalityRoleRequest] = {
final class anon$lazy$macro$7 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$7 = {
anon$lazy$macro$7.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.UpdatePersonalityRoleRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.personality.UpdatePersonalityRoleRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.UpdatePersonalityRoleRequest, (Symbol @@ String("name")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.UpdatePersonalityRoleRequest, (Symbol @@ String("name")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], HNil)), Generic.instance[org.make.api.personality.UpdatePersonalityRoleRequest, String :: shapeless.HNil](((x0$3: org.make.api.personality.UpdatePersonalityRoleRequest) => x0$3 match {
case (name: String): org.make.api.personality.UpdatePersonalityRoleRequest((name$macro$5 @ _)) => ::.apply[String, shapeless.HNil.type](name$macro$5, HNil).asInstanceOf[String :: shapeless.HNil]
}), ((x0$4: String :: shapeless.HNil) => x0$4 match {
case (head: String, tail: shapeless.HNil): String :: shapeless.HNil((name$macro$4 @ _), HNil) => personality.this.UpdatePersonalityRoleRequest.apply(name$macro$4)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$7.this.inst$macro$6)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.UpdatePersonalityRoleRequest]];
<stable> <accessor> lazy val inst$macro$6: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$7().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.UpdatePersonalityRoleRequest]](inst$macro$8)
})
|
|
100
|
29189
|
3726
-
3773
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.personality.UpdateQuestionPersonalityRequest]({
val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.UpdateQuestionPersonalityRequest] = {
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.personality.UpdateQuestionPersonalityRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.personality.UpdateQuestionPersonalityRequest, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.UpdateQuestionPersonalityRequest, (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.UpdateQuestionPersonalityRequest, (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil](::.apply[Symbol @@ String("userId"), (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")], ::.apply[Symbol @@ String("personalityRoleId"), shapeless.HNil.type](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")], HNil))), Generic.instance[org.make.api.personality.UpdateQuestionPersonalityRequest, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil](((x0$3: org.make.api.personality.UpdateQuestionPersonalityRequest) => x0$3 match {
case (userId: org.make.core.user.UserId, personalityRoleId: org.make.core.personality.PersonalityRoleId): org.make.api.personality.UpdateQuestionPersonalityRequest((userId$macro$8 @ _), (personalityRoleId$macro$9 @ _)) => ::.apply[org.make.core.user.UserId, org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](userId$macro$8, ::.apply[org.make.core.personality.PersonalityRoleId, shapeless.HNil.type](personalityRoleId$macro$9, HNil)).asInstanceOf[org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil]
}), ((x0$4: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.user.UserId, tail: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((userId$macro$6 @ _), (head: org.make.core.personality.PersonalityRoleId, tail: shapeless.HNil): org.make.core.personality.PersonalityRoleId :: shapeless.HNil((personalityRoleId$macro$7 @ _), HNil)) => personality.this.UpdateQuestionPersonalityRequest.apply(userId$macro$6, personalityRoleId$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userId"), org.make.core.user.UserId, (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userId")]](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userId")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.UpdateQuestionPersonalityRequest]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForuserId: io.circe.Decoder[org.make.core.user.UserId] = user.this.UserId.userIdDecoder;
private[this] val circeGenericDecoderForpersonalityRoleId: io.circe.Decoder[org.make.core.personality.PersonalityRoleId] = personality.this.PersonalityRoleId.personalityRoleIdDecoder;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("userId"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserId.tryDecode(c.downField("userId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpersonalityRoleId.tryDecode(c.downField("personalityRoleId")), 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("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("userId"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserId.tryDecodeAccumulating(c.downField("userId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpersonalityRoleId.tryDecodeAccumulating(c.downField("personalityRoleId")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: 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.personality.UpdateQuestionPersonalityRequest]](inst$macro$12)
})
|