1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2018 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.core.idea.indexed
21 
22 import java.time.ZonedDateTime
23 
24 import io.circe.generic.semiauto._
25 import io.circe.Codec
26 import org.make.core.CirceFormatters
27 import org.make.core.idea.{Idea, IdeaId, IdeaStatus}
28 import org.make.core.operation.OperationId
29 import org.make.core.question.QuestionId
30 
31 object IdeaElasticsearchFieldNames {
32   val ideaId: String = "ideaId"
33   val name: String = "name"
34   val nameFr: String = "name.fr"
35   val nameEn: String = "name.en"
36   val nameIt: String = "name.it"
37   val nameDe: String = "name.de"
38   val nameBg: String = "name.bg"
39   val nameCs: String = "name.cs"
40   val nameDa: String = "name.da"
41   val nameNl: String = "name.nl"
42   val nameFi: String = "name.fi"
43   val nameEl: String = "name.el"
44   val nameHu: String = "name.hu"
45   val nameLv: String = "name.lv"
46   val nameLt: String = "name.lt"
47   val namePt: String = "name.pt"
48   val nameRo: String = "name.ro"
49   val nameEs: String = "name.es"
50   val nameSv: String = "name.sv"
51   val namePl: String = "name.pl"
52   val nameHr: String = "name.hr"
53   val nameEt: String = "name.et"
54   val nameMt: String = "name.mt"
55   val nameSk: String = "name.sk"
56   val nameSl: String = "name.sl"
57   val nameUk: String = "name.uk"
58   val nameGeneral: String = "name.general"
59   val questionId: String = "questionId"
60   val operationId: String = "operationId"
61   val question: String = "question"
62   val status: String = "status"
63   val createdAt: String = "createdAt"
64   val updatedAt: String = "updatedAt"
65   val proposalsCount: String = "proposalsCount"
66 }
67 
68 final case class IndexedIdea(
69   ideaId: IdeaId,
70   name: String,
71   questionId: Option[QuestionId],
72   operationId: Option[OperationId],
73   status: IdeaStatus,
74   createdAt: ZonedDateTime,
75   updatedAt: Option[ZonedDateTime],
76   proposalsCount: Int
77 )
78 
79 object IndexedIdea extends CirceFormatters {
80 
81   implicit val codec: Codec[IndexedIdea] = deriveCodec[IndexedIdea]
82 
83   @SuppressWarnings(Array("org.wartremover.warts.Throw"))
84   def createFromIdea(idea: Idea, proposalsCount: Int): IndexedIdea = {
85     IndexedIdea(
86       ideaId = idea.ideaId,
87       name = idea.name,
88       questionId = idea.questionId,
89       operationId = idea.operationId,
90       status = idea.status,
91       createdAt = idea.createdAt match {
92         case Some(date) => date
93         case _          => throw new IllegalStateException("created at required")
94       },
95       updatedAt = idea.updatedAt,
96       proposalsCount = proposalsCount
97     )
98   }
99 }
100 
101 final case class IdeaSearchResult(total: Long, results: Seq[IndexedIdea])
102 
103 object IdeaSearchResult {
104 
105   implicit val encoder: Codec[IdeaSearchResult] = deriveCodec[IdeaSearchResult]
106 
107   def empty: IdeaSearchResult = IdeaSearchResult(0, Seq.empty)
108 }
Line Stmt Id Pos Tree Symbol Tests Code
32 2670 1105 - 1113 Literal <nosymbol> "ideaId"
33 691 1135 - 1141 Literal <nosymbol> "name"
34 4997 1165 - 1174 Literal <nosymbol> "name.fr"
35 2753 1198 - 1207 Literal <nosymbol> "name.en"
36 964 1231 - 1240 Literal <nosymbol> "name.it"
37 4321 1264 - 1273 Literal <nosymbol> "name.de"
38 2188 1297 - 1306 Literal <nosymbol> "name.bg"
39 1384 1330 - 1339 Literal <nosymbol> "name.cs"
40 4409 1363 - 1372 Literal <nosymbol> "name.da"
41 2601 1396 - 1405 Literal <nosymbol> "name.nl"
42 701 1429 - 1438 Literal <nosymbol> "name.fi"
43 4770 1462 - 1471 Literal <nosymbol> "name.el"
44 3035 1495 - 1504 Literal <nosymbol> "name.hu"
45 971 1528 - 1537 Literal <nosymbol> "name.lv"
46 4252 1561 - 1570 Literal <nosymbol> "name.lt"
47 2201 1594 - 1603 Literal <nosymbol> "name.pt"
48 1248 1627 - 1636 Literal <nosymbol> "name.ro"
49 4550 1660 - 1669 Literal <nosymbol> "name.es"
50 2611 1693 - 1702 Literal <nosymbol> "name.sv"
51 479 1726 - 1735 Literal <nosymbol> "name.pl"
52 3877 1759 - 1768 Literal <nosymbol> "name.hr"
53 2903 1792 - 1801 Literal <nosymbol> "name.et"
54 921 1825 - 1834 Literal <nosymbol> "name.mt"
55 4261 1858 - 1867 Literal <nosymbol> "name.sk"
56 2213 1891 - 1900 Literal <nosymbol> "name.sl"
57 1171 1924 - 1933 Literal <nosymbol> "name.uk"
58 4394 1962 - 1976 Literal <nosymbol> "name.general"
59 2554 2004 - 2016 Literal <nosymbol> "questionId"
60 488 2045 - 2058 Literal <nosymbol> "operationId"
61 3889 2084 - 2094 Literal <nosymbol> "question"
62 3022 2118 - 2126 Literal <nosymbol> "status"
63 775 2153 - 2164 Literal <nosymbol> "createdAt"
64 4195 2191 - 2202 Literal <nosymbol> "updatedAt"
65 2141 2234 - 2250 Literal <nosymbol> "proposalsCount"
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) })
85 5639 2747 - 3155 Apply org.make.core.idea.indexed.IndexedIdea.apply IndexedIdea.apply(idea.ideaId, idea.name, idea.questionId, idea.operationId, idea.status, idea.createdAt match { case (value: java.time.ZonedDateTime): Some[java.time.ZonedDateTime]((date @ _)) => date case _ => throw new java.lang.IllegalStateException("created at required") }, idea.updatedAt, proposalsCount)
86 4658 2775 - 2786 Select org.make.core.idea.Idea.ideaId idea.ideaId
87 2422 2801 - 2810 Select org.make.core.idea.Idea.name idea.name
88 496 2831 - 2846 Select org.make.core.idea.Idea.questionId idea.questionId
89 3815 2868 - 2884 Select org.make.core.idea.Idea.operationId idea.operationId
90 3030 2901 - 2912 Select org.make.core.idea.Idea.status idea.status
91 1040 2932 - 2946 Select org.make.core.idea.Idea.createdAt idea.createdAt
93 4246 3014 - 3068 Throw <nosymbol> throw new java.lang.IllegalStateException("created at required")
95 2151 3096 - 3110 Select org.make.core.idea.Idea.updatedAt idea.updatedAt
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) })
107 3827 3378 - 3408 Apply org.make.core.idea.indexed.IdeaSearchResult.apply org.make.api.idea.moderationideaapitest,org.make.api.idea.ideaservicetest IdeaSearchResult.apply(0L, scala.`package`.Seq.empty[Nothing])
107 2687 3395 - 3396 Literal <nosymbol> org.make.api.idea.moderationideaapitest,org.make.api.idea.ideaservicetest 0L
107 625 3398 - 3407 TypeApply scala.collection.SeqFactory.Delegate.empty org.make.api.idea.moderationideaapitest,org.make.api.idea.ideaservicetest scala.`package`.Seq.empty[Nothing]