|
81
|
1182
|
2588
-
2612
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveCodec
|
|
io.circe.generic.semiauto.deriveCodec[org.make.core.idea.indexed.IndexedIdea]({
val inst$macro$36: io.circe.generic.codec.DerivedAsObjectCodec[org.make.core.idea.indexed.IndexedIdea] = {
final class anon$lazy$macro$35 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$35 = {
anon$lazy$macro$35.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.core.idea.indexed.IndexedIdea] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.core.idea.indexed.IndexedIdea, shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.core.idea.indexed.IndexedIdea, (Symbol @@ String("ideaId")) :: (Symbol @@ String("name")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil, org.make.core.idea.IdeaId :: String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.core.idea.indexed.IndexedIdea, (Symbol @@ String("ideaId")) :: (Symbol @@ String("name")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil](::.apply[Symbol @@ String("ideaId"), (Symbol @@ String("name")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil.type](scala.Symbol.apply("ideaId").asInstanceOf[Symbol @@ String("ideaId")], ::.apply[Symbol @@ String("name"), (Symbol @@ String("questionId")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("operationId")) :: (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("operationId"), (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil.type](scala.Symbol.apply("operationId").asInstanceOf[Symbol @@ String("operationId")], ::.apply[Symbol @@ String("status"), (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil.type](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")], ::.apply[Symbol @@ String("createdAt"), (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil.type](scala.Symbol.apply("createdAt").asInstanceOf[Symbol @@ String("createdAt")], ::.apply[Symbol @@ String("updatedAt"), (Symbol @@ String("proposalsCount")) :: shapeless.HNil.type](scala.Symbol.apply("updatedAt").asInstanceOf[Symbol @@ String("updatedAt")], ::.apply[Symbol @@ String("proposalsCount"), shapeless.HNil.type](scala.Symbol.apply("proposalsCount").asInstanceOf[Symbol @@ String("proposalsCount")], HNil))))))))), Generic.instance[org.make.core.idea.indexed.IndexedIdea, org.make.core.idea.IdeaId :: String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil](((x0$3: org.make.core.idea.indexed.IndexedIdea) => x0$3 match {
case (ideaId: org.make.core.idea.IdeaId, name: String, questionId: Option[org.make.core.question.QuestionId], operationId: Option[org.make.core.operation.OperationId], status: org.make.core.idea.IdeaStatus, createdAt: java.time.ZonedDateTime, updatedAt: Option[java.time.ZonedDateTime], proposalsCount: Int): org.make.core.idea.indexed.IndexedIdea((ideaId$macro$26 @ _), (name$macro$27 @ _), (questionId$macro$28 @ _), (operationId$macro$29 @ _), (status$macro$30 @ _), (createdAt$macro$31 @ _), (updatedAt$macro$32 @ _), (proposalsCount$macro$33 @ _)) => ::.apply[org.make.core.idea.IdeaId, String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil.type](ideaId$macro$26, ::.apply[String, Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil.type](name$macro$27, ::.apply[Option[org.make.core.question.QuestionId], Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil.type](questionId$macro$28, ::.apply[Option[org.make.core.operation.OperationId], org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil.type](operationId$macro$29, ::.apply[org.make.core.idea.IdeaStatus, java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil.type](status$macro$30, ::.apply[java.time.ZonedDateTime, Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil.type](createdAt$macro$31, ::.apply[Option[java.time.ZonedDateTime], Int :: shapeless.HNil.type](updatedAt$macro$32, ::.apply[Int, shapeless.HNil.type](proposalsCount$macro$33, HNil)))))))).asInstanceOf[org.make.core.idea.IdeaId :: String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil]
}), ((x0$4: org.make.core.idea.IdeaId :: String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.idea.IdeaId, tail: String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil): org.make.core.idea.IdeaId :: String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil((ideaId$macro$18 @ _), (head: String, tail: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil): String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil((name$macro$19 @ _), (head: Option[org.make.core.question.QuestionId], tail: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil): Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil((questionId$macro$20 @ _), (head: Option[org.make.core.operation.OperationId], tail: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil): Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil((operationId$macro$21 @ _), (head: org.make.core.idea.IdeaStatus, tail: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil): org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil((status$macro$22 @ _), (head: java.time.ZonedDateTime, tail: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil): java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil((createdAt$macro$23 @ _), (head: Option[java.time.ZonedDateTime], tail: Int :: shapeless.HNil): Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil((updatedAt$macro$24 @ _), (head: Int, tail: shapeless.HNil): Int :: shapeless.HNil((proposalsCount$macro$25 @ _), HNil)))))))) => indexed.this.IndexedIdea.apply(ideaId$macro$18, name$macro$19, questionId$macro$20, operationId$macro$21, status$macro$22, createdAt$macro$23, updatedAt$macro$24, proposalsCount$macro$25)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("ideaId"), org.make.core.idea.IdeaId, (Symbol @@ String("name")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil, String :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("questionId")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil, Option[org.make.core.question.QuestionId] :: Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], (Symbol @@ String("operationId")) :: (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil, Option[org.make.core.operation.OperationId] :: org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("operationId"), Option[org.make.core.operation.OperationId], (Symbol @@ String("status")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil, org.make.core.idea.IdeaStatus :: java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("status"), org.make.core.idea.IdeaStatus, (Symbol @@ String("createdAt")) :: (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil, java.time.ZonedDateTime :: Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("createdAt"), java.time.ZonedDateTime, (Symbol @@ String("updatedAt")) :: (Symbol @@ String("proposalsCount")) :: shapeless.HNil, Option[java.time.ZonedDateTime] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("updatedAt"), Option[java.time.ZonedDateTime], (Symbol @@ String("proposalsCount")) :: shapeless.HNil, Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("proposalsCount"), Int, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("proposalsCount")]](scala.Symbol.apply("proposalsCount").asInstanceOf[Symbol @@ String("proposalsCount")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("proposalsCount")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("updatedAt")]](scala.Symbol.apply("updatedAt").asInstanceOf[Symbol @@ String("updatedAt")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("updatedAt")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("createdAt")]](scala.Symbol.apply("createdAt").asInstanceOf[Symbol @@ String("createdAt")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("createdAt")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("status")]](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("status")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("operationId")]](scala.Symbol.apply("operationId").asInstanceOf[Symbol @@ String("operationId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("operationId")]])), 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("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("ideaId")]](scala.Symbol.apply("ideaId").asInstanceOf[Symbol @@ String("ideaId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("ideaId")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$35.this.inst$macro$34)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.core.idea.indexed.IndexedIdea]];
<stable> <accessor> lazy val inst$macro$34: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForideaId: io.circe.Decoder[org.make.core.idea.IdeaId] = idea.this.IdeaId.ideaIdDecoder;
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[Option[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeOption[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder);
private[this] val circeGenericDecoderForoperationId: io.circe.Decoder[Option[org.make.core.operation.OperationId]] = circe.this.Decoder.decodeOption[org.make.core.operation.OperationId](operation.this.OperationId.operationIdDecoder);
private[this] val circeGenericDecoderForstatus: io.circe.Decoder[org.make.core.idea.IdeaStatus] = idea.this.IdeaStatus.circeDecoder;
private[this] val circeGenericDecoderForcreatedAt: io.circe.Decoder[java.time.ZonedDateTime] = IndexedIdea.this.zonedDateTimeDecoder;
private[this] val circeGenericDecoderForupdatedAt: io.circe.Decoder[Option[java.time.ZonedDateTime]] = circe.this.Decoder.decodeOption[java.time.ZonedDateTime](IndexedIdea.this.zonedDateTimeDecoder);
private[this] val circeGenericDecoderForproposalsCount: io.circe.Decoder[Int] = circe.this.Decoder.decodeInt;
private[this] val circeGenericEncoderForideaId: io.circe.Encoder[org.make.core.idea.IdeaId] = IndexedIdea.this.stringValueEncoder[org.make.core.idea.IdeaId];
private[this] val circeGenericEncoderForname: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
private[this] val circeGenericEncoderForquestionId: io.circe.Encoder[Option[org.make.core.question.QuestionId]] = circe.this.Encoder.encodeOption[org.make.core.question.QuestionId](IndexedIdea.this.stringValueEncoder[org.make.core.question.QuestionId]);
private[this] val circeGenericEncoderForoperationId: io.circe.Encoder[Option[org.make.core.operation.OperationId]] = circe.this.Encoder.encodeOption[org.make.core.operation.OperationId](IndexedIdea.this.stringValueEncoder[org.make.core.operation.OperationId]);
private[this] val circeGenericEncoderForstatus: io.circe.Encoder[org.make.core.idea.IdeaStatus] = idea.this.IdeaStatus.circeEncoder;
private[this] val circeGenericEncoderForcreatedAt: io.circe.Encoder[java.time.ZonedDateTime] = IndexedIdea.this.zonedDateTimeEncoder;
private[this] val circeGenericEncoderForupdatedAt: io.circe.Encoder[Option[java.time.ZonedDateTime]] = circe.this.Encoder.encodeOption[java.time.ZonedDateTime](IndexedIdea.this.zonedDateTimeEncoder);
private[this] val circeGenericEncoderForproposalsCount: io.circe.Encoder[Int] = circe.this.Encoder.encodeInt;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId], tail: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForideaId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("name"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForname @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]], tail: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]], tail: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForoperationId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus], tail: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForstatus @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime], tail: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcreatedAt @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]], tail: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForupdatedAt @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForproposalsCount @ _), shapeless.HNil)))))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("ideaId", $anon.this.circeGenericEncoderForideaId.apply(circeGenericHListBindingForideaId)), scala.Tuple2.apply[String, io.circe.Json]("name", $anon.this.circeGenericEncoderForname.apply(circeGenericHListBindingForname)), scala.Tuple2.apply[String, io.circe.Json]("questionId", $anon.this.circeGenericEncoderForquestionId.apply(circeGenericHListBindingForquestionId)), scala.Tuple2.apply[String, io.circe.Json]("operationId", $anon.this.circeGenericEncoderForoperationId.apply(circeGenericHListBindingForoperationId)), scala.Tuple2.apply[String, io.circe.Json]("status", $anon.this.circeGenericEncoderForstatus.apply(circeGenericHListBindingForstatus)), scala.Tuple2.apply[String, io.circe.Json]("createdAt", $anon.this.circeGenericEncoderForcreatedAt.apply(circeGenericHListBindingForcreatedAt)), scala.Tuple2.apply[String, io.circe.Json]("updatedAt", $anon.this.circeGenericEncoderForupdatedAt.apply(circeGenericHListBindingForupdatedAt)), scala.Tuple2.apply[String, io.circe.Json]("proposalsCount", $anon.this.circeGenericEncoderForproposalsCount.apply(circeGenericHListBindingForproposalsCount))))
};
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("ideaId"), org.make.core.idea.IdeaId, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForideaId.tryDecode(c.downField("ideaId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("operationId"), Option[org.make.core.operation.OperationId], shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationId.tryDecode(c.downField("operationId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForstatus.tryDecode(c.downField("status")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("createdAt"), java.time.ZonedDateTime, shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcreatedAt.tryDecode(c.downField("createdAt")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("updatedAt"), Option[java.time.ZonedDateTime], shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForupdatedAt.tryDecode(c.downField("updatedAt")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("proposalsCount"), Int, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposalsCount.tryDecode(c.downField("proposalsCount")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(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("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("ideaId"), org.make.core.idea.IdeaId, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForideaId.tryDecodeAccumulating(c.downField("ideaId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("operationId"), Option[org.make.core.operation.OperationId], shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationId.tryDecodeAccumulating(c.downField("operationId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForstatus.tryDecodeAccumulating(c.downField("status")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("createdAt"), java.time.ZonedDateTime, shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcreatedAt.tryDecodeAccumulating(c.downField("createdAt")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("updatedAt"), Option[java.time.ZonedDateTime], shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForupdatedAt.tryDecodeAccumulating(c.downField("updatedAt")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("proposalsCount"), Int, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposalsCount.tryDecodeAccumulating(c.downField("proposalsCount")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("updatedAt"),Option[java.time.ZonedDateTime]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalsCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$35().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.core.idea.indexed.IndexedIdea]](inst$macro$36)
})
|
|
105
|
4669
|
3315
-
3344
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveCodec
|
org.make.api.idea.moderationideaapitest,org.make.api.idea.ideaservicetest
|
io.circe.generic.semiauto.deriveCodec[org.make.core.idea.indexed.IdeaSearchResult]({
val inst$macro$12: io.circe.generic.codec.DerivedAsObjectCodec[org.make.core.idea.indexed.IdeaSearchResult] = {
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.codec.DerivedAsObjectCodec[org.make.core.idea.indexed.IdeaSearchResult] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.core.idea.indexed.IdeaSearchResult, shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.core.idea.indexed.IdeaSearchResult, (Symbol @@ String("total")) :: (Symbol @@ String("results")) :: shapeless.HNil, Long :: Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.core.idea.indexed.IdeaSearchResult, (Symbol @@ String("total")) :: (Symbol @@ String("results")) :: shapeless.HNil](::.apply[Symbol @@ String("total"), (Symbol @@ String("results")) :: shapeless.HNil.type](scala.Symbol.apply("total").asInstanceOf[Symbol @@ String("total")], ::.apply[Symbol @@ String("results"), shapeless.HNil.type](scala.Symbol.apply("results").asInstanceOf[Symbol @@ String("results")], HNil))), Generic.instance[org.make.core.idea.indexed.IdeaSearchResult, Long :: Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil](((x0$3: org.make.core.idea.indexed.IdeaSearchResult) => x0$3 match {
case (total: Long, results: Seq[org.make.core.idea.indexed.IndexedIdea]): org.make.core.idea.indexed.IdeaSearchResult((total$macro$8 @ _), (results$macro$9 @ _)) => ::.apply[Long, Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil.type](total$macro$8, ::.apply[Seq[org.make.core.idea.indexed.IndexedIdea], shapeless.HNil.type](results$macro$9, HNil)).asInstanceOf[Long :: Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil]
}), ((x0$4: Long :: Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil) => x0$4 match {
case (head: Long, tail: Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil): Long :: Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil((total$macro$6 @ _), (head: Seq[org.make.core.idea.indexed.IndexedIdea], tail: shapeless.HNil): Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil((results$macro$7 @ _), HNil)) => indexed.this.IdeaSearchResult.apply(total$macro$6, results$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("total"), Long, (Symbol @@ String("results")) :: shapeless.HNil, Seq[org.make.core.idea.indexed.IndexedIdea] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("results"), Seq[org.make.core.idea.indexed.IndexedIdea], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("results")]](scala.Symbol.apply("results").asInstanceOf[Symbol @@ String("results")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("results")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("total")]](scala.Symbol.apply("total").asInstanceOf[Symbol @@ String("total")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("total")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.core.idea.indexed.IdeaSearchResult]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderFortotal: io.circe.Decoder[Long] = circe.this.Decoder.decodeLong;
private[this] val circeGenericDecoderForresults: io.circe.Decoder[Seq[org.make.core.idea.indexed.IndexedIdea]] = circe.this.Decoder.decodeSeq[org.make.core.idea.indexed.IndexedIdea](indexed.this.IndexedIdea.codec);
private[this] val circeGenericEncoderFortotal: io.circe.Encoder[Long] = circe.this.Encoder.encodeLong;
private[this] val circeGenericEncoderForresults: io.circe.Encoder.AsArray[Seq[org.make.core.idea.indexed.IndexedIdea]] = circe.this.Encoder.encodeSeq[org.make.core.idea.indexed.IndexedIdea](indexed.this.IndexedIdea.codec);
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("total"),Long], tail: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFortotal @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForresults @ _), shapeless.HNil)) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("total", $anon.this.circeGenericEncoderFortotal.apply(circeGenericHListBindingFortotal)), scala.Tuple2.apply[String, io.circe.Json]("results", $anon.this.circeGenericEncoderForresults.apply(circeGenericHListBindingForresults))))
};
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("total"), Long, shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortotal.tryDecode(c.downField("total")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("results"), Seq[org.make.core.idea.indexed.IndexedIdea], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForresults.tryDecode(c.downField("results")), 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("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("total"), Long, shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortotal.tryDecodeAccumulating(c.downField("total")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("results"), Seq[org.make.core.idea.indexed.IndexedIdea], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForresults.tryDecodeAccumulating(c.downField("results")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("total"),Long] :: shapeless.labelled.FieldType[Symbol @@ String("results"),Seq[org.make.core.idea.indexed.IndexedIdea]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.core.idea.indexed.IdeaSearchResult]](inst$macro$12)
})
|