| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
35
|
48657
|
1307
-
1340
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
org.make.api.views.viewapitest
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.views.SearchViewResponse]({
val inst$macro$16: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.views.SearchViewResponse] = {
final class anon$lazy$macro$15 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$15 = {
anon$lazy$macro$15.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.views.SearchViewResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.views.SearchViewResponse, shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.views.SearchViewResponse, (Symbol @@ String("proposals")) :: (Symbol @@ String("questions")) :: (Symbol @@ String("organisations")) :: shapeless.HNil, org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.views.SearchViewResponse, (Symbol @@ String("proposals")) :: (Symbol @@ String("questions")) :: (Symbol @@ String("organisations")) :: shapeless.HNil](::.apply[Symbol @@ String("proposals"), (Symbol @@ String("questions")) :: (Symbol @@ String("organisations")) :: shapeless.HNil.type](scala.Symbol.apply("proposals").asInstanceOf[Symbol @@ String("proposals")], ::.apply[Symbol @@ String("questions"), (Symbol @@ String("organisations")) :: shapeless.HNil.type](scala.Symbol.apply("questions").asInstanceOf[Symbol @@ String("questions")], ::.apply[Symbol @@ String("organisations"), shapeless.HNil.type](scala.Symbol.apply("organisations").asInstanceOf[Symbol @@ String("organisations")], HNil)))), Generic.instance[org.make.api.views.SearchViewResponse, org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil](((x0$3: org.make.api.views.SearchViewResponse) => x0$3 match {
case (proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.api.question.SearchQuestionsResponse, organisations: org.make.api.organisation.OrganisationsSearchResultResponse): org.make.api.views.SearchViewResponse((proposals$macro$11 @ _), (questions$macro$12 @ _), (organisations$macro$13 @ _)) => ::.apply[org.make.api.proposal.ProposalsResultSeededResponse, org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil.type](proposals$macro$11, ::.apply[org.make.api.question.SearchQuestionsResponse, org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil.type](questions$macro$12, ::.apply[org.make.api.organisation.OrganisationsSearchResultResponse, shapeless.HNil.type](organisations$macro$13, HNil))).asInstanceOf[org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil]
}), ((x0$4: org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil) => x0$4 match {
case (head: org.make.api.proposal.ProposalsResultSeededResponse, tail: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil): org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil((proposals$macro$8 @ _), (head: org.make.api.question.SearchQuestionsResponse, tail: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil): org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil((questions$macro$9 @ _), (head: org.make.api.organisation.OrganisationsSearchResultResponse, tail: shapeless.HNil): org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil((organisations$macro$10 @ _), HNil))) => views.this.SearchViewResponse.apply(proposals$macro$8, questions$macro$9, organisations$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("proposals"), org.make.api.proposal.ProposalsResultSeededResponse, (Symbol @@ String("questions")) :: (Symbol @@ String("organisations")) :: shapeless.HNil, org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questions"), org.make.api.question.SearchQuestionsResponse, (Symbol @@ String("organisations")) :: shapeless.HNil, org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("organisations"), org.make.api.organisation.OrganisationsSearchResultResponse, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("organisations")]](scala.Symbol.apply("organisations").asInstanceOf[Symbol @@ String("organisations")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("organisations")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questions")]](scala.Symbol.apply("questions").asInstanceOf[Symbol @@ String("questions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("proposals")]](scala.Symbol.apply("proposals").asInstanceOf[Symbol @@ String("proposals")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("proposals")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.views.SearchViewResponse]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForproposals: io.circe.Codec[org.make.api.proposal.ProposalsResultSeededResponse] = proposal.this.ProposalsResultSeededResponse.codec;
private[this] val circeGenericEncoderForquestions: io.circe.Codec[org.make.api.question.SearchQuestionsResponse] = question.this.SearchQuestionsResponse.codec;
private[this] val circeGenericEncoderFororganisations: io.circe.Encoder[org.make.api.organisation.OrganisationsSearchResultResponse] = organisation.this.OrganisationsSearchResultResponse.encoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse], tail: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForproposals @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse], tail: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestions @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFororganisations @ _), shapeless.HNil))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("proposals", $anon.this.circeGenericEncoderForproposals.apply(circeGenericHListBindingForproposals)), scala.Tuple2.apply[String, io.circe.Json]("questions", $anon.this.circeGenericEncoderForquestions.apply(circeGenericHListBindingForquestions)), scala.Tuple2.apply[String, io.circe.Json]("organisations", $anon.this.circeGenericEncoderFororganisations.apply(circeGenericHListBindingFororganisations))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$15().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.views.SearchViewResponse]](inst$macro$16)
})
|
|
36
|
40802
|
1395
-
1428
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
org.make.api.views.viewapitest
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.views.SearchViewResponse]({
val inst$macro$32: io.circe.generic.decoding.DerivedDecoder[org.make.api.views.SearchViewResponse] = {
final class anon$lazy$macro$31 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$31 = {
anon$lazy$macro$31.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$17: io.circe.generic.decoding.DerivedDecoder[org.make.api.views.SearchViewResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.views.SearchViewResponse, shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.views.SearchViewResponse, (Symbol @@ String("proposals")) :: (Symbol @@ String("questions")) :: (Symbol @@ String("organisations")) :: shapeless.HNil, org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.views.SearchViewResponse, (Symbol @@ String("proposals")) :: (Symbol @@ String("questions")) :: (Symbol @@ String("organisations")) :: shapeless.HNil](::.apply[Symbol @@ String("proposals"), (Symbol @@ String("questions")) :: (Symbol @@ String("organisations")) :: shapeless.HNil.type](scala.Symbol.apply("proposals").asInstanceOf[Symbol @@ String("proposals")], ::.apply[Symbol @@ String("questions"), (Symbol @@ String("organisations")) :: shapeless.HNil.type](scala.Symbol.apply("questions").asInstanceOf[Symbol @@ String("questions")], ::.apply[Symbol @@ String("organisations"), shapeless.HNil.type](scala.Symbol.apply("organisations").asInstanceOf[Symbol @@ String("organisations")], HNil)))), Generic.instance[org.make.api.views.SearchViewResponse, org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil](((x0$7: org.make.api.views.SearchViewResponse) => x0$7 match {
case (proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.api.question.SearchQuestionsResponse, organisations: org.make.api.organisation.OrganisationsSearchResultResponse): org.make.api.views.SearchViewResponse((proposals$macro$27 @ _), (questions$macro$28 @ _), (organisations$macro$29 @ _)) => ::.apply[org.make.api.proposal.ProposalsResultSeededResponse, org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil.type](proposals$macro$27, ::.apply[org.make.api.question.SearchQuestionsResponse, org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil.type](questions$macro$28, ::.apply[org.make.api.organisation.OrganisationsSearchResultResponse, shapeless.HNil.type](organisations$macro$29, HNil))).asInstanceOf[org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil]
}), ((x0$8: org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil) => x0$8 match {
case (head: org.make.api.proposal.ProposalsResultSeededResponse, tail: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil): org.make.api.proposal.ProposalsResultSeededResponse :: org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil((proposals$macro$24 @ _), (head: org.make.api.question.SearchQuestionsResponse, tail: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil): org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil((questions$macro$25 @ _), (head: org.make.api.organisation.OrganisationsSearchResultResponse, tail: shapeless.HNil): org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil((organisations$macro$26 @ _), HNil))) => views.this.SearchViewResponse.apply(proposals$macro$24, questions$macro$25, organisations$macro$26)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("proposals"), org.make.api.proposal.ProposalsResultSeededResponse, (Symbol @@ String("questions")) :: (Symbol @@ String("organisations")) :: shapeless.HNil, org.make.api.question.SearchQuestionsResponse :: org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questions"), org.make.api.question.SearchQuestionsResponse, (Symbol @@ String("organisations")) :: shapeless.HNil, org.make.api.organisation.OrganisationsSearchResultResponse :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("organisations"), org.make.api.organisation.OrganisationsSearchResultResponse, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("organisations")]](scala.Symbol.apply("organisations").asInstanceOf[Symbol @@ String("organisations")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("organisations")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questions")]](scala.Symbol.apply("questions").asInstanceOf[Symbol @@ String("questions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("proposals")]](scala.Symbol.apply("proposals").asInstanceOf[Symbol @@ String("proposals")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("proposals")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$31.this.inst$macro$30)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.views.SearchViewResponse]];
<stable> <accessor> lazy val inst$macro$30: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForproposals: io.circe.Codec[org.make.api.proposal.ProposalsResultSeededResponse] = proposal.this.ProposalsResultSeededResponse.codec;
private[this] val circeGenericDecoderForquestions: io.circe.Codec[org.make.api.question.SearchQuestionsResponse] = question.this.SearchQuestionsResponse.codec;
private[this] val circeGenericDecoderFororganisations: io.circe.Decoder[org.make.api.organisation.OrganisationsSearchResultResponse] = organisation.this.OrganisationsSearchResultResponse.decoder;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("proposals"), org.make.api.proposal.ProposalsResultSeededResponse, shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposals.tryDecode(c.downField("proposals")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questions"), org.make.api.question.SearchQuestionsResponse, shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestions.tryDecode(c.downField("questions")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("organisations"), org.make.api.organisation.OrganisationsSearchResultResponse, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFororganisations.tryDecode(c.downField("organisations")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("proposals"), org.make.api.proposal.ProposalsResultSeededResponse, shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposals.tryDecodeAccumulating(c.downField("proposals")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questions"), org.make.api.question.SearchQuestionsResponse, shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestions.tryDecodeAccumulating(c.downField("questions")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("organisations"), org.make.api.organisation.OrganisationsSearchResultResponse, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFororganisations.tryDecodeAccumulating(c.downField("organisations")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("proposals"),org.make.api.proposal.ProposalsResultSeededResponse] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),org.make.api.question.SearchQuestionsResponse] :: shapeless.labelled.FieldType[Symbol @@ String("organisations"),org.make.api.organisation.OrganisationsSearchResultResponse] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$31().inst$macro$17
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.views.SearchViewResponse]](inst$macro$32)
})
|
|
42
|
32646
|
1596
-
1609
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.views.AvailableCountry]({
val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.views.AvailableCountry] = {
final class anon$lazy$macro$11 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$11 = {
anon$lazy$macro$11.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.views.AvailableCountry] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.views.AvailableCountry, shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.views.AvailableCountry, (Symbol @@ String("countryCode")) :: (Symbol @@ String("activeConsultations")) :: shapeless.HNil, String :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.views.AvailableCountry, (Symbol @@ String("countryCode")) :: (Symbol @@ String("activeConsultations")) :: shapeless.HNil](::.apply[Symbol @@ String("countryCode"), (Symbol @@ String("activeConsultations")) :: shapeless.HNil.type](scala.Symbol.apply("countryCode").asInstanceOf[Symbol @@ String("countryCode")], ::.apply[Symbol @@ String("activeConsultations"), shapeless.HNil.type](scala.Symbol.apply("activeConsultations").asInstanceOf[Symbol @@ String("activeConsultations")], HNil))), Generic.instance[org.make.api.views.AvailableCountry, String :: Boolean :: shapeless.HNil](((x0$3: org.make.api.views.AvailableCountry) => x0$3 match {
case (countryCode: String, activeConsultations: Boolean): org.make.api.views.AvailableCountry((countryCode$macro$8 @ _), (activeConsultations$macro$9 @ _)) => ::.apply[String, Boolean :: shapeless.HNil.type](countryCode$macro$8, ::.apply[Boolean, shapeless.HNil.type](activeConsultations$macro$9, HNil)).asInstanceOf[String :: Boolean :: shapeless.HNil]
}), ((x0$4: String :: Boolean :: shapeless.HNil) => x0$4 match {
case (head: String, tail: Boolean :: shapeless.HNil): String :: Boolean :: shapeless.HNil((countryCode$macro$6 @ _), (head: Boolean, tail: shapeless.HNil): Boolean :: shapeless.HNil((activeConsultations$macro$7 @ _), HNil)) => views.this.AvailableCountry.apply(countryCode$macro$6, activeConsultations$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("countryCode"), String, (Symbol @@ String("activeConsultations")) :: shapeless.HNil, Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("activeConsultations"), Boolean, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("activeConsultations")]](scala.Symbol.apply("activeConsultations").asInstanceOf[Symbol @@ String("activeConsultations")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("activeConsultations")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("countryCode")]](scala.Symbol.apply("countryCode").asInstanceOf[Symbol @@ String("countryCode")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("countryCode")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.views.AvailableCountry]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForcountryCode: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForactiveConsultations: io.circe.Decoder[Boolean] = circe.this.Decoder.decodeBoolean;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("countryCode"), String, shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountryCode.tryDecode(c.downField("countryCode")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("activeConsultations"), Boolean, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForactiveConsultations.tryDecode(c.downField("activeConsultations")), 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("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("countryCode"), String, shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountryCode.tryDecodeAccumulating(c.downField("countryCode")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("activeConsultations"), Boolean, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForactiveConsultations.tryDecodeAccumulating(c.downField("activeConsultations")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.views.AvailableCountry]](inst$macro$12)
})
|
|
43
|
49689
|
1662
-
1675
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.views.AvailableCountry]({
val inst$macro$24: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.views.AvailableCountry] = {
final class anon$lazy$macro$23 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$23 = {
anon$lazy$macro$23.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$13: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.views.AvailableCountry] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.views.AvailableCountry, shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.views.AvailableCountry, (Symbol @@ String("countryCode")) :: (Symbol @@ String("activeConsultations")) :: shapeless.HNil, String :: Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.views.AvailableCountry, (Symbol @@ String("countryCode")) :: (Symbol @@ String("activeConsultations")) :: shapeless.HNil](::.apply[Symbol @@ String("countryCode"), (Symbol @@ String("activeConsultations")) :: shapeless.HNil.type](scala.Symbol.apply("countryCode").asInstanceOf[Symbol @@ String("countryCode")], ::.apply[Symbol @@ String("activeConsultations"), shapeless.HNil.type](scala.Symbol.apply("activeConsultations").asInstanceOf[Symbol @@ String("activeConsultations")], HNil))), Generic.instance[org.make.api.views.AvailableCountry, String :: Boolean :: shapeless.HNil](((x0$7: org.make.api.views.AvailableCountry) => x0$7 match {
case (countryCode: String, activeConsultations: Boolean): org.make.api.views.AvailableCountry((countryCode$macro$20 @ _), (activeConsultations$macro$21 @ _)) => ::.apply[String, Boolean :: shapeless.HNil.type](countryCode$macro$20, ::.apply[Boolean, shapeless.HNil.type](activeConsultations$macro$21, HNil)).asInstanceOf[String :: Boolean :: shapeless.HNil]
}), ((x0$8: String :: Boolean :: shapeless.HNil) => x0$8 match {
case (head: String, tail: Boolean :: shapeless.HNil): String :: Boolean :: shapeless.HNil((countryCode$macro$18 @ _), (head: Boolean, tail: shapeless.HNil): Boolean :: shapeless.HNil((activeConsultations$macro$19 @ _), HNil)) => views.this.AvailableCountry.apply(countryCode$macro$18, activeConsultations$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("countryCode"), String, (Symbol @@ String("activeConsultations")) :: shapeless.HNil, Boolean :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("activeConsultations"), Boolean, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("activeConsultations")]](scala.Symbol.apply("activeConsultations").asInstanceOf[Symbol @@ String("activeConsultations")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("activeConsultations")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("countryCode")]](scala.Symbol.apply("countryCode").asInstanceOf[Symbol @@ String("countryCode")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("countryCode")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.views.AvailableCountry]];
<stable> <accessor> lazy val inst$macro$22: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForcountryCode: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
private[this] val circeGenericEncoderForactiveConsultations: io.circe.Encoder[Boolean] = circe.this.Encoder.encodeBoolean;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountryCode @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForactiveConsultations @ _), shapeless.HNil)) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("countryCode", $anon.this.circeGenericEncoderForcountryCode.apply(circeGenericHListBindingForcountryCode)), scala.Tuple2.apply[String, io.circe.Json]("activeConsultations", $anon.this.circeGenericEncoderForactiveConsultations.apply(circeGenericHListBindingForactiveConsultations))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("countryCode"),String] :: shapeless.labelled.FieldType[Symbol @@ String("activeConsultations"),Boolean] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$23().inst$macro$13
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.views.AvailableCountry]](inst$macro$24)
})
|