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.api.proposal
21 
22 import akka.http.scaladsl.model.StatusCodes
23 import akka.http.scaladsl.server.{Directives, PathMatcher1, Route}
24 import cats.implicits._
25 import grizzled.slf4j.Logging
26 import io.circe.Codec
27 import io.circe.generic.semiauto.deriveCodec
28 import io.swagger.annotations._
29 import org.make.api.ConfigComponent
30 import org.make.api.idea.IdeaServiceComponent
31 import org.make.api.operation.OperationServiceComponent
32 import org.make.api.question.QuestionServiceComponent
33 import org.make.api.tag.TagServiceComponent
34 import org.make.api.technical.Futures._
35 import org.make.api.technical.CsvReceptacle._
36 import org.make.api.technical.MakeDirectives.MakeDirectivesDependencies
37 import org.make.api.technical.{`X-Total-Count`, MakeAuthenticationDirectives}
38 import org.make.api.technical.directives.FutureDirectivesExtensions._
39 import org.make.api.user.UserServiceComponent
40 import org.make.core.technical.{Multilingual, MultilingualUtils, Pagination}
41 import org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils
42 import org.make.core.auth.UserRights
43 import org.make.core.proposal.indexed.{IndexedContext, IndexedProposal, IndexedTag, ProposalElasticsearchFieldName}
44 import org.make.core.proposal.{
45   Proposal,
46   ProposalId,
47   ProposalStatus,
48   ProposalType,
49   QualificationKey,
50   SearchQuery,
51   VoteKey,
52   Qualification => ProposalQualification,
53   Vote          => ProposalVote
54 }
55 import org.make.core.question.{Question, QuestionId}
56 import org.make.core.reference.{Country, Language}
57 import org.make.core.tag.TagId
58 import org.make.core.user.{UserId, UserType}
59 import org.make.core.{CirceFormatters, DateHelper, HttpCodes, Order, ParameterExtractors, Validation}
60 import scalaoauth2.provider.AuthInfo
61 
62 import java.time.ZonedDateTime
63 import javax.ws.rs.Path
64 import scala.annotation.meta.field
65 import scala.concurrent.ExecutionContext.Implicits.global
66 import scala.concurrent.Future
67 import scala.concurrent.duration._
68 
69 @Api(value = "AdminProposal")
70 @Path(value = "/admin/proposals")
71 trait AdminProposalApi extends Directives {
72 
73   @ApiOperation(
74     value = "admin-search-proposals",
75     httpMethod = "GET",
76     code = HttpCodes.OK,
77     authorizations = Array(
78       new Authorization(
79         value = "MakeApi",
80         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
81       )
82     )
83   )
84   @ApiResponses(
85     value =
86       Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[Array[AdminProposalResponse]]))
87   )
88   @ApiImplicitParams(
89     value = Array(
90       new ApiImplicitParam(name = "id", paramType = "query", dataType = "string", allowMultiple = true),
91       new ApiImplicitParam(name = "questionId", paramType = "query", dataType = "string", allowMultiple = true),
92       new ApiImplicitParam(
93         name = "status",
94         paramType = "query",
95         dataType = "string",
96         allowableValues = ProposalStatus.swaggerAllowableValues,
97         allowMultiple = true
98       ),
99       new ApiImplicitParam(name = "content", paramType = "query", dataType = "string"),
100       new ApiImplicitParam(
101         name = "userType",
102         paramType = "query",
103         dataType = "string",
104         allowableValues = UserType.swaggerAllowableValues,
105         allowMultiple = true
106       ),
107       new ApiImplicitParam(name = "initialProposal", paramType = "query", dataType = "boolean"),
108       new ApiImplicitParam(name = "tagId", paramType = "query", dataType = "string", allowMultiple = true),
109       new ApiImplicitParam(
110         name = "_start",
111         paramType = "query",
112         dataType = "int",
113         allowableValues = "range[0, infinity]"
114       ),
115       new ApiImplicitParam(
116         name = "_end",
117         paramType = "query",
118         dataType = "int",
119         allowableValues = "range[0, infinity]"
120       ),
121       new ApiImplicitParam(
122         name = "_sort",
123         paramType = "query",
124         dataType = "string",
125         allowableValues = ProposalElasticsearchFieldName.swaggerAllowableValues
126       ),
127       new ApiImplicitParam(
128         name = "_order",
129         paramType = "query",
130         dataType = "string",
131         allowableValues = Order.swaggerAllowableValues
132       )
133     )
134   )
135   def search: Route
136 
137   @ApiOperation(
138     value = "fix-trolled-proposal",
139     httpMethod = "PUT",
140     code = HttpCodes.OK,
141     authorizations = Array(
142       new Authorization(
143         value = "MakeApi",
144         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
145       )
146     )
147   )
148   @ApiImplicitParams(
149     value = Array(
150       new ApiImplicitParam(
151         value = "body",
152         paramType = "body",
153         dataType = "org.make.api.proposal.UpdateProposalVotesRequest"
154       ),
155       new ApiImplicitParam(name = "proposalId", paramType = "path", required = true, value = "", dataType = "string")
156     )
157   )
158   @ApiResponses(
159     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationProposalResponse]))
160   )
161   @Path(value = "/{proposalId}/fix-trolled-proposal")
162   def updateProposalVotes: Route
163 
164   @ApiOperation(
165     value = "reset-unverified-proposal-votes",
166     httpMethod = "POST",
167     code = HttpCodes.Accepted,
168     authorizations = Array(
169       new Authorization(
170         value = "MakeApi",
171         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
172       )
173     )
174   )
175   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.Accepted, message = "Accepted")))
176   @Path(value = "/reset-votes")
177   def resetVotes: Route
178 
179   @ApiOperation(
180     value = "patch-proposal",
181     httpMethod = "PATCH",
182     code = HttpCodes.OK,
183     authorizations = Array(
184       new Authorization(
185         value = "MakeApi",
186         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
187       )
188     )
189   )
190   @ApiResponses(
191     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationProposalResponse]))
192   )
193   @ApiImplicitParams(
194     value = Array(
195       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string"),
196       new ApiImplicitParam(name = "body", paramType = "body", dataType = "org.make.api.proposal.PatchProposalRequest")
197     )
198   )
199   @Path(value = "/{proposalId}")
200   def patchProposal: Route
201 
202   @ApiOperation(
203     value = "add-keywords",
204     httpMethod = "POST",
205     code = HttpCodes.OK,
206     authorizations = Array(
207       new Authorization(
208         value = "MakeApi",
209         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
210       )
211     )
212   )
213   @ApiResponses(
214     value =
215       Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[Array[ProposalKeywordsResponse]]))
216   )
217   @ApiImplicitParams(
218     value = Array(
219       new ApiImplicitParam(name = "body", paramType = "body", dataType = "org.make.api.proposal.ProposalKeywordRequest")
220     )
221   )
222   @Path(value = "/keywords")
223   def setProposalKeywords: Route
224 
225   @ApiOperation(
226     value = "bulk-refuse-proposal",
227     httpMethod = "POST",
228     code = HttpCodes.OK,
229     authorizations = Array(
230       new Authorization(
231         value = "MakeApi",
232         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
233       )
234     )
235   )
236   @ApiImplicitParams(
237     value = Array(
238       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.BulkRefuseProposal")
239     )
240   )
241   @ApiResponses(
242     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[BulkActionResponse]))
243   )
244   @Path(value = "/refuse-initials-proposals")
245   def bulkRefuseInitialsProposals: Route
246 
247   @ApiOperation(
248     value = "bulk-tag-proposal",
249     httpMethod = "POST",
250     code = HttpCodes.OK,
251     authorizations = Array(
252       new Authorization(
253         value = "MakeApi",
254         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
255       )
256     )
257   )
258   @ApiImplicitParams(
259     value = Array(
260       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.BulkTagProposal")
261     )
262   )
263   @ApiResponses(
264     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[BulkActionResponse]))
265   )
266   @Path(value = "/tag")
267   def bulkTagProposal: Route
268 
269   @ApiOperation(
270     value = "bulk-delete-tag-proposal",
271     httpMethod = "DELETE",
272     code = HttpCodes.OK,
273     authorizations = Array(
274       new Authorization(
275         value = "MakeApi",
276         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
277       )
278     )
279   )
280   @ApiImplicitParams(
281     value = Array(
282       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.BulkDeleteTagProposal")
283     )
284   )
285   @ApiResponses(
286     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[BulkActionResponse]))
287   )
288   @Path(value = "/tag")
289   def bulkDeleteTagProposal: Route
290 
291   @ApiOperation(
292     value = "get-proposal-history",
293     httpMethod = "GET",
294     code = HttpCodes.OK,
295     authorizations = Array(
296       new Authorization(
297         value = "MakeApi",
298         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
299       )
300     )
301   )
302   @ApiResponses(
303     value =
304       Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[Array[ProposalActionResponse]]))
305   )
306   @ApiImplicitParams(value = Array(new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string")))
307   @Path(value = "/{proposalId}/history")
308   def getProposalHistory: Route
309 
310   @ApiOperation(
311     value = "submitted-as-language-patch-script",
312     httpMethod = "POST",
313     code = HttpCodes.OK,
314     authorizations = Array(
315       new Authorization(
316         value = "MakeApi",
317         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
318       )
319     )
320   )
321   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok")))
322   @ApiImplicitParams(
323     value = Array(
324       new ApiImplicitParam(name = "questionId", paramType = "path", dataType = "string"),
325       new ApiImplicitParam(name = "dry-run", paramType = "query", dataType = "boolean")
326     )
327   )
328   @Path(value = "/submitted-as-language-patch-script/{questionId}")
329   def submittedAsLanguagePatchScript: Route
330 
331   def routes: Route =
332     search ~ patchProposal ~ updateProposalVotes ~ resetVotes ~ setProposalKeywords ~
333       bulkTagProposal ~ bulkDeleteTagProposal ~ getProposalHistory ~ bulkRefuseInitialsProposals ~
334       submittedAsLanguagePatchScript
335 }
336 
337 trait AdminProposalApiComponent {
338   def adminProposalApi: AdminProposalApi
339 }
340 
341 trait DefaultAdminProposalApiComponent
342     extends AdminProposalApiComponent
343     with MakeAuthenticationDirectives
344     with Logging
345     with ParameterExtractors {
346 
347   this: MakeDirectivesDependencies
348     with ConfigComponent
349     with ProposalServiceComponent
350     with ProposalCoordinatorServiceComponent
351     with QuestionServiceComponent
352     with IdeaServiceComponent
353     with OperationServiceComponent
354     with UserServiceComponent
355     with TagServiceComponent =>
356 
357   override lazy val adminProposalApi: AdminProposalApi = new DefaultAdminProposalApi
358 
359   class DefaultAdminProposalApi extends AdminProposalApi {
360     val adminProposalId: PathMatcher1[ProposalId] = Segment.map(id => ProposalId(id))
361 
362     @Deprecated
363     override def search: Route = get {
364       path("admin" / "proposals") {
365         makeOperation("AdminSearchProposals") { requestContext =>
366           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
367             requireAdminRole(userAuth.user) {
368               parameters(
369                 "id".csv[ProposalId],
370                 "questionId".csv[QuestionId],
371                 "content".?,
372                 "status".csv[ProposalStatus],
373                 "userType".csv[UserType],
374                 "proposalType".csv[ProposalType],
375                 "tagId".csv[TagId],
376                 "_start".as[Pagination.Offset].?,
377                 "_end".as[Pagination.End].?,
378                 "_sort".as[ProposalElasticsearchFieldName].?,
379                 "_order".as[Order].?
380               ) {
381                 (
382                   proposalIds: Option[Seq[ProposalId]],
383                   questionIds: Option[Seq[QuestionId]],
384                   content: Option[String],
385                   status: Option[Seq[ProposalStatus]],
386                   userTypes: Option[Seq[UserType]],
387                   proposalTypes: Option[Seq[ProposalType]],
388                   tagIds: Option[Seq[TagId]],
389                   offset: Option[Pagination.Offset],
390                   end: Option[Pagination.End],
391                   sort: Option[ProposalElasticsearchFieldName],
392                   order: Option[Order]
393                 ) =>
394                   Validation.validate(sort.map(Validation.validateSort("_sort")).toList: _*)
395 
396                   val exhaustiveSearchRequest: ExhaustiveSearchRequest = ExhaustiveSearchRequest(
397                     proposalIds = proposalIds,
398                     proposalTypes = proposalTypes,
399                     tagsIds = tagIds,
400                     questionIds = questionIds,
401                     content = content,
402                     status = status,
403                     sort = sort.map(_.field),
404                     order = order,
405                     limit = end.map(_.toLimit(offset.orZero)),
406                     offset = offset,
407                     userTypes = userTypes
408                   )
409                   val query: SearchQuery = exhaustiveSearchRequest.toSearchQuery(requestContext)
410                   proposalService
411                     .searchInIndex(query, requestContext)
412                     .asDirective
413                     .apply(
414                       proposals =>
415                         complete(
416                           (
417                             StatusCodes.OK,
418                             List(`X-Total-Count`(proposals.total.toString)),
419                             proposals.results.map(AdminProposalResponse.apply)
420                           )
421                         )
422                     )
423               }
424             }
425           }
426         }
427       }
428     }
429 
430     def updateProposalVotes: Route = put {
431       path("admin" / "proposals" / adminProposalId / "fix-trolled-proposal") { proposalId =>
432         makeOperation("EditProposalVotesVerified") { requestContext =>
433           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
434             requireAdminRole(userAuth.user) {
435               decodeRequest {
436                 entity(as[UpdateProposalVotesRequest]) { request =>
437                   retrieveProposalQuestion(proposalId).asDirectiveOrNotFound { _ =>
438                     proposalService
439                       .updateVotes(
440                         proposalId = proposalId,
441                         moderator = userAuth.user.userId,
442                         requestContext = requestContext,
443                         updatedAt = DateHelper.now(),
444                         votes = request.votes
445                       )
446                       .asDirectiveOrNotFound
447                       .apply(complete(_))
448                   }
449                 }
450               }
451             }
452           }
453         }
454       }
455     }
456 
457     override def patchProposal: Route = {
458       patch {
459         path("admin" / "proposals" / adminProposalId) { id =>
460           makeOperation("PatchProposal") { context =>
461             makeOAuth2 { auth =>
462               requireAdminRole(auth.user) {
463                 decodeRequest {
464                   entity(as[PatchProposalRequest]) { patch =>
465                     (
466                       proposalService.getProposalById(id, context).flattenOrFail("Proposal not found"),
467                       patch.author.traverse(userService.getUser(_)).map(_.flatten),
468                       patch.ideaId.traverse(ideaService.fetchOne(_)).map(_.flatten),
469                       patch.operation.traverse(operationService.findOneSimple(_)).map(_.flatten),
470                       patch.questionId.traverse(questionService.getQuestion(_)).map(_.flatten),
471                       patch.tags.traverse(tagService.findByTagIds(_).map(_.map(_.tagId)))
472                     ).tupled.asDirective
473                       .flatMap({
474                         case (proposal, maybeAuthor, maybeIdea, maybeOperation, maybeQuestion, maybeTags) =>
475                           Validation.validateOptional(
476                             patch.author.map(_ => {
477                               Validation.validateField(
478                                 field = "author",
479                                 key = "invalid_value",
480                                 condition = maybeAuthor.isDefined,
481                                 message = s"UserId ${patch.author} does not exist."
482                               )
483                             }),
484                             patch.ideaId.map(_ => {
485                               Validation.validateField(
486                                 field = "ideaId",
487                                 key = "invalid_value",
488                                 condition = maybeIdea.isDefined,
489                                 message = s"Idea ${patch.ideaId} does not exist."
490                               )
491                             }),
492                             patch.operation.map(_ => {
493                               Validation.validateField(
494                                 field = "operation",
495                                 key = "invalid_value",
496                                 condition = maybeOperation.isDefined,
497                                 message = s"Operation ${patch.operation} does not exist."
498                               )
499                             }),
500                             patch.questionId.map(_ => {
501                               Validation.validateField(
502                                 field = "questionId",
503                                 key = "invalid_value",
504                                 condition = maybeQuestion.isDefined,
505                                 message = s"Question ${patch.questionId} does not exist."
506                               )
507                             })
508                           )
509                           (maybeQuestion, patch.contentTranslations).tupled.foreach({
510                             case (question, translations) =>
511                               MultilingualUtils
512                                 .hasRequiredTranslations(
513                                   question.languages.toList.toSet - proposal.submittedAsLanguage
514                                     .getOrElse(Language("fr")),
515                                   List((translations, "proposal_translations"))
516                                 )
517                                 .throwIfInvalid()
518                           })
519 
520                           proposalService
521                             .patchProposal(id, auth.user.userId, context, patch.copy(tags = maybeTags))
522                             .asDirectiveOrNotFound
523                       })
524                       .apply(complete(_))
525                   }
526                 }
527               }
528             }
529           }
530         }
531       }
532     }
533 
534     private def retrieveProposalQuestion(proposalId: ProposalId): Future[Option[Question]] = {
535       proposalCoordinatorService.getProposal(proposalId).flatMap {
536         case Some(proposal) =>
537           proposal.questionId
538             .map(questionService.getQuestion)
539             .getOrElse(Future.successful(None))
540         case None =>
541           Future.successful(None)
542       }
543     }
544 
545     override def resetVotes: Route = post {
546       path("admin" / "proposals" / "reset-votes") {
547         withoutRequestTimeout {
548           makeOperation("ResetVotes") { requestContext =>
549             makeOAuth2 { userAuth =>
550               requireAdminRole(userAuth.user) {
551                 proposalService.resetVotes(userAuth.user.userId, requestContext)
552                 complete(StatusCodes.Accepted)
553               }
554             }
555           }
556         }
557       }
558     }
559 
560     override def setProposalKeywords: Route = post {
561       path("admin" / "proposals" / "keywords") {
562         makeOperation("SetProposalKeywords") { requestContext =>
563           makeOAuth2 { userAuth =>
564             requireAdminRole(userAuth.user) {
565               decodeRequest {
566                 entity(as[Seq[ProposalKeywordRequest]]) { request =>
567                   proposalService
568                     .setKeywords(request, requestContext)
569                     .asDirective
570                     .apply(complete(_))
571                 }
572               }
573             }
574           }
575         }
576       }
577     }
578 
579     @Deprecated
580     override def bulkRefuseInitialsProposals: Route = post {
581       path("admin" / "proposals" / "refuse-initials-proposals") {
582         makeOperation("BulkRefuseInitialsProposals") { requestContext =>
583           makeOAuth2 { userAuth =>
584             requireAdminRole(userAuth.user) {
585               decodeRequest {
586                 entity(as[BulkRefuseProposal]) { request =>
587                   proposalService
588                     .refuseAll(request.proposalIds, userAuth.user.userId, requestContext)
589                     .asDirective
590                     .apply(complete(_))
591                 }
592               }
593             }
594           }
595         }
596       }
597     }
598 
599     @Deprecated
600     override def bulkTagProposal: Route = post {
601       path("admin" / "proposals" / "tag") {
602         makeOperation("BulkTagProposal") { requestContext =>
603           makeOAuth2 { userAuth =>
604             requireAdminRole(userAuth.user) {
605               decodeRequest {
606                 entity(as[BulkTagProposal]) { request =>
607                   tagService.findByTagIds(request.tagIds).asDirective { foundTags =>
608                     Validation.validate(request.tagIds.diff(foundTags.map(_.tagId)).map { tagId =>
609                       Validation.validateField(
610                         field = "tagId",
611                         key = "invalid_value",
612                         condition = false,
613                         message = s"Tag $tagId does not exist."
614                       )
615                     }: _*)
616                     proposalService
617                       .addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)
618                       .asDirective
619                       .apply(complete(_))
620                   }
621                 }
622               }
623             }
624           }
625         }
626       }
627     }
628 
629     @Deprecated
630     override def bulkDeleteTagProposal: Route = delete {
631       path("admin" / "proposals" / "tag") {
632         makeOperation("BulkDeleteTagProposal") { requestContext =>
633           makeOAuth2 { userAuth =>
634             requireAdminRole(userAuth.user) {
635               decodeRequest {
636                 entity(as[BulkDeleteTagProposal]) { request =>
637                   tagService.getTag(request.tagId).asDirective { maybeTag =>
638                     Validation.validate(
639                       Validation.validateField(
640                         field = "tagId",
641                         key = "invalid_value",
642                         condition = maybeTag.isDefined,
643                         message = s"Tag ${request.tagId} does not exist."
644                       )
645                     )
646                     proposalService
647                       .deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)
648                       .asDirective
649                       .apply(complete(_))
650                   }
651                 }
652               }
653             }
654           }
655         }
656       }
657     }
658 
659     private val questionId: PathMatcher1[QuestionId] = Segment.map(QuestionId.apply)
660 
661     private val userId = config.getString("make-api.environment") match {
662       case "production" => UserId("98c4cc66-d0fd-466b-bf84-e345c1851fcb")
663       case _            => UserId("61568b62-2f92-4620-8408-0d22d9d263e2")
664     }
665 
666     override def submittedAsLanguagePatchScript: Route = post {
667       path("admin" / "proposals" / "submitted-as-language-patch-script" / questionId) { questionId =>
668         withRequestTimeout(5.minutes) {
669           makeOperation("SubmittedAsLanguagePatchScript") { requestContext =>
670             parameters("dry-run".as[Boolean].?)(
671               dryRun =>
672                 makeOAuth2 { userAuth =>
673                   requireAdminRole(userAuth.user) {
674                     questionService
675                       .getQuestion(questionId)
676                       .flattenOrFail(s"Could not find question $questionId")
677                       .map(question => {
678                         def modifyFn(p: Proposal): Future[Unit] = {
679                           val questionLanguages = question.languages.toList
680                           val canPatch = questionLanguages.size === 1
681                           val mustPatch = p.submittedAsLanguage.fold(true)(!questionLanguages.contains(_))
682                           if (canPatch && mustPatch) {
683                             logger.info(s"Patching ${p.proposalId} from question ${question.questionId}")
684                             if (dryRun.getOrElse(true)) Future.unit
685                             else {
686                               val patch = PatchProposalRequest(submittedAsLanguage = Some(question.defaultLanguage))
687                               proposalService.patchProposal(p.proposalId, userId, requestContext, patch).void
688                             }
689                           } else Future.unit
690                         }
691 
692                         proposalService.modifyForQuestion(questionId, modifyFn, requestContext)
693                       })
694                       .asDirective
695                       .apply(_ => complete(StatusCodes.OK))
696                   }
697                 }
698             )
699           }
700         }
701       }
702     }
703 
704     override def getProposalHistory: Route = get {
705       path("admin" / "proposals" / adminProposalId / "history") { id =>
706         makeOperation("GetProposalHistory") { _ =>
707           makeOAuth2 { userAuth =>
708             requireAdminRole(userAuth.user) {
709               proposalService.getHistory(id).asDirectiveOrNotFound.apply(complete(_))
710             }
711           }
712         }
713       }
714     }
715   }
716 
717 }
718 
719 final case class UpdateProposalVotesRequest(votes: Seq[UpdateVoteRequest])
720 
721 object UpdateProposalVotesRequest {
722   implicit val codec: Codec[UpdateProposalVotesRequest] = deriveCodec
723 }
724 
725 final case class AdminProposalResponse(
726   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true) id: ProposalId,
727   author: AdminProposalResponse.Author,
728   content: String,
729   contentTranslations: Multilingual[String],
730   submittedAsLanguage: Option[Language],
731   @(ApiModelProperty @field)(
732     dataType = "string",
733     required = true,
734     allowableValues = ProposalStatus.swaggerAllowableValues
735   ) status: ProposalStatus,
736   proposalType: ProposalType,
737   tags: Seq[IndexedTag] = Seq.empty,
738   createdAt: ZonedDateTime,
739   agreementRate: Double,
740   context: AdminProposalResponse.Context,
741   votes: Seq[AdminProposalResponse.Vote],
742   votesCount: Int
743 )
744 
745 object AdminProposalResponse extends CirceFormatters {
746 
747   def apply(proposal: IndexedProposal): AdminProposalResponse =
748     AdminProposalResponse(
749       id = proposal.id,
750       author = Author(proposal),
751       content = proposal.contentGeneral,
752       contentTranslations = proposal.content,
753       submittedAsLanguage = proposal.submittedAsLanguage,
754       status = proposal.status,
755       proposalType = proposal.proposalType,
756       tags = proposal.tags,
757       createdAt = proposal.createdAt,
758       agreementRate = proposal.agreementRate,
759       context = Context(proposal.context),
760       votes = proposal.votes.deprecatedVotesSeq.map(Vote.apply),
761       votesCount = proposal.votesCount
762     )
763 
764   final case class Author(
765     @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true) id: UserId,
766     @(ApiModelProperty @field)(dataType = "string", required = true, allowableValues = UserType.swaggerAllowableValues) userType: UserType,
767     displayName: Option[String],
768     postalCode: Option[String],
769     @(ApiModelProperty @field)(dataType = "int", example = "42") age: Option[Int],
770     profession: Option[String]
771   )
772 
773   object Author {
774     def apply(proposal: IndexedProposal): Author =
775       Author(
776         id = proposal.author.userId,
777         userType = proposal.author.userType,
778         displayName = proposal.author.displayName,
779         postalCode = proposal.author.postalCode,
780         age = proposal.author.age,
781         profession = proposal.author.profession
782       )
783     implicit val codec: Codec[Author] = deriveCodec
784   }
785 
786   final case class Context(
787     source: Option[String],
788     questionSlug: Option[String],
789     @(ApiModelProperty @field)(dataType = "string", example = "FR") country: Option[Country],
790     @(ApiModelProperty @field)(dataType = "string", example = "fr") questionLanguage: Option[Language],
791     @(ApiModelProperty @field)(dataType = "string", example = "fr") proposalLanguage: Option[Language],
792     @(ApiModelProperty @field)(dataType = "string", example = "fr") clientLanguage: Option[Language]
793   )
794 
795   object Context {
796     def apply(context: Option[IndexedContext]): Context =
797       Context(
798         source = context.flatMap(_.source),
799         questionSlug = context.flatMap(_.questionSlug),
800         country = context.flatMap(_.country),
801         questionLanguage = context.flatMap(_.questionLanguage),
802         proposalLanguage = context.flatMap(_.proposalLanguage),
803         clientLanguage = context.flatMap(_.clientLanguage)
804       )
805     implicit val codec: Codec[Context] = deriveCodec
806   }
807 
808   final case class Vote(
809     @(ApiModelProperty @field)(dataType = "string", required = true, allowableValues = VoteKey.swaggerAllowableValues)
810     key: VoteKey,
811     count: Int,
812     qualifications: Seq[Qualification]
813   )
814 
815   object Vote {
816     def apply(vote: ProposalVote): Vote =
817       Vote(key = vote.key, count = vote.count, qualifications = vote.qualifications.map(Qualification.apply))
818     implicit val codec: Codec[Vote] = deriveCodec
819   }
820 
821   final case class Qualification(
822     @(ApiModelProperty @field)(
823       dataType = "string",
824       required = true,
825       allowableValues = QualificationKey.swaggerAllowableValues
826     )
827     key: QualificationKey,
828     count: Int
829   )
830 
831   object Qualification {
832     def apply(qualification: ProposalQualification): Qualification =
833       Qualification(key = qualification.key, count = qualification.count)
834     implicit val codec: Codec[Qualification] = deriveCodec
835   }
836 
837   implicit val codec: Codec[AdminProposalResponse] = deriveCodec
838 
839 }
Line Stmt Id Pos Tree Symbol Tests Code
332 39012 11034 - 11056 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)
332 46856 11043 - 11056 Select org.make.api.proposal.AdminProposalApi.patchProposal org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.patchProposal
332 47909 11034 - 11078 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)).~(AdminProposalApi.this.updateProposalVotes)
332 34122 11034 - 11040 Select org.make.api.proposal.AdminProposalApi.search org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.search
332 37423 11034 - 11113 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)).~(AdminProposalApi.this.updateProposalVotes)).~(AdminProposalApi.this.resetVotes)).~(AdminProposalApi.this.setProposalKeywords)
332 46622 11034 - 11137 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)).~(AdminProposalApi.this.updateProposalVotes)).~(AdminProposalApi.this.resetVotes)).~(AdminProposalApi.this.setProposalKeywords)).~(AdminProposalApi.this.bulkTagProposal)
332 31414 11059 - 11078 Select org.make.api.proposal.AdminProposalApi.updateProposalVotes org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.updateProposalVotes
332 32502 11034 - 11091 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)).~(AdminProposalApi.this.updateProposalVotes)).~(AdminProposalApi.this.resetVotes)
332 40642 11081 - 11091 Select org.make.api.proposal.AdminProposalApi.resetVotes org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.resetVotes
332 45541 11094 - 11113 Select org.make.api.proposal.AdminProposalApi.setProposalKeywords org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.setProposalKeywords
333 43958 11164 - 11182 Select org.make.api.proposal.AdminProposalApi.getProposalHistory org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.getProposalHistory
333 40844 11034 - 11182 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)).~(AdminProposalApi.this.updateProposalVotes)).~(AdminProposalApi.this.resetVotes)).~(AdminProposalApi.this.setProposalKeywords)).~(AdminProposalApi.this.bulkTagProposal)).~(AdminProposalApi.this.bulkDeleteTagProposal)).~(AdminProposalApi.this.getProposalHistory)
333 32258 11185 - 11212 Select org.make.api.proposal.AdminProposalApi.bulkRefuseInitialsProposals org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.bulkRefuseInitialsProposals
333 45575 11034 - 11212 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)).~(AdminProposalApi.this.updateProposalVotes)).~(AdminProposalApi.this.resetVotes)).~(AdminProposalApi.this.setProposalKeywords)).~(AdminProposalApi.this.bulkTagProposal)).~(AdminProposalApi.this.bulkDeleteTagProposal)).~(AdminProposalApi.this.getProposalHistory)).~(AdminProposalApi.this.bulkRefuseInitialsProposals)
333 39052 11140 - 11161 Select org.make.api.proposal.AdminProposalApi.bulkDeleteTagProposal org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.bulkDeleteTagProposal
333 33543 11122 - 11137 Select org.make.api.proposal.AdminProposalApi.bulkTagProposal org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.bulkTagProposal
333 30612 11034 - 11161 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)).~(AdminProposalApi.this.updateProposalVotes)).~(AdminProposalApi.this.resetVotes)).~(AdminProposalApi.this.setProposalKeywords)).~(AdminProposalApi.this.bulkTagProposal)).~(AdminProposalApi.this.bulkDeleteTagProposal)
333 33295 11034 - 11251 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this._enhanceRouteWithConcatenation(AdminProposalApi.this.search).~(AdminProposalApi.this.patchProposal)).~(AdminProposalApi.this.updateProposalVotes)).~(AdminProposalApi.this.resetVotes)).~(AdminProposalApi.this.setProposalKeywords)).~(AdminProposalApi.this.bulkTagProposal)).~(AdminProposalApi.this.bulkDeleteTagProposal)).~(AdminProposalApi.this.getProposalHistory)).~(AdminProposalApi.this.bulkRefuseInitialsProposals)).~(AdminProposalApi.this.submittedAsLanguagePatchScript)
334 37457 11221 - 11251 Select org.make.api.proposal.AdminProposalApi.submittedAsLanguagePatchScript org.make.api.proposal.defaultadminproposalapicomponenttest AdminProposalApi.this.submittedAsLanguagePatchScript
360 30649 11995 - 12028 Apply akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map org.make.api.proposal.defaultadminproposalapicomponenttest server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminProposalApi.this.Segment).map[org.make.core.proposal.ProposalId](((id: String) => org.make.core.proposal.ProposalId.apply(id)))
360 38807 12013 - 12027 Apply org.make.core.proposal.ProposalId.apply org.make.api.proposal.defaultadminproposalapicomponenttest org.make.core.proposal.ProposalId.apply(id)
360 47360 11995 - 12002 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.Segment
363 51187 12079 - 14807 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("AdminSearchProposals", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order])](DefaultAdminProposalApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId])(DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.question.QuestionId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId])(DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalStatus](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac11[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], content: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], userTypes: Option[Seq[org.make.core.user.UserType]], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagIds: Option[Seq[org.make.core.tag.TagId]], offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((sort.map[org.make.core.Requirement](((sort: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))).toList: _*)); val exhaustiveSearchRequest: org.make.api.proposal.ExhaustiveSearchRequest = { <artifact> val x$1: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = proposalTypes; <artifact> val x$3: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$6: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$1: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$1.field)); <artifact> val x$8: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$9: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = end.map[org.make.core.technical.Pagination.Limit](((x$2: org.make.core.technical.Pagination.End) => x$2.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))); <artifact> val x$10: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$11: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$12: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$13: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$14: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$15: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$18: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$19: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$20: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; <artifact> val x$23: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$23; <artifact> val x$24: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$24; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$12, x$13, x$4, x$14, x$5, x$15, x$6, x$16, x$17, x$18, x$19, x$20, x$7, x$8, x$9, x$10, x$21, x$11, x$22, x$23, x$24) }; val query: org.make.core.proposal.SearchQuery = exhaustiveSearchRequest.toSearchQuery(requestContext); server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]])))))) })))))))))
363 43992 12079 - 12082 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.get
364 37277 12091 - 14801 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("AdminSearchProposals", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order])](DefaultAdminProposalApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId])(DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.question.QuestionId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId])(DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalStatus](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac11[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], content: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], userTypes: Option[Seq[org.make.core.user.UserType]], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagIds: Option[Seq[org.make.core.tag.TagId]], offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((sort.map[org.make.core.Requirement](((sort: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))).toList: _*)); val exhaustiveSearchRequest: org.make.api.proposal.ExhaustiveSearchRequest = { <artifact> val x$1: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = proposalTypes; <artifact> val x$3: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$6: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$1: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$1.field)); <artifact> val x$8: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$9: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = end.map[org.make.core.technical.Pagination.Limit](((x$2: org.make.core.technical.Pagination.End) => x$2.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))); <artifact> val x$10: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$11: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$12: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$13: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$14: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$15: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$18: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$19: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$20: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; <artifact> val x$23: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$23; <artifact> val x$24: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$24; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$12, x$13, x$4, x$14, x$5, x$15, x$6, x$16, x$17, x$18, x$19, x$20, x$7, x$8, x$9, x$10, x$21, x$11, x$22, x$23, x$24) }; val query: org.make.core.proposal.SearchQuery = exhaustiveSearchRequest.toSearchQuery(requestContext); server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]])))))) }))))))))
364 51287 12091 - 12118 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit]))
364 32999 12106 - 12117 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
364 45066 12104 - 12104 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
364 37212 12096 - 12117 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])
364 40597 12096 - 12103 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
365 41703 12129 - 14793 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("AdminSearchProposals", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order])](DefaultAdminProposalApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId])(DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.question.QuestionId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId])(DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalStatus](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac11[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], content: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], userTypes: Option[Seq[org.make.core.user.UserType]], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagIds: Option[Seq[org.make.core.tag.TagId]], offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((sort.map[org.make.core.Requirement](((sort: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))).toList: _*)); val exhaustiveSearchRequest: org.make.api.proposal.ExhaustiveSearchRequest = { <artifact> val x$1: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = proposalTypes; <artifact> val x$3: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$6: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$1: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$1.field)); <artifact> val x$8: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$9: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = end.map[org.make.core.technical.Pagination.Limit](((x$2: org.make.core.technical.Pagination.End) => x$2.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))); <artifact> val x$10: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$11: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$12: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$13: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$14: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$15: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$18: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$19: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$20: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; <artifact> val x$23: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$23; <artifact> val x$24: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$24; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$12, x$13, x$4, x$14, x$5, x$15, x$6, x$16, x$17, x$18, x$19, x$20, x$7, x$8, x$9, x$10, x$21, x$11, x$22, x$23, x$24) }; val query: org.make.core.proposal.SearchQuery = exhaustiveSearchRequest.toSearchQuery(requestContext); server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]])))))) })))))))
365 39541 12129 - 12129 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
365 43739 12129 - 12166 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("AdminSearchProposals", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
365 47109 12143 - 12165 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "AdminSearchProposals"
365 40631 12142 - 12142 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
365 30684 12129 - 12129 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
366 32751 12197 - 12207 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
366 49549 12197 - 14783 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order])](DefaultAdminProposalApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId])(DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.question.QuestionId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId])(DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalStatus](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac11[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], content: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], userTypes: Option[Seq[org.make.core.user.UserType]], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagIds: Option[Seq[org.make.core.tag.TagId]], offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((sort.map[org.make.core.Requirement](((sort: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))).toList: _*)); val exhaustiveSearchRequest: org.make.api.proposal.ExhaustiveSearchRequest = { <artifact> val x$1: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = proposalTypes; <artifact> val x$3: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$6: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$1: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$1.field)); <artifact> val x$8: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$9: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = end.map[org.make.core.technical.Pagination.Limit](((x$2: org.make.core.technical.Pagination.End) => x$2.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))); <artifact> val x$10: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$11: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$12: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$13: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$14: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$15: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$18: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$19: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$20: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; <artifact> val x$23: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$23; <artifact> val x$24: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$24; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$12, x$13, x$4, x$14, x$5, x$15, x$6, x$16, x$17, x$18, x$19, x$20, x$7, x$8, x$9, x$10, x$21, x$11, x$22, x$23, x$24) }; val query: org.make.core.proposal.SearchQuery = exhaustiveSearchRequest.toSearchQuery(requestContext); server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]])))))) })))))
366 45532 12197 - 12197 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
367 36808 12256 - 14771 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order])](DefaultAdminProposalApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId])(DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.question.QuestionId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId])(DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalStatus](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac11[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], content: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], userTypes: Option[Seq[org.make.core.user.UserType]], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagIds: Option[Seq[org.make.core.tag.TagId]], offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((sort.map[org.make.core.Requirement](((sort: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))).toList: _*)); val exhaustiveSearchRequest: org.make.api.proposal.ExhaustiveSearchRequest = { <artifact> val x$1: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = proposalTypes; <artifact> val x$3: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$6: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$1: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$1.field)); <artifact> val x$8: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$9: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = end.map[org.make.core.technical.Pagination.Limit](((x$2: org.make.core.technical.Pagination.End) => x$2.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))); <artifact> val x$10: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$11: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$12: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$13: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$14: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$15: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$18: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$19: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$20: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; <artifact> val x$23: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$23; <artifact> val x$24: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$24; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$12, x$13, x$4, x$14, x$5, x$15, x$6, x$16, x$17, x$18, x$19, x$20, x$7, x$8, x$9, x$10, x$21, x$11, x$22, x$23, x$24) }; val query: org.make.core.proposal.SearchQuery = exhaustiveSearchRequest.toSearchQuery(requestContext); server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]])))))) })))
367 37249 12273 - 12286 Select scalaoauth2.provider.AuthInfo.user userAuth.user
367 51038 12256 - 12287 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
368 36491 12304 - 12812 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters DefaultAdminProposalApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId])(DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.question.QuestionId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId])(DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalStatus](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))))
368 49778 12314 - 12314 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac11 util.this.ApplyConverter.hac11[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order]]
369 31151 12340 - 12340 Select org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller
369 47148 12332 - 12336 Literal <nosymbol> "id"
369 39040 12332 - 12352 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId]
369 43782 12332 - 12352 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId])(DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller)
370 45564 12386 - 12386 Select org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller
370 32788 12370 - 12398 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId]
370 37707 12370 - 12398 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.question.QuestionId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId])(DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller)
370 40390 12370 - 12382 Literal <nosymbol> "questionId"
371 51082 12416 - 12425 Literal <nosymbol> "content"
371 38798 12426 - 12426 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
371 46902 12416 - 12427 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminProposalApi.this._string2NR("content").?
371 43696 12416 - 12427 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
371 31186 12426 - 12426 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
372 45319 12457 - 12457 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))
372 37743 12445 - 12473 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalStatus](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus])))
372 32285 12445 - 12473 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus]
372 36734 12445 - 12453 Literal <nosymbol> "status"
373 38832 12505 - 12505 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))
373 50238 12491 - 12501 Literal <nosymbol> "userType"
373 46936 12491 - 12515 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType]
373 30942 12491 - 12515 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType])))
374 32041 12551 - 12551 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))
374 43731 12533 - 12547 Literal <nosymbol> "proposalType"
374 45357 12533 - 12565 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType])))
374 36175 12533 - 12565 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType]
375 47134 12594 - 12594 Select org.make.core.ParameterExtractors.tagIdFromStringUnmarshaller DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller
375 38266 12583 - 12590 Literal <nosymbol> "tagId"
375 50279 12583 - 12601 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId]
375 38588 12583 - 12601 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller)
376 30981 12619 - 12627 Literal <nosymbol> "_start"
376 35930 12650 - 12650 Select org.make.core.ParameterExtractors.startFromIntUnmarshaller DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller
376 44791 12619 - 12651 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
376 32778 12650 - 12650 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller)
376 45110 12619 - 12651 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller))
377 38306 12669 - 12675 Literal <nosymbol> "_end"
377 31514 12669 - 12696 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller))
377 50312 12669 - 12696 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
377 43209 12695 - 12695 Select org.make.core.ParameterExtractors.endFromIntUnmarshaller DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller
377 39324 12695 - 12695 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller)
378 44826 12714 - 12721 Literal <nosymbol> "_sort"
378 37037 12714 - 12758 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]))))
378 36725 12714 - 12758 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?
378 32535 12757 - 12757 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]))
378 45855 12757 - 12757 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))
379 43247 12776 - 12796 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?
379 43563 12776 - 12796 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
379 51368 12776 - 12784 Literal <nosymbol> "_order"
379 39082 12795 - 12795 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
379 30932 12795 - 12795 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
380 44373 12304 - 14757 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order])](DefaultAdminProposalApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId])(DefaultAdminProposalApiComponent.this.proposalIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.question.QuestionId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId])(DefaultAdminProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalStatus](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultAdminProposalApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultAdminProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac11[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], content: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], userTypes: Option[Seq[org.make.core.user.UserType]], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagIds: Option[Seq[org.make.core.tag.TagId]], offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((sort.map[org.make.core.Requirement](((sort: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))).toList: _*)); val exhaustiveSearchRequest: org.make.api.proposal.ExhaustiveSearchRequest = { <artifact> val x$1: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = proposalTypes; <artifact> val x$3: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$6: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$1: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$1.field)); <artifact> val x$8: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$9: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = end.map[org.make.core.technical.Pagination.Limit](((x$2: org.make.core.technical.Pagination.End) => x$2.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))); <artifact> val x$10: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$11: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$12: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$13: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$14: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$15: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$18: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$19: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$20: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; <artifact> val x$23: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$23; <artifact> val x$24: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$24; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$12, x$13, x$4, x$14, x$5, x$15, x$6, x$16, x$17, x$18, x$19, x$20, x$7, x$8, x$9, x$10, x$21, x$11, x$22, x$23, x$24) }; val query: org.make.core.proposal.SearchQuery = exhaustiveSearchRequest.toSearchQuery(requestContext); server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]])))))) }))
394 37492 13472 - 13504 ApplyToImplicitArgs org.make.core.Validation.validateSort org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]))
394 45067 13496 - 13503 Literal <nosymbol> "_sort"
394 50868 13463 - 13512 Select scala.Option.toList sort.map[org.make.core.Requirement](((sort: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))).toList
394 43002 13443 - 13517 Apply org.make.core.Validation.validate org.make.core.Validation.validate((sort.map[org.make.core.Requirement](((sort: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => org.make.core.Validation.validateSort[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]("_sort")(sort)((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))).toList: _*))
396 43043 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$9 ExhaustiveSearchRequest.apply$default$9
396 37286 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$22 ExhaustiveSearchRequest.apply$default$22
396 44060 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$13 ExhaustiveSearchRequest.apply$default$13
396 30719 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$12 ExhaustiveSearchRequest.apply$default$12
396 37525 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$5 ExhaustiveSearchRequest.apply$default$5
396 34672 13592 - 14118 Apply org.make.api.proposal.ExhaustiveSearchRequest.apply ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$12, x$13, x$4, x$14, x$5, x$15, x$6, x$16, x$17, x$18, x$19, x$20, x$7, x$8, x$9, x$10, x$21, x$11, x$22, x$23, x$24)
396 39645 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$11 ExhaustiveSearchRequest.apply$default$11
396 43497 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$24 ExhaustiveSearchRequest.apply$default$24
396 51326 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$7 ExhaustiveSearchRequest.apply$default$7
396 49561 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$15 ExhaustiveSearchRequest.apply$default$15
396 51361 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$23 ExhaustiveSearchRequest.apply$default$23
396 36973 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$14 ExhaustiveSearchRequest.apply$default$14
396 45134 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$20 ExhaustiveSearchRequest.apply$default$20
396 45101 13592 - 13592 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$4 ExhaustiveSearchRequest.apply$default$4
403 30971 13903 - 13920 Apply scala.Option.map sort.map[String](((x$1: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$1.field))
403 39117 13912 - 13919 Select org.make.core.elasticsearch.ElasticsearchFieldName.field x$1.field
405 44024 14003 - 14016 Select org.make.core.technical.Pagination.RichOptionOffset.orZero technical.this.Pagination.RichOptionOffset(offset).orZero
405 36529 13993 - 14017 Apply org.make.core.technical.Pagination.End.toLimit x$2.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero)
405 49519 13985 - 14018 Apply scala.Option.map end.map[org.make.core.technical.Pagination.Limit](((x$2: org.make.core.technical.Pagination.End) => x$2.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero)))
409 30757 14162 - 14215 Apply org.make.api.proposal.ExhaustiveSearchRequest.toSearchQuery exhaustiveSearchRequest.toSearchQuery(requestContext)
411 44580 14234 - 14307 Apply org.make.api.proposal.ProposalService.searchInIndex DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)
412 49763 14329 - 14329 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]
412 37009 14234 - 14340 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective
413 31262 14234 - 14741 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultAdminProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]]))))))
415 35165 14428 - 14719 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]]))))
416 44616 14464 - 14693 Apply scala.Tuple3.apply scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal))))
416 37842 14464 - 14464 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]])
416 36768 14464 - 14464 Select org.make.api.proposal.AdminProposalResponse.codec proposal.this.AdminProposalResponse.codec
416 51152 14464 - 14464 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]]))
416 49513 14464 - 14464 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec)
416 43032 14464 - 14693 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.AdminProposalResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString())), proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.AdminProposalResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.AdminProposalResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse](proposal.this.AdminProposalResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]])))
416 41940 14464 - 14464 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.AdminProposalResponse]]
417 44892 14494 - 14508 Select akka.http.scaladsl.model.StatusCodes.OK akka.http.scaladsl.model.StatusCodes.OK
418 37322 14559 - 14583 Apply scala.Any.toString proposals.total.toString()
418 51116 14543 - 14584 Apply akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply org.make.api.technical.X-Total-Count.apply(proposals.total.toString())
418 43531 14538 - 14585 Apply scala.collection.IterableFactory.apply scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(proposals.total.toString()))
419 30514 14615 - 14665 Apply scala.collection.IterableOps.map proposals.results.map[org.make.api.proposal.AdminProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => AdminProposalResponse.apply(proposal)))
419 35412 14637 - 14664 Apply org.make.api.proposal.AdminProposalResponse.apply AdminProposalResponse.apply(proposal)
430 41521 14846 - 15851 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("fix-trolled-proposal"))(TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("EditProposalVotesVerified", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalVotesRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalVotesRequest]).apply(((request: org.make.api.proposal.UpdateProposalVotesRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((x$3: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))))))
430 42782 14846 - 14849 Select akka.http.scaladsl.server.directives.MethodDirectives.put org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.put
431 34957 14858 - 14928 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("fix-trolled-proposal"))(TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
431 37038 14903 - 14903 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
431 49303 14885 - 14885 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
431 35202 14863 - 14870 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
431 42819 14863 - 14927 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("fix-trolled-proposal"))(TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
431 31789 14873 - 14884 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
431 47723 14862 - 14862 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
431 41739 14905 - 14927 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("fix-trolled-proposal")
431 50348 14903 - 14903 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
431 36316 14887 - 14902 Select org.make.api.proposal.DefaultAdminProposalApiComponent.DefaultAdminProposalApi.adminProposalId org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.adminProposalId
431 43807 14871 - 14871 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
431 49103 14858 - 15845 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("fix-trolled-proposal"))(TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("EditProposalVotesVerified", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalVotesRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalVotesRequest]).apply(((request: org.make.api.proposal.UpdateProposalVotesRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((x$3: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))))))
432 43848 14967 - 14994 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "EditProposalVotesVerified"
432 49344 14953 - 14953 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
432 36762 14953 - 14953 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
432 35739 14953 - 15837 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("EditProposalVotesVerified", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalVotesRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalVotesRequest]).apply(((request: org.make.api.proposal.UpdateProposalVotesRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((x$3: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))))
432 37072 14966 - 14966 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
432 42254 14953 - 14995 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("EditProposalVotesVerified", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
433 39891 15026 - 15827 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalVotesRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalVotesRequest]).apply(((request: org.make.api.proposal.UpdateProposalVotesRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((x$3: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))
433 50381 15026 - 15036 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
433 43284 15026 - 15026 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
434 48020 15085 - 15815 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalVotesRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalVotesRequest]).apply(((request: org.make.api.proposal.UpdateProposalVotesRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((x$3: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))
434 48779 15085 - 15116 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
434 34995 15102 - 15115 Select scalaoauth2.provider.AuthInfo.user userAuth.user
435 43596 15133 - 15146 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultAdminProposalApi.this.decodeRequest
435 34983 15133 - 15801 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalVotesRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalVotesRequest]).apply(((request: org.make.api.proposal.UpdateProposalVotesRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((x$3: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))
436 43118 15165 - 15785 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalVotesRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalVotesRequest]).apply(((request: org.make.api.proposal.UpdateProposalVotesRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((x$3: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))
436 50904 15165 - 15203 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultAdminProposalApi.this.entity[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec))))
436 43323 15171 - 15171 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalVotesRequest]
436 40993 15174 - 15174 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec))
436 36797 15174 - 15174 Select org.make.api.proposal.UpdateProposalVotesRequest.codec proposal.this.UpdateProposalVotesRequest.codec
436 49812 15174 - 15174 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)
436 37108 15172 - 15202 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultAdminProposalApi.this.as[org.make.api.proposal.UpdateProposalVotesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalVotesRequest](proposal.this.UpdateProposalVotesRequest.codec)))
437 34912 15235 - 15271 Apply org.make.api.proposal.DefaultAdminProposalApiComponent.DefaultAdminProposalApi.retrieveProposalQuestion DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)
437 47514 15235 - 15293 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound
437 43635 15272 - 15272 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.question.Question]
437 50088 15235 - 15767 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminProposalApi.this.retrieveProposalQuestion(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((x$3: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))
439 33875 15321 - 15660 Apply org.make.api.proposal.ProposalService.updateVotes DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)
441 36566 15458 - 15478 Select org.make.core.auth.UserRights.userId userAuth.user.userId
443 49846 15573 - 15589 Apply org.make.core.DefaultDateHelper.now org.make.core.DateHelper.now()
444 41725 15623 - 15636 Select org.make.api.proposal.UpdateProposalVotesRequest.votes request.votes
446 43079 15684 - 15684 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
446 50941 15321 - 15705 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound
447 41484 15735 - 15746 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))
447 44851 15744 - 15744 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])
447 34949 15744 - 15744 Select org.make.api.proposal.ModerationProposalResponse.codec proposal.this.ModerationProposalResponse.codec
447 33905 15321 - 15747 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.updateVotes(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.votes)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$4: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))
447 36599 15744 - 15744 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))
447 49064 15744 - 15745 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))
447 48259 15744 - 15744 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]
458 37463 15901 - 19748 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.patch).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((id: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("PatchProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((context: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalRequest]).apply(((patch: org.make.api.proposal.PatchProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$20: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))))
458 34421 15901 - 15906 Select akka.http.scaladsl.server.directives.MethodDirectives.patch org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.patch
459 40953 15944 - 15944 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
459 34750 15930 - 15930 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
459 35778 15922 - 15961 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])
459 43033 15932 - 15943 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
459 45742 15917 - 19740 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((id: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("PatchProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((context: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalRequest]).apply(((patch: org.make.api.proposal.PatchProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$20: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))))
459 41277 15921 - 15921 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
459 49836 15917 - 15962 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]))
459 50126 15922 - 15929 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
459 48053 15946 - 15961 Select org.make.api.proposal.DefaultAdminProposalApiComponent.DefaultAdminProposalApi.adminProposalId org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.adminProposalId
460 43070 15981 - 15981 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
460 35482 15981 - 16011 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("PatchProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
460 32970 15981 - 19730 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("PatchProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((context: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalRequest]).apply(((patch: org.make.api.proposal.PatchProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$20: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))
460 33140 15995 - 16010 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "PatchProposal"
460 48568 15994 - 15994 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
460 51190 15981 - 15981 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
461 39683 16037 - 16047 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
461 40852 16037 - 19718 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalRequest]).apply(((patch: org.make.api.proposal.PatchProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$20: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))
461 36584 16037 - 16037 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
462 44709 16072 - 19704 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalRequest]).apply(((patch: org.make.api.proposal.PatchProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$20: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))
462 42017 16072 - 16099 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(auth.user)
462 49588 16089 - 16098 Select scalaoauth2.provider.AuthInfo.user auth.user
463 34215 16118 - 16131 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultAdminProposalApi.this.decodeRequest
463 30900 16118 - 19688 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalRequest]).apply(((patch: org.make.api.proposal.PatchProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$20: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))
464 43106 16161 - 16161 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)
464 40743 16152 - 16184 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultAdminProposalApi.this.entity[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec))))
464 39209 16152 - 19670 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalRequest,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalRequest]).apply(((patch: org.make.api.proposal.PatchProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$20: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))
464 46203 16161 - 16161 Select org.make.api.proposal.PatchProposalRequest.codec proposal.this.PatchProposalRequest.codec
464 35239 16161 - 16161 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec))
464 36354 16158 - 16158 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalRequest]
464 48008 16159 - 16183 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultAdminProposalApi.this.as[org.make.api.proposal.PatchProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalRequest](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalRequest](proposal.this.PatchProposalRequest.codec)))
465 38934 16216 - 16796 Apply scala.Tuple6.apply scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))
466 33647 16298 - 16298 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
466 49626 16240 - 16284 Apply org.make.api.proposal.ProposalService.getProposalById DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)
466 41238 16299 - 16319 Literal <nosymbol> "Proposal not found"
466 46238 16240 - 16320 ApplyToImplicitArgs org.make.api.technical.Futures.FutureOfOption.flattenOrFail org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global)
467 33682 16393 - 16393 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
467 49383 16396 - 16396 TypeApply scala.<:<.refl scala.this.<:<.refl[Option[org.make.core.user.User]]
467 47463 16344 - 16404 ApplyToImplicitArgs scala.concurrent.Future.map cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global)
467 35276 16350 - 16350 Select cats.instances.OptionInstances.catsStdInstancesForOption cats.implicits.catsStdInstancesForOption
467 36387 16365 - 16365 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
467 42856 16344 - 16356 Select org.make.api.proposal.PatchProposalRequest.author patch.author
467 41271 16394 - 16403 ApplyToImplicitArgs scala.Option.flatten x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])
467 40170 16365 - 16365 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
467 47763 16366 - 16388 Apply org.make.api.user.UserService.getUser DefaultAdminProposalApiComponent.this.userService.getUser(x$5)
468 34499 16434 - 16434 Select cats.instances.OptionInstances.catsStdInstancesForOption cats.implicits.catsStdInstancesForOption
468 42897 16428 - 16440 Select org.make.api.proposal.PatchProposalRequest.ideaId patch.ideaId
468 40205 16449 - 16449 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
468 41036 16479 - 16488 ApplyToImplicitArgs scala.Option.flatten x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])
468 46191 16428 - 16489 ApplyToImplicitArgs scala.concurrent.Future.map cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global)
468 33107 16449 - 16449 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
468 47802 16450 - 16473 Apply org.make.api.idea.IdeaService.fetchOne DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)
468 33441 16478 - 16478 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
468 49423 16481 - 16481 TypeApply scala.<:<.refl scala.this.<:<.refl[Option[org.make.core.idea.Idea]]
469 49332 16579 - 16579 TypeApply scala.<:<.refl scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]]
469 47250 16513 - 16587 ApplyToImplicitArgs scala.concurrent.Future.map cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global)
469 34537 16519 - 16519 Select cats.instances.OptionInstances.catsStdInstancesForOption cats.implicits.catsStdInstancesForOption
469 47836 16538 - 16571 Apply org.make.api.operation.OperationService.findOneSimple DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)
469 43353 16513 - 16528 Select org.make.api.proposal.PatchProposalRequest.operation patch.operation
469 40736 16537 - 16537 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
469 33471 16576 - 16576 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
469 31823 16537 - 16537 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
469 41073 16577 - 16586 ApplyToImplicitArgs scala.Option.flatten x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])
470 32896 16636 - 16636 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
470 49374 16675 - 16675 TypeApply scala.<:<.refl scala.this.<:<.refl[Option[org.make.core.question.Question]]
470 41802 16673 - 16682 ApplyToImplicitArgs scala.Option.flatten x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])
470 40775 16636 - 16636 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
470 47596 16637 - 16667 Apply org.make.api.question.QuestionService.getQuestion DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)
470 34984 16617 - 16617 Select cats.instances.OptionInstances.catsStdInstancesForOption cats.implicits.catsStdInstancesForOption
470 34009 16672 - 16672 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
470 38372 16611 - 16627 Select org.make.api.proposal.PatchProposalRequest.questionId patch.questionId
470 47290 16611 - 16683 ApplyToImplicitArgs scala.concurrent.Future.map cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global)
471 49410 16727 - 16773 ApplyToImplicitArgs scala.concurrent.Future.map DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)
471 35022 16713 - 16713 Select cats.instances.OptionInstances.catsStdInstancesForOption cats.implicits.catsStdInstancesForOption
471 41556 16726 - 16726 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
471 32931 16757 - 16757 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
471 38891 16707 - 16717 Select org.make.api.proposal.PatchProposalRequest.tags patch.tags
471 47040 16707 - 16774 ApplyToImplicitArgs cats.Traverse.Ops.traverse cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
471 40526 16758 - 16772 Apply scala.collection.IterableOps.map x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))
471 48331 16764 - 16771 Select org.make.core.tag.Tag.tagId x$15.tagId
471 33429 16726 - 16726 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
472 33180 16804 - 16804 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
472 41595 16216 - 16815 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective
472 47546 16797 - 16797 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
472 39955 16797 - 16797 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
472 35059 16797 - 16797 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
472 45460 16216 - 16803 ApplyToImplicitArgs cats.syntax.Tuple6SemigroupalOps.tupled cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
472 32675 16797 - 16797 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
473 30859 16846 - 16846 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
473 38467 16216 - 19608 Apply cats.FlatMap.Ops.flatMap cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } }))
475 31031 16984 - 18778 Apply org.make.core.Validation.validateOptional org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String)))))
476 39720 17041 - 17439 Apply scala.Option.map patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String))))
477 47584 17095 - 17408 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String))
478 46481 17161 - 17169 Literal <nosymbol> "author"
479 38970 17209 - 17224 Literal <nosymbol> "invalid_value"
480 34816 17270 - 17291 Select scala.Option.isDefined maybeAuthor.isDefined
484 46239 17469 - 17863 Apply scala.Option.map patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String))))
485 33217 17523 - 17832 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String))
486 32885 17589 - 17597 Literal <nosymbol> "ideaId"
487 45500 17637 - 17652 Literal <nosymbol> "invalid_value"
488 42121 17698 - 17717 Select scala.Option.isDefined maybeIdea.isDefined
492 32918 17893 - 18306 Apply scala.Option.map patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String))))
493 39756 17950 - 18275 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String))
494 39423 18016 - 18027 Literal <nosymbol> "operation"
495 34852 18067 - 18082 Literal <nosymbol> "invalid_value"
496 48645 18128 - 18152 Select scala.Option.isDefined maybeOperation.isDefined
500 39458 18336 - 18750 Apply scala.Option.map patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))
501 47033 18394 - 18719 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))
502 45959 18460 - 18472 Literal <nosymbol> "questionId"
503 42152 18512 - 18527 Literal <nosymbol> "invalid_value"
504 34292 18573 - 18596 Select scala.Option.isDefined maybeQuestion.isDefined
509 45992 18848 - 18848 Select cats.instances.OptionInstances.catsStdInstancesForOption cats.implicits.catsStdInstancesForOption
509 32667 18848 - 18848 Select cats.instances.OptionInstances.catsStdInstancesForOption cats.implicits.catsStdInstancesForOption
509 39787 18805 - 18847 Apply scala.Tuple2.apply scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)
509 48681 18821 - 18846 Select org.make.api.proposal.PatchProposalRequest.contentTranslations patch.contentTranslations
509 34326 18805 - 19385 Apply scala.Option.foreach cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() }))
517 41305 18956 - 19356 Apply org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid()
521 47876 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$13 patch.copy$default$13
521 47837 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$3 patch.copy$default$3
521 46826 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$9 patch.copy$default$9
521 47068 19476 - 19492 Select org.make.core.auth.UserRights.userId auth.user.userId
521 37666 19503 - 19531 Apply org.make.api.proposal.PatchProposalRequest.copy patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16)
521 45196 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$6 patch.copy$default$6
521 33766 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$8 patch.copy$default$8
521 32704 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$5 patch.copy$default$5
521 34282 19413 - 19532 Apply org.make.api.proposal.ProposalService.patchProposal DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })
521 40305 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$4 patch.copy$default$4
521 31073 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$2 patch.copy$default$2
521 39258 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$11 patch.copy$default$11
521 45236 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$16 patch.copy$default$16
521 37631 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$7 patch.copy$default$7
521 39219 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$1 patch.copy$default$1
521 32466 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$15 patch.copy$default$15
521 30818 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$12 patch.copy$default$12
521 39745 19509 - 19509 Select org.make.api.proposal.PatchProposalRequest.copy$default$14 patch.copy$default$14
522 46266 19413 - 19583 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound
524 47915 19647 - 19647 Select org.make.api.proposal.ModerationProposalResponse.codec proposal.this.ModerationProposalResponse.codec
524 34316 19638 - 19649 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))
524 31896 19647 - 19647 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])
524 47328 16216 - 19650 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[(org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])](cats.implicits.catsSyntaxTuple6Semigroupal[scala.concurrent.Future, org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]]](scala.Tuple6.apply[scala.concurrent.Future[org.make.core.proposal.indexed.IndexedProposal], scala.concurrent.Future[Option[org.make.core.user.User]], scala.concurrent.Future[Option[org.make.core.idea.Idea]], scala.concurrent.Future[Option[org.make.core.operation.SimpleOperation]], scala.concurrent.Future[Option[org.make.core.question.Question]], scala.concurrent.Future[Option[Seq[org.make.core.tag.TagId]]]](org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultAdminProposalApiComponent.this.proposalService.getProposalById(id, context)).flattenOrFail("Proposal not found")(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.user.UserId](patch.author)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.user.User]](((x$5: org.make.core.user.UserId) => DefaultAdminProposalApiComponent.this.userService.getUser(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.user.User]](((x$6: Option[Option[org.make.core.user.User]]) => x$6.flatten[org.make.core.user.User](scala.this.<:<.refl[Option[org.make.core.user.User]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.idea.IdeaId](patch.ideaId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.idea.Idea]](((x$7: org.make.core.idea.IdeaId) => DefaultAdminProposalApiComponent.this.ideaService.fetchOne(x$7)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.idea.Idea]](((x$8: Option[Option[org.make.core.idea.Idea]]) => x$8.flatten[org.make.core.idea.Idea](scala.this.<:<.refl[Option[org.make.core.idea.Idea]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.operation.OperationId](patch.operation)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.operation.SimpleOperation]](((x$9: org.make.core.operation.OperationId) => DefaultAdminProposalApiComponent.this.operationService.findOneSimple(x$9)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.operation.SimpleOperation]](((x$10: Option[Option[org.make.core.operation.SimpleOperation]]) => x$10.flatten[org.make.core.operation.SimpleOperation](scala.this.<:<.refl[Option[org.make.core.operation.SimpleOperation]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](patch.questionId)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Option[org.make.core.question.Question]](((x$11: org.make.core.question.QuestionId) => DefaultAdminProposalApiComponent.this.questionService.getQuestion(x$11)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).map[Option[org.make.core.question.Question]](((x$12: Option[Option[org.make.core.question.Question]]) => x$12.flatten[org.make.core.question.Question](scala.this.<:<.refl[Option[org.make.core.question.Question]])))(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.toTraverseOps[Option, Seq[org.make.core.tag.TagId]](patch.tags)(cats.implicits.catsStdInstancesForOption).traverse[scala.concurrent.Future, Seq[org.make.core.tag.TagId]](((x$13: Seq[org.make.core.tag.TagId]) => DefaultAdminProposalApiComponent.this.tagService.findByTagIds(x$13).map[Seq[org.make.core.tag.TagId]](((x$14: Seq[org.make.core.tag.Tag]) => x$14.map[org.make.core.tag.TagId](((x$15: org.make.core.tag.Tag) => x$15.tagId))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)))).tupled(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationProposalResponse](((x0$1: (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])) => x0$1 match { case (_1: org.make.core.proposal.indexed.IndexedProposal, _2: Option[org.make.core.user.User], _3: Option[org.make.core.idea.Idea], _4: Option[org.make.core.operation.SimpleOperation], _5: Option[org.make.core.question.Question], _6: Option[Seq[org.make.core.tag.TagId]]): (org.make.core.proposal.indexed.IndexedProposal, Option[org.make.core.user.User], Option[org.make.core.idea.Idea], Option[org.make.core.operation.SimpleOperation], Option[org.make.core.question.Question], Option[Seq[org.make.core.tag.TagId]])((proposal @ _), (maybeAuthor @ _), (maybeIdea @ _), (maybeOperation @ _), (maybeQuestion @ _), (maybeTags @ _)) => { org.make.core.Validation.validateOptional(patch.author.map[org.make.core.Requirement](((x$16: org.make.core.user.UserId) => org.make.core.Validation.validateField("author", "invalid_value", maybeAuthor.isDefined, ("UserId ".+(patch.author).+(" does not exist."): String)))), patch.ideaId.map[org.make.core.Requirement](((x$17: org.make.core.idea.IdeaId) => org.make.core.Validation.validateField("ideaId", "invalid_value", maybeIdea.isDefined, ("Idea ".+(patch.ideaId).+(" does not exist."): String)))), patch.operation.map[org.make.core.Requirement](((x$18: org.make.core.operation.OperationId) => org.make.core.Validation.validateField("operation", "invalid_value", maybeOperation.isDefined, ("Operation ".+(patch.operation).+(" does not exist."): String)))), patch.questionId.map[org.make.core.Requirement](((x$19: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "invalid_value", maybeQuestion.isDefined, ("Question ".+(patch.questionId).+(" does not exist."): String))))); cats.implicits.catsSyntaxTuple2Semigroupal[Option, org.make.core.question.Question, org.make.core.technical.Multilingual[String]](scala.Tuple2.apply[Option[org.make.core.question.Question], Option[org.make.core.technical.Multilingual[String]]](maybeQuestion, patch.contentTranslations)).tupled(cats.implicits.catsStdInstancesForOption, cats.implicits.catsStdInstancesForOption).foreach[Unit](((x0$2: (org.make.core.question.Question, org.make.core.technical.Multilingual[String])) => x0$2 match { case (_1: org.make.core.question.Question, _2: org.make.core.technical.Multilingual[String]): (org.make.core.question.Question, org.make.core.technical.Multilingual[String])((question @ _), (translations @ _)) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language].-(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))), scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "proposal_translations")))).throwIfInvalid() })); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(id, auth.user.userId, context, { <artifact> val x$1: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeTags; <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$4; <artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$5; <artifact> val x$7: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$6; <artifact> val x$8: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$7; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$8; <artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$9; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = patch.copy$default$16; patch.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$15, x$16) })).asDirectiveOrNotFound } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$20: org.make.api.proposal.ModerationProposalResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))
524 37426 19647 - 19648 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))
524 40813 19647 - 19647 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]
524 44988 19647 - 19647 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))
535 45776 19857 - 20135 ApplyToImplicitArgs scala.concurrent.Future.flatMap DefaultAdminProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId).flatMap[Option[org.make.core.question.Question]](((x0$1: Option[org.make.core.proposal.Proposal]) => x0$1 match { case (value: org.make.core.proposal.Proposal): Some[org.make.core.proposal.Proposal]((proposal @ _)) => proposal.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminProposalApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId)) }).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None)) case scala.None => scala.concurrent.Future.successful[None.type](scala.None) }))(scala.concurrent.ExecutionContext.Implicits.global)
535 32456 19916 - 19916 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
538 34087 19996 - 20023 Apply org.make.api.question.QuestionService.getQuestion eta$0$1.getQuestion(questionId)
539 47365 20066 - 20070 Select scala.None scala.None
539 38972 20048 - 20071 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[None.type](scala.None)
539 31369 19959 - 20072 Apply scala.Option.getOrElse proposal.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminProposalApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId)) }).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))
541 40603 20104 - 20127 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[None.type](scala.None)
541 44748 20122 - 20126 Select scala.None scala.None
545 37376 20180 - 20184 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.post
545 47103 20180 - 20607 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("reset-votes"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.withoutRequestTimeout).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("ResetVotes", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply({ DefaultAdminProposalApiComponent.this.proposalService.resetVotes(userAuth.user.userId, requestContext); DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)) }))))))))
546 40636 20198 - 20235 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("reset-votes"))(TupleOps.this.Join.join0P[Unit])
546 47113 20208 - 20219 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
546 43913 20220 - 20220 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
546 31406 20222 - 20235 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("reset-votes")
546 34115 20198 - 20205 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
546 32497 20193 - 20236 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("reset-votes"))(TupleOps.this.Join.join0P[Unit]))
546 50521 20193 - 20601 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("reset-votes"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.withoutRequestTimeout).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("ResetVotes", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply({ DefaultAdminProposalApiComponent.this.proposalService.resetVotes(userAuth.user.userId, requestContext); DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)) })))))))
546 39009 20206 - 20206 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
547 37208 20247 - 20593 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.withoutRequestTimeout).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("ResetVotes", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply({ DefaultAdminProposalApiComponent.this.proposalService.resetVotes(userAuth.user.userId, requestContext); DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)) }))))))
547 45536 20247 - 20268 Select akka.http.scaladsl.server.directives.TimeoutDirectives.withoutRequestTimeout org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.withoutRequestTimeout
548 46091 20281 - 20583 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("ResetVotes", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply({ DefaultAdminProposalApiComponent.this.proposalService.resetVotes(userAuth.user.userId, requestContext); DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)) })))))
548 30608 20294 - 20294 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
548 50450 20281 - 20281 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
548 37417 20295 - 20307 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "ResetVotes"
548 46615 20281 - 20281 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
548 39045 20281 - 20308 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("ResetVotes", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
549 43951 20341 - 20351 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
549 39788 20341 - 20341 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
549 32993 20341 - 20571 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply({ DefaultAdminProposalApiComponent.this.proposalService.resetVotes(userAuth.user.userId, requestContext); DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)) })))
550 32249 20397 - 20410 Select scalaoauth2.provider.AuthInfo.user userAuth.user
550 36899 20380 - 20557 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply({ DefaultAdminProposalApiComponent.this.proposalService.resetVotes(userAuth.user.userId, requestContext); DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)) })
550 45569 20380 - 20411 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
551 37172 20457 - 20477 Select org.make.core.auth.UserRights.userId userAuth.user.userId
551 50488 20430 - 20494 Apply org.make.api.proposal.ProposalService.resetVotes DefaultAdminProposalApiComponent.this.proposalService.resetVotes(userAuth.user.userId, requestContext)
552 38802 20532 - 20532 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
552 43700 20511 - 20541 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode))
552 30646 20520 - 20540 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted)(marshalling.this.Marshaller.fromStatusCode)
552 47354 20520 - 20540 Select akka.http.scaladsl.model.StatusCodes.Accepted akka.http.scaladsl.model.StatusCodes.Accepted
560 39535 20655 - 20659 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.post
560 38302 20655 - 21204 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("keywords"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("SetProposalKeywords", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordRequest],)](DefaultAdminProposalApi.this.entity[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordRequest]]).apply(((request: Seq[org.make.api.proposal.ProposalKeywordRequest]) => server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordsResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]).apply(((x$21: Seq[org.make.api.proposal.ProposalKeywordsResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]))))))))))))))))
561 31721 20673 - 20680 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
561 32746 20697 - 20707 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("keywords")
561 51036 20668 - 20708 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("keywords"))(TupleOps.this.Join.join0P[Unit]))
561 36932 20681 - 20681 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
561 38269 20673 - 20707 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("keywords"))(TupleOps.this.Join.join0P[Unit])
561 43736 20683 - 20694 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
561 45105 20668 - 21198 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("keywords"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("SetProposalKeywords", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordRequest],)](DefaultAdminProposalApi.this.entity[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordRequest]]).apply(((request: Seq[org.make.api.proposal.ProposalKeywordRequest]) => server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordsResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]).apply(((x$21: Seq[org.make.api.proposal.ProposalKeywordsResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]])))))))))))))))
561 45526 20695 - 20695 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
562 31144 20719 - 20719 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
562 43775 20719 - 20755 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("SetProposalKeywords", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
562 49690 20719 - 21190 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("SetProposalKeywords", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordRequest],)](DefaultAdminProposalApi.this.entity[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordRequest]]).apply(((request: Seq[org.make.api.proposal.ProposalKeywordRequest]) => server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordsResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]).apply(((x$21: Seq[org.make.api.proposal.ProposalKeywordsResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]))))))))))))))
562 39292 20719 - 20719 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
562 36695 20732 - 20732 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
562 47141 20733 - 20754 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "SetProposalKeywords"
563 32782 20786 - 20796 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
563 45276 20786 - 20786 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
563 35924 20786 - 21180 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordRequest],)](DefaultAdminProposalApi.this.entity[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordRequest]]).apply(((request: Seq[org.make.api.proposal.ProposalKeywordRequest]) => server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordsResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]).apply(((x$21: Seq[org.make.api.proposal.ProposalKeywordsResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]))))))))))))
564 37701 20840 - 20853 Select scalaoauth2.provider.AuthInfo.user userAuth.user
564 44788 20823 - 21168 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordRequest],)](DefaultAdminProposalApi.this.entity[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordRequest]]).apply(((request: Seq[org.make.api.proposal.ProposalKeywordRequest]) => server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordsResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]).apply(((x$21: Seq[org.make.api.proposal.ProposalKeywordsResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]))))))))))
564 51077 20823 - 20854 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
565 30976 20871 - 21154 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordRequest],)](DefaultAdminProposalApi.this.entity[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordRequest]]).apply(((request: Seq[org.make.api.proposal.ProposalKeywordRequest]) => server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordsResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]).apply(((x$21: Seq[org.make.api.proposal.ProposalKeywordsResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]])))))))))
565 43212 20871 - 20884 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultAdminProposalApi.this.decodeRequest
566 45313 20903 - 20942 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultAdminProposalApi.this.entity[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder)))))
566 30901 20912 - 20912 ApplyToImplicitArgs io.circe.Decoder.decodeSeq circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder)
566 38581 20903 - 21138 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordRequest],)](DefaultAdminProposalApi.this.entity[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))))))(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordRequest]]).apply(((request: Seq[org.make.api.proposal.ProposalKeywordRequest]) => server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordsResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]).apply(((x$21: Seq[org.make.api.proposal.ProposalKeywordsResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]))))))))
566 36729 20912 - 20912 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder)))
566 43691 20912 - 20912 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))
566 38792 20912 - 20912 Select org.make.api.proposal.ProposalKeywordRequest.decoder proposal.this.ProposalKeywordRequest.decoder
566 32538 20910 - 20941 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultAdminProposalApi.this.as[Seq[org.make.api.proposal.ProposalKeywordRequest]](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](DefaultAdminProposalApiComponent.this.unmarshaller[Seq[org.make.api.proposal.ProposalKeywordRequest]](circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalKeywordRequest](proposal.this.ProposalKeywordRequest.decoder))))
566 37735 20909 - 20909 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordRequest]]
568 50233 20974 - 21047 Apply org.make.api.proposal.ProposalService.setKeywords DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)
569 38545 21069 - 21069 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]
569 43251 20974 - 21080 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective
570 32035 21117 - 21117 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]])
570 45351 21117 - 21117 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]))
570 43724 21117 - 21117 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec)
570 42405 20974 - 21120 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalKeywordsResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.proposalService.setKeywords(request, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalKeywordsResponse]]).apply(((x$21: Seq[org.make.api.proposal.ProposalKeywordsResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]))))))
570 38263 21117 - 21118 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]])))
570 30936 21117 - 21117 Select org.make.api.proposal.ProposalKeywordsResponse.codec proposal.this.ProposalKeywordsResponse.codec
570 50272 21108 - 21119 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalKeywordsResponse]](x$21)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalKeywordsResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalKeywordsResponse](proposal.this.ProposalKeywordsResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]))))
570 35884 21117 - 21117 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalKeywordsResponse]]
580 50026 21276 - 21873 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkRefuseInitialsProposals", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]).apply(((request: org.make.api.proposal.BulkRefuseProposal) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$22: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))))))))))
580 51331 21276 - 21280 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.post
581 36999 21289 - 21867 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkRefuseInitialsProposals", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]).apply(((request: org.make.api.proposal.BulkRefuseProposal) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$22: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))))))))))))
581 49733 21294 - 21345 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals"))(TupleOps.this.Join.join0P[Unit])
581 43204 21294 - 21301 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
581 39319 21304 - 21315 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
581 36977 21316 - 21316 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
581 31510 21302 - 21302 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
581 45850 21289 - 21346 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals"))(TupleOps.this.Join.join0P[Unit]))
581 44823 21318 - 21345 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals")
582 51366 21357 - 21357 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
582 30925 21370 - 21370 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
582 44574 21357 - 21859 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkRefuseInitialsProposals", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]).apply(((request: org.make.api.proposal.BulkRefuseProposal) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$22: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))))))))
582 35387 21357 - 21401 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("BulkRefuseInitialsProposals", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
582 42963 21357 - 21357 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
582 38058 21371 - 21400 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "BulkRefuseInitialsProposals"
583 30479 21432 - 21849 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]).apply(((request: org.make.api.proposal.BulkRefuseProposal) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$22: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))))))
583 43986 21432 - 21442 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
583 36488 21432 - 21432 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
584 45060 21469 - 21500 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
584 49770 21486 - 21499 Select scalaoauth2.provider.AuthInfo.user userAuth.user
584 35373 21469 - 21837 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]).apply(((request: org.make.api.proposal.BulkRefuseProposal) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$22: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))))
585 37487 21517 - 21530 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultAdminProposalApi.this.decodeRequest
585 43492 21517 - 21823 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]).apply(((request: org.make.api.proposal.BulkRefuseProposal) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$22: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))))))
586 35417 21558 - 21558 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec))
586 44018 21549 - 21579 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec))))
586 50522 21558 - 21558 Select org.make.api.proposal.BulkRefuseProposal.codec proposal.this.BulkRefuseProposal.codec
586 30679 21556 - 21578 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))
586 43000 21558 - 21558 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)
586 51355 21549 - 21807 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]).apply(((request: org.make.api.proposal.BulkRefuseProposal) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$22: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))
586 35911 21555 - 21555 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]
588 37244 21611 - 21716 Apply org.make.api.proposal.ProposalService.refuseAll DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)
588 49517 21658 - 21677 Select org.make.api.proposal.BulkRefuseProposal.proposalIds request.proposalIds
588 45096 21679 - 21699 Select org.make.core.auth.UserRights.userId userAuth.user.userId
589 51320 21611 - 21749 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective
589 42428 21738 - 21738 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]
590 30713 21786 - 21786 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]
590 43776 21786 - 21786 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])
590 35169 21786 - 21786 Select org.make.api.proposal.BulkActionResponse.codec proposal.this.BulkActionResponse.codec
590 48964 21786 - 21787 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))
590 37281 21611 - 21789 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$22: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))
590 41166 21777 - 21788 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$22)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))
590 36970 21786 - 21786 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))
600 41905 21933 - 21937 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.post
600 50933 21933 - 23018 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkTagProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]).apply(((request: org.make.api.proposal.BulkTagProposal) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]).apply(((foundTags: Seq[org.make.core.tag.Tag]) => { org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*)); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))))))
601 35121 21975 - 21980 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag")
601 36766 21946 - 21981 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))
601 51111 21961 - 21972 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
601 43524 21959 - 21959 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
601 44609 21951 - 21980 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit])
601 33866 21946 - 23012 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkTagProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]).apply(((request: org.make.api.proposal.BulkTagProposal) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]).apply(((foundTags: Seq[org.make.core.tag.Tag]) => { org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*)); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) })))))))))))
601 37317 21951 - 21958 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
601 31219 21973 - 21973 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
602 41449 21992 - 23004 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkTagProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]).apply(((request: org.make.api.proposal.BulkTagProposal) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]).apply(((foundTags: Seq[org.make.core.tag.Tag]) => { org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*)); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))))
602 37229 21992 - 21992 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
602 43290 22005 - 22005 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
602 41660 21992 - 21992 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
602 49507 22006 - 22023 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "BulkTagProposal"
602 51148 21992 - 22024 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("BulkTagProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
603 49841 22055 - 22994 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]).apply(((request: org.make.api.proposal.BulkTagProposal) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]).apply(((foundTags: Seq[org.make.core.tag.Tag]) => { org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*)); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))
603 35159 22055 - 22065 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
603 48467 22055 - 22055 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
604 43761 22109 - 22122 Select scalaoauth2.provider.AuthInfo.user userAuth.user
604 36560 22092 - 22982 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]).apply(((request: org.make.api.proposal.BulkTagProposal) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]).apply(((foundTags: Seq[org.make.core.tag.Tag]) => { org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*)); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))
604 36802 22092 - 22123 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
605 39647 22140 - 22968 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]).apply(((request: org.make.api.proposal.BulkTagProposal) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]).apply(((foundTags: Seq[org.make.core.tag.Tag]) => { org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*)); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) })))))
605 49264 22140 - 22153 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultAdminProposalApi.this.decodeRequest
606 50304 22181 - 22181 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec))
606 42779 22179 - 22198 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))
606 41699 22181 - 22181 Select org.make.api.proposal.BulkTagProposal.codec proposal.this.BulkTagProposal.codec
606 37270 22181 - 22181 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)
606 47680 22178 - 22178 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]
606 48221 22172 - 22952 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]).apply(((request: org.make.api.proposal.BulkTagProposal) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]).apply(((foundTags: Seq[org.make.core.tag.Tag]) => { org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*)); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))
606 34916 22172 - 22199 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec))))
607 35958 22231 - 22270 Apply org.make.api.tag.TagService.findByTagIds DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)
607 49299 22231 - 22282 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective
607 43802 22255 - 22269 Select org.make.api.proposal.BulkTagProposal.tagIds request.tagIds
607 35452 22231 - 22934 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Seq[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]).apply(((foundTags: Seq[org.make.core.tag.Tag]) => { org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*)); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))
607 41731 22271 - 22271 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]
608 50343 22358 - 22380 Apply scala.collection.IterableOps.map foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))
608 50052 22318 - 22690 Apply org.make.core.Validation.validate org.make.core.Validation.validate((request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String)))): _*))
608 36758 22338 - 22685 Apply scala.collection.IterableOps.map request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$23: org.make.core.tag.Tag) => x$23.tagId))).map[org.make.core.Requirement](((tagId: org.make.core.tag.TagId) => org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String))))
608 33321 22372 - 22379 Select org.make.core.tag.Tag.tagId x$23.tagId
609 43558 22419 - 22663 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String))
610 43239 22477 - 22484 Literal <nosymbol> "tagId"
611 34953 22516 - 22531 Literal <nosymbol> "invalid_value"
612 47719 22569 - 22574 Literal <nosymbol> false
617 43279 22711 - 22837 Apply org.make.api.proposal.ProposalService.addTagsToAll DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)
617 50094 22800 - 22820 Select org.make.core.auth.UserRights.userId userAuth.user.userId
617 33358 22784 - 22798 Select org.make.api.proposal.BulkTagProposal.tagIds request.tagIds
617 41489 22763 - 22782 Select org.make.api.proposal.BulkTagProposal.proposalIds request.proposalIds
618 35701 22711 - 22872 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective
618 48777 22861 - 22861 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]
619 41685 22911 - 22911 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))
619 43318 22711 - 22914 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$24: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))
619 36525 22911 - 22911 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]
619 49809 22911 - 22911 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])
619 34425 22911 - 22912 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))
619 43591 22911 - 22911 Select org.make.api.proposal.BulkActionResponse.codec proposal.this.BulkActionResponse.codec
619 50897 22902 - 22913 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))
630 43074 23084 - 23090 Select akka.http.scaladsl.server.directives.MethodDirectives.delete org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.delete
630 47458 23084 - 24138 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.delete).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkDeleteTagProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]).apply(((request: org.make.api.proposal.BulkDeleteTagProposal) => server.this.Directive.addDirectiveApply[(Option[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]).apply(((maybeTag: Option[org.make.core.tag.Tag]) => { org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))))))
631 39849 23112 - 23112 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
631 41479 23104 - 23133 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit])
631 36592 23128 - 23133 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag")
631 49591 23126 - 23126 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
631 34943 23104 - 23111 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
631 33615 23099 - 23134 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))
631 33399 23099 - 24132 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.path[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkDeleteTagProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]).apply(((request: org.make.api.proposal.BulkDeleteTagProposal) => server.this.Directive.addDirectiveApply[(Option[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]).apply(((maybeTag: Option[org.make.core.tag.Tag]) => { org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) })))))))))))
631 47981 23114 - 23125 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
632 41264 23145 - 24124 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("BulkDeleteTagProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]).apply(((request: org.make.api.proposal.BulkDeleteTagProposal) => server.this.Directive.addDirectiveApply[(Option[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]).apply(((maybeTag: Option[org.make.core.tag.Tag]) => { org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))))
632 43112 23145 - 23145 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
632 39885 23158 - 23158 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
632 51389 23159 - 23182 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "BulkDeleteTagProposal"
632 34710 23145 - 23145 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
632 48014 23145 - 23183 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("BulkDeleteTagProposal", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
633 49096 23214 - 23214 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
633 35733 23214 - 23224 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
633 49378 23214 - 24114 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]).apply(((request: org.make.api.proposal.BulkDeleteTagProposal) => server.this.Directive.addDirectiveApply[(Option[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]).apply(((maybeTag: Option[org.make.core.tag.Tag]) => { org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))
634 41242 23268 - 23281 Select scalaoauth2.provider.AuthInfo.user userAuth.user
634 34417 23251 - 23282 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
634 32344 23251 - 24102 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]).apply(((request: org.make.api.proposal.BulkDeleteTagProposal) => server.this.Directive.addDirectiveApply[(Option[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]).apply(((maybeTag: Option[org.make.core.tag.Tag]) => { org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))
635 46405 23299 - 23312 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultAdminProposalApi.this.decodeRequest
635 40162 23299 - 24088 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]).apply(((request: org.make.api.proposal.BulkDeleteTagProposal) => server.this.Directive.addDirectiveApply[(Option[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]).apply(((maybeTag: Option[org.make.core.tag.Tag]) => { org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) })))))
636 35773 23331 - 23364 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec))))
636 34744 23340 - 23340 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)
636 47759 23331 - 24072 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultAdminProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]).apply(((request: org.make.api.proposal.BulkDeleteTagProposal) => server.this.Directive.addDirectiveApply[(Option[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]).apply(((maybeTag: Option[org.make.core.tag.Tag]) => { org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))
636 42262 23340 - 23340 Select org.make.api.proposal.BulkDeleteTagProposal.codec proposal.this.BulkDeleteTagProposal.codec
636 40949 23338 - 23363 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultAdminProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))
636 49543 23337 - 23337 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]
636 47766 23340 - 23340 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultAdminProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec))
637 41273 23414 - 23427 Select org.make.api.proposal.BulkDeleteTagProposal.tagId request.tagId
637 35271 23396 - 24054 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[org.make.core.tag.Tag],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]).apply(((maybeTag: Option[org.make.core.tag.Tag]) => { org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))); server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))
637 47469 23396 - 23440 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective
637 43064 23429 - 23429 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]
637 33136 23396 - 23428 Apply org.make.api.tag.TagService.getTag DefaultAdminProposalApiComponent.this.tagService.getTag(request.tagId)
638 49583 23475 - 23807 Apply org.make.core.Validation.validate org.make.core.Validation.validate(org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String)))
639 33111 23518 - 23785 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))
640 35193 23576 - 23583 Literal <nosymbol> "tagId"
641 47806 23615 - 23630 Literal <nosymbol> "invalid_value"
642 39676 23668 - 23686 Select scala.Option.isDefined maybeTag.isDefined
647 42014 23884 - 23903 Select org.make.api.proposal.BulkDeleteTagProposal.proposalIds request.proposalIds
647 46197 23920 - 23940 Select org.make.core.auth.UserRights.userId userAuth.user.userId
647 34213 23905 - 23918 Select org.make.api.proposal.BulkDeleteTagProposal.tagId request.tagId
647 42814 23828 - 23957 Apply org.make.api.proposal.ProposalService.deleteTagFromAll DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)
648 35235 23828 - 23992 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective
648 48001 23981 - 23981 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]
649 33638 24031 - 24032 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))
649 49338 24031 - 24031 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])
649 47253 24022 - 24033 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))
649 42851 23828 - 24034 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkActionResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$25: org.make.api.proposal.BulkActionResponse) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$25)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))
649 41768 24031 - 24031 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultAdminProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))
649 32590 24031 - 24031 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]
649 40739 24031 - 24031 Select org.make.api.proposal.BulkActionResponse.codec proposal.this.BulkActionResponse.codec
659 35025 24207 - 24223 Apply org.make.core.question.QuestionId.apply org.make.core.question.QuestionId.apply(value)
659 38895 24195 - 24202 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.Segment
659 47796 24195 - 24224 Apply akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map org.make.api.proposal.defaultadminproposalapicomponenttest server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminProposalApi.this.Segment).map[org.make.core.question.QuestionId](((value: String) => org.make.core.question.QuestionId.apply(value)))
661 39931 24251 - 24291 Apply com.typesafe.config.Config.getString org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.config.getString("make-api.environment")
662 33099 24327 - 24373 Apply org.make.core.user.UserId.apply org.make.core.user.UserId.apply("98c4cc66-d0fd-466b-bf84-e345c1851fcb")
663 49417 24401 - 24447 Apply org.make.core.user.UserId.apply org.make.api.proposal.defaultadminproposalapicomponenttest org.make.core.user.UserId.apply("61568b62-2f92-4620-8408-0d22d9d263e2")
666 41032 24512 - 24516 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.post
666 40807 24512 - 26323 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this.path[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("submitted-as-language-patch-script"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.withRequestTimeout(scala.concurrent.duration.`package`.DurationInt(5).minutes)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("SubmittedAsLanguagePatchScript", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[Boolean],)](DefaultAdminProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultAdminProposalApi.this._string2NR("dry-run").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[Boolean]]).apply(((dryRun: Option[Boolean]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$27: Unit) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))))))
667 31816 24591 - 24591 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
667 41066 24525 - 24604 Apply akka.http.scaladsl.server.directives.PathDirectives.path DefaultAdminProposalApi.this.path[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("submitted-as-language-patch-script"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]))
667 33434 24530 - 24537 Literal <nosymbol> "admin"
667 40731 24593 - 24603 Select org.make.api.proposal.DefaultAdminProposalApiComponent.DefaultAdminProposalApi.questionId DefaultAdminProposalApi.this.questionId
667 39639 24538 - 24538 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P TupleOps.this.Join.join0P[Unit]
667 47205 24540 - 24551 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
667 33185 24529 - 24529 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
667 43918 24525 - 26317 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this.path[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("submitted-as-language-patch-script"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.withRequestTimeout(scala.concurrent.duration.`package`.DurationInt(5).minutes)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("SubmittedAsLanguagePatchScript", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[Boolean],)](DefaultAdminProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultAdminProposalApi.this._string2NR("dry-run").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[Boolean]]).apply(((dryRun: Option[Boolean]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$27: Unit) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
667 49875 24530 - 24603 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("submitted-as-language-patch-script"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.question.QuestionId,)](DefaultAdminProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])
667 34530 24554 - 24590 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher DefaultAdminProposalApi.this._segmentStringToPathMatcher("submitted-as-language-patch-script")
667 47551 24552 - 24552 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P TupleOps.this.Join.join0P[Unit]
668 38366 24648 - 24657 Select scala.concurrent.duration.DurationConversions.minutes scala.concurrent.duration.`package`.DurationInt(5).minutes
668 47244 24648 - 24649 Literal <nosymbol> 5
668 30855 24629 - 26309 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.withRequestTimeout(scala.concurrent.duration.`package`.DurationInt(5).minutes)).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("SubmittedAsLanguagePatchScript", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[Boolean],)](DefaultAdminProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultAdminProposalApi.this._string2NR("dry-run").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[Boolean]]).apply(((dryRun: Option[Boolean]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$27: Unit) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))
668 34978 24629 - 24658 Apply akka.http.scaladsl.server.directives.TimeoutDirectives.withRequestTimeout DefaultAdminProposalApi.this.withRequestTimeout(scala.concurrent.duration.`package`.DurationInt(5).minutes)
669 47589 24685 - 24717 Literal <nosymbol> "SubmittedAsLanguagePatchScript"
669 40486 24671 - 24671 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultAdminProposalApiComponent.this.makeOperation$default$2
669 32890 24671 - 24671 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultAdminProposalApiComponent.this.makeOperation$default$3
669 39011 24671 - 26299 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("SubmittedAsLanguagePatchScript", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[Boolean],)](DefaultAdminProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultAdminProposalApi.this._string2NR("dry-run").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[Boolean]]).apply(((dryRun: Option[Boolean]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$27: Unit) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))
669 41514 24684 - 24684 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
669 45664 24671 - 24718 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultAdminProposalApiComponent.this.makeOperation("SubmittedAsLanguagePatchScript", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
670 47284 24762 - 24785 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminProposalApi.this._string2NR("dry-run").as[Boolean].?
670 48046 24762 - 24785 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultAdminProposalApi.this._string2NR("dry-run").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))
670 32925 24761 - 24761 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[Boolean]]
670 40524 24751 - 24786 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters DefaultAdminProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultAdminProposalApi.this._string2NR("dry-run").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller)))
670 47285 24751 - 26287 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[Boolean],)](DefaultAdminProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultAdminProposalApi.this._string2NR("dry-run").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[Boolean]]).apply(((dryRun: Option[Boolean]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$27: Unit) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))
670 39428 24784 - 24784 Select akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.booleanFromStringUnmarshaller unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller
670 35017 24784 - 24784 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller)
670 34003 24762 - 24771 Literal <nosymbol> "dry-run"
672 41551 24828 - 24828 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
672 33506 24828 - 26273 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$27: Unit) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
672 45415 24828 - 24838 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultAdminProposalApiComponent.this.makeOAuth2
673 37379 24871 - 26255 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$27: Unit) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))
673 47035 24871 - 24902 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
673 33423 24888 - 24901 Select scalaoauth2.provider.AuthInfo.user userAuth.user
675 38931 24925 - 24987 Apply org.make.api.question.QuestionService.getQuestion DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)
676 31034 25024 - 25024 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
677 33464 24925 - 26140 ApplyToImplicitArgs scala.concurrent.Future.map org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)
677 37626 25091 - 25091 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
679 48086 25224 - 25249 Select cats.data.NonEmptyList.toList question.languages.toList
680 39951 25291 - 25319 Apply cats.syntax.EqOps.=== cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1)
681 45456 25395 - 25425 Select scala.Boolean.unary_! questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!
681 32670 25389 - 25393 Literal <nosymbol> true
681 41312 25362 - 25426 Apply scala.Option.fold p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!))
682 33174 25457 - 25478 Apply scala.Boolean.&& canPatch.&&(mustPatch)
682 31065 25480 - 25975 Block <nosymbol> { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } }
683 46473 25510 - 25587 Apply grizzled.slf4j.Logger.info DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String))
684 38680 25620 - 25642 Apply scala.Option.getOrElse dryRun.getOrElse[Boolean](true)
684 47576 25644 - 25655 Block scala.concurrent.Future.unit scala.concurrent.Future.unit
684 31077 25644 - 25655 Select scala.concurrent.Future.unit scala.concurrent.Future.unit
685 39213 25689 - 25947 Block <nosymbol> { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void }
686 30821 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$7 PatchProposalRequest.apply$default$7
686 45199 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$1 PatchProposalRequest.apply$default$1
686 46234 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$5 PatchProposalRequest.apply$default$5
686 39415 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$6 PatchProposalRequest.apply$default$6
686 34286 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$13 PatchProposalRequest.apply$default$13
686 39750 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$9 PatchProposalRequest.apply$default$9
686 37133 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$12 PatchProposalRequest.apply$default$12
686 32629 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$10 PatchProposalRequest.apply$default$10
686 31585 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$16 PatchProposalRequest.apply$default$16
686 33209 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$3 PatchProposalRequest.apply$default$3
686 41349 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$2 PatchProposalRequest.apply$default$2
686 48673 25733 - 25807 Apply org.make.api.proposal.PatchProposalRequest.apply PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16)
686 48640 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$8 PatchProposalRequest.apply$default$8
686 32879 25776 - 25806 Apply scala.Some.apply scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)
686 45951 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$11 PatchProposalRequest.apply$default$11
686 39177 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$15 PatchProposalRequest.apply$default$15
686 39715 25781 - 25805 Select org.make.core.question.Question.defaultLanguage question.defaultLanguage
686 47027 25733 - 25733 Select org.make.api.proposal.PatchProposalRequest.apply$default$14 PatchProposalRequest.apply$default$14
687 45986 25838 - 25912 Apply org.make.api.proposal.ProposalService.patchProposal DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch)
687 32662 25882 - 25888 Select org.make.api.proposal.DefaultAdminProposalApiComponent.DefaultAdminProposalApi.userId DefaultAdminProposalApi.this.userId
687 46784 25838 - 25917 Select cats.Functor.Ops.void cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void
687 40817 25868 - 25880 Select org.make.core.proposal.Proposal.proposalId p.proposalId
687 37584 25867 - 25867 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
687 34321 25867 - 25867 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
689 47831 25981 - 25992 Select scala.concurrent.Future.unit scala.concurrent.Future.unit
689 40299 25981 - 25992 Block scala.concurrent.Future.unit scala.concurrent.Future.unit
692 32427 26090 - 26098 Apply org.make.api.proposal.DefaultAdminProposalApiComponent.DefaultAdminProposalApi.modifyFn modifyFn(p)
692 45747 26044 - 26115 Apply org.make.api.proposal.ProposalService.modifyForQuestion DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext)
694 39251 26164 - 26164 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Unit]
694 46819 24925 - 26175 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective
695 44161 26231 - 26231 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
695 45231 24925 - 26235 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultAdminProposalApiComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((question: org.make.core.question.Question) => { def modifyFn(p: org.make.core.proposal.Proposal): scala.concurrent.Future[Unit] = { val questionLanguages: List[org.make.core.reference.Language] = question.languages.toList; val canPatch: Boolean = cats.implicits.catsSyntaxEq[Int](questionLanguages.size)(cats.implicits.catsKernelStdOrderForInt).===(1); val mustPatch: Boolean = p.submittedAsLanguage.fold[Boolean](true)(((x$26: org.make.core.reference.Language) => questionLanguages.contains[org.make.core.reference.Language](x$26).unary_!)); if (canPatch.&&(mustPatch)) { DefaultAdminProposalApiComponent.this.logger.info(("Patching ".+(p.proposalId).+(" from question ").+(question.questionId): String)); if (dryRun.getOrElse[Boolean](true)) scala.concurrent.Future.unit else { val patch: org.make.api.proposal.PatchProposalRequest = { <artifact> val x$1: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage); <artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$1; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$5; <artifact> val x$6: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.proposal.ProposalStatus] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$8; <artifact> val x$9: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$9; <artifact> val x$10: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$10; <artifact> val x$11: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$11; <artifact> val x$12: Option[org.make.api.proposal.PatchRequestContext] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$12; <artifact> val x$13: Option[org.make.core.idea.IdeaId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$13; <artifact> val x$14: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$14; <artifact> val x$15: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$15; <artifact> val x$16: Option[Seq[org.make.core.proposal.ProposalKeyword]] @scala.reflect.internal.annotations.uncheckedBounds = PatchProposalRequest.apply$default$16; PatchProposalRequest.apply(x$2, x$3, x$4, x$1, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16) }; cats.implicits.toFunctorOps[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]](DefaultAdminProposalApiComponent.this.proposalService.patchProposal(p.proposalId, DefaultAdminProposalApi.this.userId, requestContext, patch))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).void } } else scala.concurrent.Future.unit }; DefaultAdminProposalApiComponent.this.proposalService.modifyForQuestion(questionId, ((p: org.make.core.proposal.Proposal) => modifyFn(p)), requestContext) }))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$27: Unit) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
695 32461 26210 - 26234 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
695 40769 26219 - 26233 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
695 30815 26219 - 26233 Select akka.http.scaladsl.model.StatusCodes.OK akka.http.scaladsl.model.StatusCodes.OK
704 31891 26370 - 26373 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.get
704 32953 26370 - 26715 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("history"))(TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((id: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("GetProposalHistory", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$28: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalActionResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.proposalService.getHistory(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalActionResponse]]).apply(((x$29: Seq[org.make.api.proposal.ProposalActionResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalActionResponse]](x$29)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]]))))))))))))))
705 36096 26382 - 26709 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("history"))(TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((id: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("GetProposalHistory", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$28: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalActionResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.proposalService.getHistory(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalActionResponse]]).apply(((x$29: Seq[org.make.api.proposal.ProposalActionResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalActionResponse]](x$29)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]])))))))))))))
705 40845 26427 - 26427 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
705 30611 26429 - 26438 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("history")
705 37175 26386 - 26386 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
705 44986 26387 - 26394 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "admin"
705 43957 26427 - 26427 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
705 51206 26395 - 26395 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[Unit]
705 45736 26382 - 26439 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("history"))(TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
705 47324 26411 - 26426 Select org.make.api.proposal.DefaultAdminProposalApiComponent.DefaultAdminProposalApi.adminProposalId org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this.adminProposalId
705 32963 26387 - 26438 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultAdminProposalApi.this.adminProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultAdminProposalApi.this._segmentStringToPathMatcher("history"))(TupleOps.this.Join.join[(org.make.core.proposal.ProposalId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
705 37422 26397 - 26408 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApi.this._segmentStringToPathMatcher("proposals")
705 39204 26409 - 26409 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.defaultadminproposalapicomponenttest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
706 44461 26469 - 26469 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
706 43943 26456 - 26701 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminProposalApiComponent.this.makeOperation("GetProposalHistory", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$28: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalActionResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.proposalService.getHistory(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalActionResponse]]).apply(((x$29: Seq[org.make.api.proposal.ProposalActionResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalActionResponse]](x$29)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]])))))))))))
706 38966 26456 - 26456 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$3
706 31360 26456 - 26491 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation("GetProposalHistory", DefaultAdminProposalApiComponent.this.makeOperation$default$2, DefaultAdminProposalApiComponent.this.makeOperation$default$3)
706 47359 26456 - 26456 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOperation$default$2
706 51247 26470 - 26490 Literal <nosymbol> org.make.api.proposal.defaultadminproposalapicomponenttest "GetProposalHistory"
707 40596 26509 - 26519 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.defaultadminproposalapicomponenttest DefaultAdminProposalApiComponent.this.makeOAuth2
707 31149 26509 - 26691 Apply scala.Function1.apply org.make.api.proposal.defaultadminproposalapicomponenttest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalActionResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.proposalService.getHistory(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalActionResponse]]).apply(((x$29: Seq[org.make.api.proposal.ProposalActionResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalActionResponse]](x$29)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]])))))))))
707 32451 26509 - 26509 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.defaultadminproposalapicomponenttest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
708 38761 26546 - 26679 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalActionResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.proposalService.getHistory(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalActionResponse]]).apply(((x$29: Seq[org.make.api.proposal.ProposalActionResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalActionResponse]](x$29)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]])))))))
708 45495 26563 - 26576 Select scalaoauth2.provider.AuthInfo.user userAuth.user
708 37910 26546 - 26577 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminProposalApiComponent.this.requireAdminRole(userAuth.user)
709 37409 26662 - 26663 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalActionResponse]](x$29)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]])))
709 50690 26594 - 26624 Apply org.make.api.proposal.ProposalService.getHistory DefaultAdminProposalApiComponent.this.proposalService.getHistory(id)
709 45531 26662 - 26662 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]]))
709 47107 26594 - 26646 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.proposalService.getHistory(id)).asDirectiveOrNotFound
709 36349 26662 - 26662 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]]
709 32213 26662 - 26662 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]])
709 31115 26662 - 26662 Select org.make.api.proposal.ProposalActionResponse.codec proposal.this.ProposalActionResponse.codec
709 39004 26625 - 26625 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalActionResponse]]
709 47312 26594 - 26665 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Seq[org.make.api.proposal.ProposalActionResponse],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.proposalService.getHistory(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[Seq[org.make.api.proposal.ProposalActionResponse]]).apply(((x$29: Seq[org.make.api.proposal.ProposalActionResponse]) => DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalActionResponse]](x$29)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]]))))))
709 50443 26653 - 26664 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Seq[org.make.api.proposal.ProposalActionResponse]](x$29)(marshalling.this.Marshaller.liftMarshaller[Seq[org.make.api.proposal.ProposalActionResponse]](DefaultAdminProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalActionResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec), DefaultAdminProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalActionResponse]]))))
709 43908 26662 - 26662 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalActionResponse](proposal.this.ProposalActionResponse.codec)
722 45282 26894 - 26905 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec org.make.api.proposal.defaultadminproposalapicomponenttest io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.UpdateProposalVotesRequest]({ val inst$macro$8: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.UpdateProposalVotesRequest] = { final class anon$lazy$macro$7 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$7 = { anon$lazy$macro$7.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.UpdateProposalVotesRequest] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.UpdateProposalVotesRequest, shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.UpdateProposalVotesRequest, (Symbol @@ String("votes")) :: shapeless.HNil, Seq[org.make.api.proposal.UpdateVoteRequest] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.UpdateProposalVotesRequest, (Symbol @@ String("votes")) :: shapeless.HNil](::.apply[Symbol @@ String("votes"), shapeless.HNil.type](scala.Symbol.apply("votes").asInstanceOf[Symbol @@ String("votes")], HNil)), Generic.instance[org.make.api.proposal.UpdateProposalVotesRequest, Seq[org.make.api.proposal.UpdateVoteRequest] :: shapeless.HNil](((x0$3: org.make.api.proposal.UpdateProposalVotesRequest) => x0$3 match { case (votes: Seq[org.make.api.proposal.UpdateVoteRequest]): org.make.api.proposal.UpdateProposalVotesRequest((votes$macro$5 @ _)) => ::.apply[Seq[org.make.api.proposal.UpdateVoteRequest], shapeless.HNil.type](votes$macro$5, HNil).asInstanceOf[Seq[org.make.api.proposal.UpdateVoteRequest] :: shapeless.HNil] }), ((x0$4: Seq[org.make.api.proposal.UpdateVoteRequest] :: shapeless.HNil) => x0$4 match { case (head: Seq[org.make.api.proposal.UpdateVoteRequest], tail: shapeless.HNil): Seq[org.make.api.proposal.UpdateVoteRequest] :: shapeless.HNil((votes$macro$4 @ _), HNil) => proposal.this.UpdateProposalVotesRequest.apply(votes$macro$4) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("votes"), Seq[org.make.api.proposal.UpdateVoteRequest], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("votes")]](scala.Symbol.apply("votes").asInstanceOf[Symbol @@ String("votes")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("votes")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$7.this.inst$macro$6)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.UpdateProposalVotesRequest]]; <stable> <accessor> lazy val inst$macro$6: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForvotes: io.circe.Decoder[Seq[org.make.api.proposal.UpdateVoteRequest]] = circe.this.Decoder.decodeSeq[org.make.api.proposal.UpdateVoteRequest](proposal.this.UpdateVoteRequest.decoder); private[this] val circeGenericEncoderForvotes: io.circe.Encoder.AsArray[Seq[org.make.api.proposal.UpdateVoteRequest]] = circe.this.Encoder.encodeSeq[org.make.api.proposal.UpdateVoteRequest](proposal.this.UpdateVoteRequest.encoder); final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForvotes @ _), shapeless.HNil) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("votes", $anon.this.circeGenericEncoderForvotes.apply(circeGenericHListBindingForvotes)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("votes"), Seq[org.make.api.proposal.UpdateVoteRequest], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvotes.tryDecode(c.downField("votes")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("votes"), Seq[org.make.api.proposal.UpdateVoteRequest], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvotes.tryDecodeAccumulating(c.downField("votes")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.UpdateVoteRequest]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$7().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.UpdateProposalVotesRequest]](inst$macro$8) })
748 36653 27740 - 28305 Apply org.make.api.proposal.AdminProposalResponse.apply AdminProposalResponse.apply(proposal.id, AdminProposalResponse.this.Author.apply(proposal), proposal.contentGeneral, proposal.content, proposal.submittedAsLanguage, proposal.status, proposal.proposalType, proposal.tags, proposal.createdAt, proposal.agreementRate, AdminProposalResponse.this.Context.apply(proposal.context), proposal.votes.deprecatedVotesSeq.map[org.make.api.proposal.AdminProposalResponse.Vote](((vote: org.make.core.proposal.Vote) => AdminProposalResponse.this.Vote.apply(vote))), proposal.votesCount)
749 37170 27774 - 27785 Select org.make.core.proposal.indexed.IndexedProposal.id proposal.id
750 50482 27802 - 27818 Apply org.make.api.proposal.AdminProposalResponse.Author.apply AdminProposalResponse.this.Author.apply(proposal)
751 47062 27836 - 27859 Select org.make.core.proposal.indexed.IndexedProposal.contentGeneral proposal.contentGeneral
752 39489 27889 - 27905 Select org.make.core.proposal.indexed.IndexedProposal.content proposal.content
753 30642 27935 - 27963 Select org.make.core.proposal.indexed.IndexedProposal.submittedAsLanguage proposal.submittedAsLanguage
754 43695 27980 - 27995 Select org.make.core.proposal.indexed.IndexedProposal.status proposal.status
755 36894 28018 - 28039 Select org.make.core.proposal.indexed.IndexedProposal.proposalType proposal.proposalType
756 32699 28054 - 28067 Select org.make.core.proposal.indexed.IndexedProposal.tags proposal.tags
757 46025 28087 - 28105 Select org.make.core.proposal.indexed.IndexedProposal.createdAt proposal.createdAt
758 37203 28129 - 28151 Select org.make.core.proposal.indexed.IndexedProposal.agreementRate proposal.agreementRate
759 43417 28169 - 28194 Apply org.make.api.proposal.AdminProposalResponse.Context.apply AdminProposalResponse.this.Context.apply(proposal.context)
759 50237 28177 - 28193 Select org.make.core.proposal.indexed.IndexedProposal.context proposal.context
760 31103 28210 - 28259 Apply scala.collection.IterableOps.map proposal.votes.deprecatedVotesSeq.map[org.make.api.proposal.AdminProposalResponse.Vote](((vote: org.make.core.proposal.Vote) => AdminProposalResponse.this.Vote.apply(vote)))
760 39252 28248 - 28258 Apply org.make.api.proposal.AdminProposalResponse.Vote.apply AdminProposalResponse.this.Vote.apply(vote)
761 43730 28280 - 28299 Select org.make.core.proposal.indexed.IndexedProposal.votesCount proposal.votesCount
775 31138 28864 - 29144 Apply org.make.api.proposal.AdminProposalResponse.Author.apply AdminProposalResponse.this.Author.apply(proposal.author.userId, proposal.author.userType, proposal.author.displayName, proposal.author.postalCode, proposal.author.age, proposal.author.profession)
776 32741 28885 - 28907 Select org.make.core.proposal.indexed.IndexedAuthor.userId proposal.author.userId
777 45519 28928 - 28952 Select org.make.core.proposal.indexed.IndexedAuthor.userType proposal.author.userType
778 37660 28976 - 29003 Select org.make.core.proposal.indexed.IndexedAuthor.displayName proposal.author.displayName
779 50278 29026 - 29052 Select org.make.core.proposal.indexed.IndexedAuthor.postalCode proposal.author.postalCode
780 43169 29068 - 29087 Select org.make.core.proposal.indexed.IndexedAuthor.age proposal.author.age
781 39287 29110 - 29136 Select org.make.core.proposal.indexed.IndexedAuthor.profession proposal.author.profession
783 44194 29185 - 29196 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.AdminProposalResponse.Author]({ val inst$macro$28: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Author] = { final class anon$lazy$macro$27 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$27 = { anon$lazy$macro$27.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Author] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.AdminProposalResponse.Author, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.AdminProposalResponse.Author, (Symbol @@ String("id")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("displayName")) :: (Symbol @@ String("postalCode")) :: (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil, org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.AdminProposalResponse.Author, (Symbol @@ String("id")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("displayName")) :: (Symbol @@ String("postalCode")) :: (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("userType")) :: (Symbol @@ String("displayName")) :: (Symbol @@ String("postalCode")) :: (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("userType"), (Symbol @@ String("displayName")) :: (Symbol @@ String("postalCode")) :: (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil.type](scala.Symbol.apply("userType").asInstanceOf[Symbol @@ String("userType")], ::.apply[Symbol @@ String("displayName"), (Symbol @@ String("postalCode")) :: (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil.type](scala.Symbol.apply("displayName").asInstanceOf[Symbol @@ String("displayName")], ::.apply[Symbol @@ String("postalCode"), (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil.type](scala.Symbol.apply("postalCode").asInstanceOf[Symbol @@ String("postalCode")], ::.apply[Symbol @@ String("age"), (Symbol @@ String("profession")) :: shapeless.HNil.type](scala.Symbol.apply("age").asInstanceOf[Symbol @@ String("age")], ::.apply[Symbol @@ String("profession"), shapeless.HNil.type](scala.Symbol.apply("profession").asInstanceOf[Symbol @@ String("profession")], HNil))))))), Generic.instance[org.make.api.proposal.AdminProposalResponse.Author, org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil](((x0$3: org.make.api.proposal.AdminProposalResponse.Author) => x0$3 match { case (id: org.make.core.user.UserId, userType: org.make.core.user.UserType, displayName: Option[String], postalCode: Option[String], age: Option[Int], profession: Option[String]): org.make.api.proposal.AdminProposalResponse.Author((id$macro$20 @ _), (userType$macro$21 @ _), (displayName$macro$22 @ _), (postalCode$macro$23 @ _), (age$macro$24 @ _), (profession$macro$25 @ _)) => ::.apply[org.make.core.user.UserId, org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil.type](id$macro$20, ::.apply[org.make.core.user.UserType, Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil.type](userType$macro$21, ::.apply[Option[String], Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil.type](displayName$macro$22, ::.apply[Option[String], Option[Int] :: Option[String] :: shapeless.HNil.type](postalCode$macro$23, ::.apply[Option[Int], Option[String] :: shapeless.HNil.type](age$macro$24, ::.apply[Option[String], shapeless.HNil.type](profession$macro$25, HNil)))))).asInstanceOf[org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil] }), ((x0$4: org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil) => x0$4 match { case (head: org.make.core.user.UserId, tail: org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil): org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil((id$macro$14 @ _), (head: org.make.core.user.UserType, tail: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil): org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil((userType$macro$15 @ _), (head: Option[String], tail: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil): Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil((displayName$macro$16 @ _), (head: Option[String], tail: Option[Int] :: Option[String] :: shapeless.HNil): Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil((postalCode$macro$17 @ _), (head: Option[Int], tail: Option[String] :: shapeless.HNil): Option[Int] :: Option[String] :: shapeless.HNil((age$macro$18 @ _), (head: Option[String], tail: shapeless.HNil): Option[String] :: shapeless.HNil((profession$macro$19 @ _), HNil)))))) => AdminProposalResponse.this.Author.apply(id$macro$14, userType$macro$15, displayName$macro$16, postalCode$macro$17, age$macro$18, profession$macro$19) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.user.UserId, (Symbol @@ String("userType")) :: (Symbol @@ String("displayName")) :: (Symbol @@ String("postalCode")) :: (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil, org.make.core.user.UserType :: Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userType"), org.make.core.user.UserType, (Symbol @@ String("displayName")) :: (Symbol @@ String("postalCode")) :: (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("displayName"), Option[String], (Symbol @@ String("postalCode")) :: (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil, Option[String] :: Option[Int] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("postalCode"), Option[String], (Symbol @@ String("age")) :: (Symbol @@ String("profession")) :: shapeless.HNil, Option[Int] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("age"), Option[Int], (Symbol @@ String("profession")) :: shapeless.HNil, Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("profession"), Option[String], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("profession")]](scala.Symbol.apply("profession").asInstanceOf[Symbol @@ String("profession")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("profession")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("age")]](scala.Symbol.apply("age").asInstanceOf[Symbol @@ String("age")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("age")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("postalCode")]](scala.Symbol.apply("postalCode").asInstanceOf[Symbol @@ String("postalCode")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("postalCode")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("displayName")]](scala.Symbol.apply("displayName").asInstanceOf[Symbol @@ String("displayName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("displayName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userType")]](scala.Symbol.apply("userType").asInstanceOf[Symbol @@ String("userType")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userType")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$27.this.inst$macro$26)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Author]]; <stable> <accessor> lazy val inst$macro$26: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.user.UserId] = user.this.UserId.userIdDecoder; private[this] val circeGenericDecoderForuserType: io.circe.Decoder[org.make.core.user.UserType] = user.this.UserType.decoder(circe.this.Decoder.decodeString); private[this] val circeGenericDecoderForage: io.circe.Decoder[Option[Int]] = circe.this.Decoder.decodeOption[Int](circe.this.Decoder.decodeInt); private[this] val circeGenericDecoderForprofession: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString); private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.user.UserId] = AdminProposalResponse.this.stringValueEncoder[org.make.core.user.UserId]; private[this] val circeGenericEncoderForuserType: io.circe.Encoder[org.make.core.user.UserType] = user.this.UserType.encoder(circe.this.Encoder.encodeString); private[this] val circeGenericEncoderForage: io.circe.Encoder[Option[Int]] = circe.this.Encoder.encodeOption[Int](circe.this.Encoder.encodeInt); private[this] val circeGenericEncoderForprofession: io.circe.Encoder[Option[String]] = circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString); final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId], tail: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType], tail: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForuserType @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFordisplayName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForpostalCode @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]], tail: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForprofession @ _), shapeless.HNil)))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("userType", $anon.this.circeGenericEncoderForuserType.apply(circeGenericHListBindingForuserType)), scala.Tuple2.apply[String, io.circe.Json]("displayName", $anon.this.circeGenericEncoderForprofession.apply(circeGenericHListBindingFordisplayName)), scala.Tuple2.apply[String, io.circe.Json]("postalCode", $anon.this.circeGenericEncoderForprofession.apply(circeGenericHListBindingForpostalCode)), scala.Tuple2.apply[String, io.circe.Json]("age", $anon.this.circeGenericEncoderForage.apply(circeGenericHListBindingForage)), scala.Tuple2.apply[String, io.circe.Json]("profession", $anon.this.circeGenericEncoderForprofession.apply(circeGenericHListBindingForprofession)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("userType"), org.make.core.user.UserType, shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserType.tryDecode(c.downField("userType")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("displayName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForprofession.tryDecode(c.downField("displayName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("postalCode"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForprofession.tryDecode(c.downField("postalCode")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("age"), Option[Int], shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForage.tryDecode(c.downField("age")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("profession"), Option[String], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForprofession.tryDecode(c.downField("profession")), 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); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("userType"), org.make.core.user.UserType, shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserType.tryDecodeAccumulating(c.downField("userType")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("displayName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForprofession.tryDecodeAccumulating(c.downField("displayName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("postalCode"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForprofession.tryDecodeAccumulating(c.downField("postalCode")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("age"), Option[Int], shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForage.tryDecodeAccumulating(c.downField("age")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("profession"), Option[String], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForprofession.tryDecodeAccumulating(c.downField("profession")), 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) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("postalCode"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.labelled.FieldType[Symbol @@ String("profession"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$27().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Author]](inst$macro$28) })
797 37456 29783 - 30132 Apply org.make.api.proposal.AdminProposalResponse.Context.apply AdminProposalResponse.this.Context.apply(context.flatMap[String](((x$30: org.make.core.proposal.indexed.IndexedContext) => x$30.source)), context.flatMap[String](((x$31: org.make.core.proposal.indexed.IndexedContext) => x$31.questionSlug)), context.flatMap[org.make.core.reference.Country](((x$32: org.make.core.proposal.indexed.IndexedContext) => x$32.country)), context.flatMap[org.make.core.reference.Language](((x$33: org.make.core.proposal.indexed.IndexedContext) => x$33.questionLanguage)), context.flatMap[org.make.core.reference.Language](((x$34: org.make.core.proposal.indexed.IndexedContext) => x$34.proposalLanguage)), context.flatMap[org.make.core.reference.Language](((x$35: org.make.core.proposal.indexed.IndexedContext) => x$35.clientLanguage)))
798 49983 29809 - 29834 Apply scala.Option.flatMap context.flatMap[String](((x$30: org.make.core.proposal.indexed.IndexedContext) => x$30.source))
798 36692 29825 - 29833 Select org.make.core.proposal.indexed.IndexedContext.source x$30.source
799 37696 29859 - 29890 Apply scala.Option.flatMap context.flatMap[String](((x$31: org.make.core.proposal.indexed.IndexedContext) => x$31.questionSlug))
799 45269 29875 - 29889 Select org.make.core.proposal.indexed.IndexedContext.questionSlug x$31.questionSlug
800 50188 29926 - 29935 Select org.make.core.proposal.indexed.IndexedContext.country x$32.country
800 43208 29910 - 29936 Apply scala.Option.flatMap context.flatMap[org.make.core.reference.Country](((x$32: org.make.core.proposal.indexed.IndexedContext) => x$32.country))
801 30893 29965 - 30000 Apply scala.Option.flatMap context.flatMap[org.make.core.reference.Language](((x$33: org.make.core.proposal.indexed.IndexedContext) => x$33.questionLanguage))
801 38785 29981 - 29999 Select org.make.core.proposal.indexed.IndexedContext.questionLanguage x$33.questionLanguage
802 44229 30045 - 30063 Select org.make.core.proposal.indexed.IndexedContext.proposalLanguage x$34.proposalLanguage
802 35840 30029 - 30064 Apply scala.Option.flatMap context.flatMap[org.make.core.reference.Language](((x$34: org.make.core.proposal.indexed.IndexedContext) => x$34.proposalLanguage))
803 49736 30107 - 30123 Select org.make.core.proposal.indexed.IndexedContext.clientLanguage x$35.clientLanguage
803 45309 30091 - 30124 Apply scala.Option.flatMap context.flatMap[org.make.core.reference.Language](((x$35: org.make.core.proposal.indexed.IndexedContext) => x$35.clientLanguage))
805 50228 30174 - 30185 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.AdminProposalResponse.Context]({ val inst$macro$28: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Context] = { final class anon$lazy$macro$27 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$27 = { anon$lazy$macro$27.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Context] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.AdminProposalResponse.Context, shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.AdminProposalResponse.Context, (Symbol @@ String("source")) :: (Symbol @@ String("questionSlug")) :: (Symbol @@ String("country")) :: (Symbol @@ String("questionLanguage")) :: (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.AdminProposalResponse.Context, (Symbol @@ String("source")) :: (Symbol @@ String("questionSlug")) :: (Symbol @@ String("country")) :: (Symbol @@ String("questionLanguage")) :: (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil](::.apply[Symbol @@ String("source"), (Symbol @@ String("questionSlug")) :: (Symbol @@ String("country")) :: (Symbol @@ String("questionLanguage")) :: (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil.type](scala.Symbol.apply("source").asInstanceOf[Symbol @@ String("source")], ::.apply[Symbol @@ String("questionSlug"), (Symbol @@ String("country")) :: (Symbol @@ String("questionLanguage")) :: (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil.type](scala.Symbol.apply("questionSlug").asInstanceOf[Symbol @@ String("questionSlug")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("questionLanguage")) :: (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("questionLanguage"), (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil.type](scala.Symbol.apply("questionLanguage").asInstanceOf[Symbol @@ String("questionLanguage")], ::.apply[Symbol @@ String("proposalLanguage"), (Symbol @@ String("clientLanguage")) :: shapeless.HNil.type](scala.Symbol.apply("proposalLanguage").asInstanceOf[Symbol @@ String("proposalLanguage")], ::.apply[Symbol @@ String("clientLanguage"), shapeless.HNil.type](scala.Symbol.apply("clientLanguage").asInstanceOf[Symbol @@ String("clientLanguage")], HNil))))))), Generic.instance[org.make.api.proposal.AdminProposalResponse.Context, Option[String] :: Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil](((x0$3: org.make.api.proposal.AdminProposalResponse.Context) => x0$3 match { case (source: Option[String], questionSlug: Option[String], country: Option[org.make.core.reference.Country], questionLanguage: Option[org.make.core.reference.Language], proposalLanguage: Option[org.make.core.reference.Language], clientLanguage: Option[org.make.core.reference.Language]): org.make.api.proposal.AdminProposalResponse.Context((source$macro$20 @ _), (questionSlug$macro$21 @ _), (country$macro$22 @ _), (questionLanguage$macro$23 @ _), (proposalLanguage$macro$24 @ _), (clientLanguage$macro$25 @ _)) => ::.apply[Option[String], Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil.type](source$macro$20, ::.apply[Option[String], Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil.type](questionSlug$macro$21, ::.apply[Option[org.make.core.reference.Country], Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil.type](country$macro$22, ::.apply[Option[org.make.core.reference.Language], Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil.type](questionLanguage$macro$23, ::.apply[Option[org.make.core.reference.Language], Option[org.make.core.reference.Language] :: shapeless.HNil.type](proposalLanguage$macro$24, ::.apply[Option[org.make.core.reference.Language], shapeless.HNil.type](clientLanguage$macro$25, HNil)))))).asInstanceOf[Option[String] :: Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil] }), ((x0$4: Option[String] :: Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil) => x0$4 match { case (head: Option[String], tail: Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil): Option[String] :: Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil((source$macro$14 @ _), (head: Option[String], tail: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil): Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil((questionSlug$macro$15 @ _), (head: Option[org.make.core.reference.Country], tail: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil): Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil((country$macro$16 @ _), (head: Option[org.make.core.reference.Language], tail: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil): Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil((questionLanguage$macro$17 @ _), (head: Option[org.make.core.reference.Language], tail: Option[org.make.core.reference.Language] :: shapeless.HNil): Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil((proposalLanguage$macro$18 @ _), (head: Option[org.make.core.reference.Language], tail: shapeless.HNil): Option[org.make.core.reference.Language] :: shapeless.HNil((clientLanguage$macro$19 @ _), HNil)))))) => AdminProposalResponse.this.Context.apply(source$macro$14, questionSlug$macro$15, country$macro$16, questionLanguage$macro$17, proposalLanguage$macro$18, clientLanguage$macro$19) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("source"), Option[String], (Symbol @@ String("questionSlug")) :: (Symbol @@ String("country")) :: (Symbol @@ String("questionLanguage")) :: (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil, Option[String] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionSlug"), Option[String], (Symbol @@ String("country")) :: (Symbol @@ String("questionLanguage")) :: (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil, Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), Option[org.make.core.reference.Country], (Symbol @@ String("questionLanguage")) :: (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil, Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionLanguage"), Option[org.make.core.reference.Language], (Symbol @@ String("proposalLanguage")) :: (Symbol @@ String("clientLanguage")) :: shapeless.HNil, Option[org.make.core.reference.Language] :: Option[org.make.core.reference.Language] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("proposalLanguage"), Option[org.make.core.reference.Language], (Symbol @@ String("clientLanguage")) :: shapeless.HNil, Option[org.make.core.reference.Language] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("clientLanguage"), Option[org.make.core.reference.Language], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("clientLanguage")]](scala.Symbol.apply("clientLanguage").asInstanceOf[Symbol @@ String("clientLanguage")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("clientLanguage")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("proposalLanguage")]](scala.Symbol.apply("proposalLanguage").asInstanceOf[Symbol @@ String("proposalLanguage")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("proposalLanguage")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionLanguage")]](scala.Symbol.apply("questionLanguage").asInstanceOf[Symbol @@ String("questionLanguage")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionLanguage")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionSlug")]](scala.Symbol.apply("questionSlug").asInstanceOf[Symbol @@ String("questionSlug")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionSlug")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("source")]](scala.Symbol.apply("source").asInstanceOf[Symbol @@ String("source")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("source")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$27.this.inst$macro$26)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Context]]; <stable> <accessor> lazy val inst$macro$26: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForquestionSlug: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString); private[this] val circeGenericDecoderForcountry: io.circe.Decoder[Option[org.make.core.reference.Country]] = circe.this.Decoder.decodeOption[org.make.core.reference.Country](reference.this.Country.countryDecoder); private[this] val circeGenericDecoderForclientLanguage: io.circe.Decoder[Option[org.make.core.reference.Language]] = circe.this.Decoder.decodeOption[org.make.core.reference.Language](reference.this.Language.LanguageDecoder); private[this] val circeGenericEncoderForquestionSlug: io.circe.Encoder[Option[String]] = circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString); private[this] val circeGenericEncoderForcountry: io.circe.Encoder[Option[org.make.core.reference.Country]] = circe.this.Encoder.encodeOption[org.make.core.reference.Country](AdminProposalResponse.this.stringValueEncoder[org.make.core.reference.Country]); private[this] val circeGenericEncoderForclientLanguage: io.circe.Encoder[Option[org.make.core.reference.Language]] = circe.this.Encoder.encodeOption[org.make.core.reference.Language](AdminProposalResponse.this.stringValueEncoder[org.make.core.reference.Language]); final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForsource @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionSlug @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]], tail: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountry @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]], tail: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionLanguage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]], tail: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForproposalLanguage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForclientLanguage @ _), shapeless.HNil)))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("source", $anon.this.circeGenericEncoderForquestionSlug.apply(circeGenericHListBindingForsource)), scala.Tuple2.apply[String, io.circe.Json]("questionSlug", $anon.this.circeGenericEncoderForquestionSlug.apply(circeGenericHListBindingForquestionSlug)), scala.Tuple2.apply[String, io.circe.Json]("country", $anon.this.circeGenericEncoderForcountry.apply(circeGenericHListBindingForcountry)), scala.Tuple2.apply[String, io.circe.Json]("questionLanguage", $anon.this.circeGenericEncoderForclientLanguage.apply(circeGenericHListBindingForquestionLanguage)), scala.Tuple2.apply[String, io.circe.Json]("proposalLanguage", $anon.this.circeGenericEncoderForclientLanguage.apply(circeGenericHListBindingForproposalLanguage)), scala.Tuple2.apply[String, io.circe.Json]("clientLanguage", $anon.this.circeGenericEncoderForclientLanguage.apply(circeGenericHListBindingForclientLanguage)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("source"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionSlug.tryDecode(c.downField("source")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionSlug"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionSlug.tryDecode(c.downField("questionSlug")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("country"), Option[org.make.core.reference.Country], shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionLanguage"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForclientLanguage.tryDecode(c.downField("questionLanguage")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("proposalLanguage"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForclientLanguage.tryDecode(c.downField("proposalLanguage")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("clientLanguage"), Option[org.make.core.reference.Language], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForclientLanguage.tryDecode(c.downField("clientLanguage")), 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); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("source"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionSlug.tryDecodeAccumulating(c.downField("source")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionSlug"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionSlug.tryDecodeAccumulating(c.downField("questionSlug")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("country"), Option[org.make.core.reference.Country], shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionLanguage"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForclientLanguage.tryDecodeAccumulating(c.downField("questionLanguage")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("proposalLanguage"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForclientLanguage.tryDecodeAccumulating(c.downField("proposalLanguage")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("clientLanguage"), Option[org.make.core.reference.Language], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForclientLanguage.tryDecodeAccumulating(c.downField("clientLanguage")), 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) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("source"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("questionSlug"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("questionLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("proposalLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("clientLanguage"),Option[org.make.core.reference.Language]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$27().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Context]](inst$macro$28) })
817 30931 30559 - 30578 Apply org.make.api.proposal.AdminProposalResponse.Qualification.apply AdminProposalResponse.this.Qualification.apply(qualification)
817 38539 30506 - 30516 Select org.make.core.proposal.Vote.count vote.count
817 35880 30477 - 30580 Apply org.make.api.proposal.AdminProposalResponse.Vote.apply AdminProposalResponse.this.Vote.apply(vote.key, vote.count, vote.qualifications.map[org.make.api.proposal.AdminProposalResponse.Qualification](((qualification: org.make.core.proposal.Qualification) => AdminProposalResponse.this.Qualification.apply(qualification))))
817 44744 30535 - 30579 Apply scala.collection.IterableOps.map vote.qualifications.map[org.make.api.proposal.AdminProposalResponse.Qualification](((qualification: org.make.core.proposal.Qualification) => AdminProposalResponse.this.Qualification.apply(qualification)))
817 42641 30488 - 30496 Select org.make.core.proposal.Vote.key vote.key
818 49940 30619 - 30630 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.AdminProposalResponse.Vote]({ val inst$macro$16: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Vote] = { 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.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Vote] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.AdminProposalResponse.Vote, shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.AdminProposalResponse.Vote, (Symbol @@ String("key")) :: (Symbol @@ String("count")) :: (Symbol @@ String("qualifications")) :: shapeless.HNil, org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.AdminProposalResponse.Vote, (Symbol @@ String("key")) :: (Symbol @@ String("count")) :: (Symbol @@ String("qualifications")) :: shapeless.HNil](::.apply[Symbol @@ String("key"), (Symbol @@ String("count")) :: (Symbol @@ String("qualifications")) :: shapeless.HNil.type](scala.Symbol.apply("key").asInstanceOf[Symbol @@ String("key")], ::.apply[Symbol @@ String("count"), (Symbol @@ String("qualifications")) :: shapeless.HNil.type](scala.Symbol.apply("count").asInstanceOf[Symbol @@ String("count")], ::.apply[Symbol @@ String("qualifications"), shapeless.HNil.type](scala.Symbol.apply("qualifications").asInstanceOf[Symbol @@ String("qualifications")], HNil)))), Generic.instance[org.make.api.proposal.AdminProposalResponse.Vote, org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil](((x0$3: org.make.api.proposal.AdminProposalResponse.Vote) => x0$3 match { case (key: org.make.core.proposal.VoteKey, count: Int, qualifications: Seq[org.make.api.proposal.AdminProposalResponse.Qualification]): org.make.api.proposal.AdminProposalResponse.Vote((key$macro$11 @ _), (count$macro$12 @ _), (qualifications$macro$13 @ _)) => ::.apply[org.make.core.proposal.VoteKey, Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil.type](key$macro$11, ::.apply[Int, Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil.type](count$macro$12, ::.apply[Seq[org.make.api.proposal.AdminProposalResponse.Qualification], shapeless.HNil.type](qualifications$macro$13, HNil))).asInstanceOf[org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil] }), ((x0$4: org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil) => x0$4 match { case (head: org.make.core.proposal.VoteKey, tail: Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil): org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil((key$macro$8 @ _), (head: Int, tail: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil): Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil((count$macro$9 @ _), (head: Seq[org.make.api.proposal.AdminProposalResponse.Qualification], tail: shapeless.HNil): Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil((qualifications$macro$10 @ _), HNil))) => AdminProposalResponse.this.Vote.apply(key$macro$8, count$macro$9, qualifications$macro$10) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("key"), org.make.core.proposal.VoteKey, (Symbol @@ String("count")) :: (Symbol @@ String("qualifications")) :: shapeless.HNil, Int :: Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("count"), Int, (Symbol @@ String("qualifications")) :: shapeless.HNil, Seq[org.make.api.proposal.AdminProposalResponse.Qualification] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("qualifications"), Seq[org.make.api.proposal.AdminProposalResponse.Qualification], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("qualifications")]](scala.Symbol.apply("qualifications").asInstanceOf[Symbol @@ String("qualifications")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("qualifications")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("count")]](scala.Symbol.apply("count").asInstanceOf[Symbol @@ String("count")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("count")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("key")]](scala.Symbol.apply("key").asInstanceOf[Symbol @@ String("key")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("key")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Vote]]; <stable> <accessor> lazy val inst$macro$14: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForkey: io.circe.Decoder[org.make.core.proposal.VoteKey] = proposal.this.VoteKey.circeDecoder; private[this] val circeGenericDecoderForcount: io.circe.Decoder[Int] = circe.this.Decoder.decodeInt; private[this] val circeGenericDecoderForqualifications: io.circe.Decoder[Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] = circe.this.Decoder.decodeSeq[org.make.api.proposal.AdminProposalResponse.Qualification](AdminProposalResponse.this.Qualification.codec); private[this] val circeGenericEncoderForkey: io.circe.Encoder[org.make.core.proposal.VoteKey] = proposal.this.VoteKey.circeEncoder; private[this] val circeGenericEncoderForcount: io.circe.Encoder[Int] = circe.this.Encoder.encodeInt; private[this] val circeGenericEncoderForqualifications: io.circe.Encoder.AsArray[Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] = circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse.Qualification](AdminProposalResponse.this.Qualification.codec); final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey], tail: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForkey @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("count"),Int], tail: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcount @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForqualifications @ _), shapeless.HNil))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("key", $anon.this.circeGenericEncoderForkey.apply(circeGenericHListBindingForkey)), scala.Tuple2.apply[String, io.circe.Json]("count", $anon.this.circeGenericEncoderForcount.apply(circeGenericHListBindingForcount)), scala.Tuple2.apply[String, io.circe.Json]("qualifications", $anon.this.circeGenericEncoderForqualifications.apply(circeGenericHListBindingForqualifications)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("key"), org.make.core.proposal.VoteKey, shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForkey.tryDecode(c.downField("key")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("count"), Int, shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcount.tryDecode(c.downField("count")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("qualifications"), Seq[org.make.api.proposal.AdminProposalResponse.Qualification], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForqualifications.tryDecode(c.downField("qualifications")), 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("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("key"), org.make.core.proposal.VoteKey, shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForkey.tryDecodeAccumulating(c.downField("key")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("count"), Int, shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcount.tryDecodeAccumulating(c.downField("count")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("qualifications"), Seq[org.make.api.proposal.AdminProposalResponse.Qualification], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForqualifications.tryDecodeAccumulating(c.downField("qualifications")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.VoteKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.AdminProposalResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$15().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Vote]](inst$macro$16) })
833 37491 31016 - 31035 Select org.make.core.proposal.Qualification.count qualification.count
833 50266 30969 - 31036 Apply org.make.api.proposal.AdminProposalResponse.Qualification.apply AdminProposalResponse.this.Qualification.apply(qualification.key, qualification.count)
833 45065 30989 - 31006 Select org.make.core.proposal.Qualification.key qualification.key
834 42398 31084 - 31095 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.AdminProposalResponse.Qualification]({ val inst$macro$12: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Qualification] = { 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.api.proposal.AdminProposalResponse.Qualification] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.AdminProposalResponse.Qualification, shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.AdminProposalResponse.Qualification, (Symbol @@ String("key")) :: (Symbol @@ String("count")) :: shapeless.HNil, org.make.core.proposal.QualificationKey :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.AdminProposalResponse.Qualification, (Symbol @@ String("key")) :: (Symbol @@ String("count")) :: shapeless.HNil](::.apply[Symbol @@ String("key"), (Symbol @@ String("count")) :: shapeless.HNil.type](scala.Symbol.apply("key").asInstanceOf[Symbol @@ String("key")], ::.apply[Symbol @@ String("count"), shapeless.HNil.type](scala.Symbol.apply("count").asInstanceOf[Symbol @@ String("count")], HNil))), Generic.instance[org.make.api.proposal.AdminProposalResponse.Qualification, org.make.core.proposal.QualificationKey :: Int :: shapeless.HNil](((x0$3: org.make.api.proposal.AdminProposalResponse.Qualification) => x0$3 match { case (key: org.make.core.proposal.QualificationKey, count: Int): org.make.api.proposal.AdminProposalResponse.Qualification((key$macro$8 @ _), (count$macro$9 @ _)) => ::.apply[org.make.core.proposal.QualificationKey, Int :: shapeless.HNil.type](key$macro$8, ::.apply[Int, shapeless.HNil.type](count$macro$9, HNil)).asInstanceOf[org.make.core.proposal.QualificationKey :: Int :: shapeless.HNil] }), ((x0$4: org.make.core.proposal.QualificationKey :: Int :: shapeless.HNil) => x0$4 match { case (head: org.make.core.proposal.QualificationKey, tail: Int :: shapeless.HNil): org.make.core.proposal.QualificationKey :: Int :: shapeless.HNil((key$macro$6 @ _), (head: Int, tail: shapeless.HNil): Int :: shapeless.HNil((count$macro$7 @ _), HNil)) => AdminProposalResponse.this.Qualification.apply(key$macro$6, count$macro$7) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("key"), org.make.core.proposal.QualificationKey, (Symbol @@ String("count")) :: shapeless.HNil, Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("count"), Int, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("count")]](scala.Symbol.apply("count").asInstanceOf[Symbol @@ String("count")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("count")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("key")]](scala.Symbol.apply("key").asInstanceOf[Symbol @@ String("key")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("key")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Qualification]]; <stable> <accessor> lazy val inst$macro$10: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForkey: io.circe.Decoder[org.make.core.proposal.QualificationKey] = proposal.this.QualificationKey.circeDecoder; private[this] val circeGenericDecoderForcount: io.circe.Decoder[Int] = circe.this.Decoder.decodeInt; private[this] val circeGenericEncoderForkey: io.circe.Encoder[org.make.core.proposal.QualificationKey] = proposal.this.QualificationKey.circeEncoder; private[this] val circeGenericEncoderForcount: io.circe.Encoder[Int] = circe.this.Encoder.encodeInt; final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey], tail: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForkey @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("count"),Int], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcount @ _), shapeless.HNil)) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("key", $anon.this.circeGenericEncoderForkey.apply(circeGenericHListBindingForkey)), scala.Tuple2.apply[String, io.circe.Json]("count", $anon.this.circeGenericEncoderForcount.apply(circeGenericHListBindingForcount)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("key"), org.make.core.proposal.QualificationKey, shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForkey.tryDecode(c.downField("key")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("count"), Int, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcount.tryDecode(c.downField("count")), 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("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("key"), org.make.core.proposal.QualificationKey, shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForkey.tryDecodeAccumulating(c.downField("key")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("count"), Int, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcount.tryDecodeAccumulating(c.downField("count")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("key"),org.make.core.proposal.QualificationKey] :: shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$11().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse.Qualification]](inst$macro$12) })
837 35586 31154 - 31165 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.AdminProposalResponse]({ val inst$macro$56: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse] = { final class anon$lazy$macro$55 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$55 = { anon$lazy$macro$55.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.AdminProposalResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.AdminProposalResponse, (Symbol @@ String("id")) :: (Symbol @@ String("author")) :: (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, org.make.core.proposal.ProposalId :: org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.AdminProposalResponse, (Symbol @@ String("id")) :: (Symbol @@ String("author")) :: (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("author")) :: (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("author"), (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("author").asInstanceOf[Symbol @@ String("author")], ::.apply[Symbol @@ String("content"), (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("content").asInstanceOf[Symbol @@ String("content")], ::.apply[Symbol @@ String("contentTranslations"), (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("contentTranslations").asInstanceOf[Symbol @@ String("contentTranslations")], ::.apply[Symbol @@ String("submittedAsLanguage"), (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("submittedAsLanguage").asInstanceOf[Symbol @@ String("submittedAsLanguage")], ::.apply[Symbol @@ String("status"), (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")], ::.apply[Symbol @@ String("proposalType"), (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("proposalType").asInstanceOf[Symbol @@ String("proposalType")], ::.apply[Symbol @@ String("tags"), (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("tags").asInstanceOf[Symbol @@ String("tags")], ::.apply[Symbol @@ String("createdAt"), (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("createdAt").asInstanceOf[Symbol @@ String("createdAt")], ::.apply[Symbol @@ String("agreementRate"), (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("agreementRate").asInstanceOf[Symbol @@ String("agreementRate")], ::.apply[Symbol @@ String("context"), (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("context").asInstanceOf[Symbol @@ String("context")], ::.apply[Symbol @@ String("votes"), (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("votes").asInstanceOf[Symbol @@ String("votes")], ::.apply[Symbol @@ String("votesCount"), shapeless.HNil.type](scala.Symbol.apply("votesCount").asInstanceOf[Symbol @@ String("votesCount")], HNil)))))))))))))), Generic.instance[org.make.api.proposal.AdminProposalResponse, org.make.core.proposal.ProposalId :: org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil](((x0$3: org.make.api.proposal.AdminProposalResponse) => x0$3 match { case (id: org.make.core.proposal.ProposalId, author: org.make.api.proposal.AdminProposalResponse.Author, content: String, contentTranslations: org.make.core.technical.Multilingual[String], submittedAsLanguage: Option[org.make.core.reference.Language], status: org.make.core.proposal.ProposalStatus, proposalType: org.make.core.proposal.ProposalType, tags: Seq[org.make.core.proposal.indexed.IndexedTag], createdAt: java.time.ZonedDateTime, agreementRate: Double, context: org.make.api.proposal.AdminProposalResponse.Context, votes: Seq[org.make.api.proposal.AdminProposalResponse.Vote], votesCount: Int): org.make.api.proposal.AdminProposalResponse((id$macro$41 @ _), (author$macro$42 @ _), (content$macro$43 @ _), (contentTranslations$macro$44 @ _), (submittedAsLanguage$macro$45 @ _), (status$macro$46 @ _), (proposalType$macro$47 @ _), (tags$macro$48 @ _), (createdAt$macro$49 @ _), (agreementRate$macro$50 @ _), (context$macro$51 @ _), (votes$macro$52 @ _), (votesCount$macro$53 @ _)) => ::.apply[org.make.core.proposal.ProposalId, org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](id$macro$41, ::.apply[org.make.api.proposal.AdminProposalResponse.Author, String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](author$macro$42, ::.apply[String, org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](content$macro$43, ::.apply[org.make.core.technical.Multilingual[String], Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](contentTranslations$macro$44, ::.apply[Option[org.make.core.reference.Language], org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](submittedAsLanguage$macro$45, ::.apply[org.make.core.proposal.ProposalStatus, org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](status$macro$46, ::.apply[org.make.core.proposal.ProposalType, Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](proposalType$macro$47, ::.apply[Seq[org.make.core.proposal.indexed.IndexedTag], java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](tags$macro$48, ::.apply[java.time.ZonedDateTime, Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](createdAt$macro$49, ::.apply[Double, org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](agreementRate$macro$50, ::.apply[org.make.api.proposal.AdminProposalResponse.Context, Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil.type](context$macro$51, ::.apply[Seq[org.make.api.proposal.AdminProposalResponse.Vote], Int :: shapeless.HNil.type](votes$macro$52, ::.apply[Int, shapeless.HNil.type](votesCount$macro$53, HNil))))))))))))).asInstanceOf[org.make.core.proposal.ProposalId :: org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil] }), ((x0$4: org.make.core.proposal.ProposalId :: org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil) => x0$4 match { case (head: org.make.core.proposal.ProposalId, tail: org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): org.make.core.proposal.ProposalId :: org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((id$macro$28 @ _), (head: org.make.api.proposal.AdminProposalResponse.Author, tail: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((author$macro$29 @ _), (head: String, tail: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((content$macro$30 @ _), (head: org.make.core.technical.Multilingual[String], tail: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((contentTranslations$macro$31 @ _), (head: Option[org.make.core.reference.Language], tail: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((submittedAsLanguage$macro$32 @ _), (head: org.make.core.proposal.ProposalStatus, tail: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((status$macro$33 @ _), (head: org.make.core.proposal.ProposalType, tail: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((proposalType$macro$34 @ _), (head: Seq[org.make.core.proposal.indexed.IndexedTag], tail: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((tags$macro$35 @ _), (head: java.time.ZonedDateTime, tail: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((createdAt$macro$36 @ _), (head: Double, tail: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((agreementRate$macro$37 @ _), (head: org.make.api.proposal.AdminProposalResponse.Context, tail: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil): org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((context$macro$38 @ _), (head: Seq[org.make.api.proposal.AdminProposalResponse.Vote], tail: Int :: shapeless.HNil): Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil((votes$macro$39 @ _), (head: Int, tail: shapeless.HNil): Int :: shapeless.HNil((votesCount$macro$40 @ _), HNil))))))))))))) => proposal.this.AdminProposalResponse.apply(id$macro$28, author$macro$29, content$macro$30, contentTranslations$macro$31, submittedAsLanguage$macro$32, status$macro$33, proposalType$macro$34, tags$macro$35, createdAt$macro$36, agreementRate$macro$37, context$macro$38, votes$macro$39, votesCount$macro$40) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.proposal.ProposalId, (Symbol @@ String("author")) :: (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, org.make.api.proposal.AdminProposalResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("author"), org.make.api.proposal.AdminProposalResponse.Author, (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("content"), String, (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("contentTranslations"), org.make.core.technical.Multilingual[String], (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("submittedAsLanguage"), Option[org.make.core.reference.Language], (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("status"), org.make.core.proposal.ProposalStatus, (Symbol @@ String("proposalType")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, org.make.core.proposal.ProposalType :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("proposalType"), org.make.core.proposal.ProposalType, (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("tags"), Seq[org.make.core.proposal.indexed.IndexedTag], (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, java.time.ZonedDateTime :: Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("createdAt"), java.time.ZonedDateTime, (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, Double :: org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("agreementRate"), Double, (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, org.make.api.proposal.AdminProposalResponse.Context :: Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("context"), org.make.api.proposal.AdminProposalResponse.Context, (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, Seq[org.make.api.proposal.AdminProposalResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("votes"), Seq[org.make.api.proposal.AdminProposalResponse.Vote], (Symbol @@ String("votesCount")) :: shapeless.HNil, Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("votesCount"), Int, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("votesCount")]](scala.Symbol.apply("votesCount").asInstanceOf[Symbol @@ String("votesCount")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("votesCount")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("votes")]](scala.Symbol.apply("votes").asInstanceOf[Symbol @@ String("votes")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("votes")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("context")]](scala.Symbol.apply("context").asInstanceOf[Symbol @@ String("context")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("context")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("agreementRate")]](scala.Symbol.apply("agreementRate").asInstanceOf[Symbol @@ String("agreementRate")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("agreementRate")]])), 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("tags")]](scala.Symbol.apply("tags").asInstanceOf[Symbol @@ String("tags")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("tags")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("proposalType")]](scala.Symbol.apply("proposalType").asInstanceOf[Symbol @@ String("proposalType")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("proposalType")]])), 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("submittedAsLanguage")]](scala.Symbol.apply("submittedAsLanguage").asInstanceOf[Symbol @@ String("submittedAsLanguage")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("submittedAsLanguage")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("contentTranslations")]](scala.Symbol.apply("contentTranslations").asInstanceOf[Symbol @@ String("contentTranslations")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("contentTranslations")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("content")]](scala.Symbol.apply("content").asInstanceOf[Symbol @@ String("content")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("content")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("author")]](scala.Symbol.apply("author").asInstanceOf[Symbol @@ String("author")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("author")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$55.this.inst$macro$54)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse]]; <stable> <accessor> lazy val inst$macro$54: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.proposal.ProposalId] = proposal.this.ProposalId.proposalIdDecoder; private[this] val circeGenericDecoderForauthor: io.circe.Codec[org.make.api.proposal.AdminProposalResponse.Author] = AdminProposalResponse.this.Author.codec; private[this] val circeGenericDecoderForcontent: io.circe.Decoder[String] = circe.this.Decoder.decodeString; private[this] val circeGenericDecoderForcontentTranslations: io.circe.Decoder[org.make.core.technical.Multilingual[String]] = technical.this.Multilingual.circeDecoder[String](circe.this.Decoder.decodeString); private[this] val circeGenericDecoderForsubmittedAsLanguage: io.circe.Decoder[Option[org.make.core.reference.Language]] = circe.this.Decoder.decodeOption[org.make.core.reference.Language](reference.this.Language.LanguageDecoder); private[this] val circeGenericDecoderForstatus: io.circe.Decoder[org.make.core.proposal.ProposalStatus] = proposal.this.ProposalStatus.circeDecoder; private[this] val circeGenericDecoderForproposalType: io.circe.Decoder[org.make.core.proposal.ProposalType] = proposal.this.ProposalType.circeDecoder; private[this] val circeGenericDecoderFortags: io.circe.Decoder[Seq[org.make.core.proposal.indexed.IndexedTag]] = circe.this.Decoder.decodeSeq[org.make.core.proposal.indexed.IndexedTag](indexed.this.IndexedTag.circeCodec); private[this] val circeGenericDecoderForcreatedAt: io.circe.Decoder[java.time.ZonedDateTime] = AdminProposalResponse.this.zonedDateTimeDecoder; private[this] val circeGenericDecoderForagreementRate: io.circe.Decoder[Double] = circe.this.Decoder.decodeDouble; private[this] val circeGenericDecoderForcontext: io.circe.Codec[org.make.api.proposal.AdminProposalResponse.Context] = AdminProposalResponse.this.Context.codec; private[this] val circeGenericDecoderForvotes: io.circe.Decoder[Seq[org.make.api.proposal.AdminProposalResponse.Vote]] = circe.this.Decoder.decodeSeq[org.make.api.proposal.AdminProposalResponse.Vote](AdminProposalResponse.this.Vote.codec); private[this] val circeGenericDecoderForvotesCount: io.circe.Decoder[Int] = circe.this.Decoder.decodeInt; private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.proposal.ProposalId] = AdminProposalResponse.this.stringValueEncoder[org.make.core.proposal.ProposalId]; private[this] val circeGenericEncoderForauthor: io.circe.Codec[org.make.api.proposal.AdminProposalResponse.Author] = AdminProposalResponse.this.Author.codec; private[this] val circeGenericEncoderForcontent: io.circe.Encoder[String] = circe.this.Encoder.encodeString; private[this] val circeGenericEncoderForcontentTranslations: io.circe.Encoder[org.make.core.technical.Multilingual[String]] = technical.this.Multilingual.circeEncoder[String](circe.this.Encoder.encodeString); private[this] val circeGenericEncoderForsubmittedAsLanguage: io.circe.Encoder[Option[org.make.core.reference.Language]] = circe.this.Encoder.encodeOption[org.make.core.reference.Language](AdminProposalResponse.this.stringValueEncoder[org.make.core.reference.Language]); private[this] val circeGenericEncoderForstatus: io.circe.Encoder[org.make.core.proposal.ProposalStatus] = proposal.this.ProposalStatus.circeEncoder; private[this] val circeGenericEncoderForproposalType: io.circe.Encoder[org.make.core.proposal.ProposalType] = proposal.this.ProposalType.circeEncoder; private[this] val circeGenericEncoderFortags: io.circe.Encoder.AsArray[Seq[org.make.core.proposal.indexed.IndexedTag]] = circe.this.Encoder.encodeSeq[org.make.core.proposal.indexed.IndexedTag](indexed.this.IndexedTag.circeCodec); private[this] val circeGenericEncoderForcreatedAt: io.circe.Encoder[java.time.ZonedDateTime] = AdminProposalResponse.this.zonedDateTimeEncoder; private[this] val circeGenericEncoderForagreementRate: io.circe.Encoder[Double] = circe.this.Encoder.encodeDouble; private[this] val circeGenericEncoderForcontext: io.circe.Codec[org.make.api.proposal.AdminProposalResponse.Context] = AdminProposalResponse.this.Context.codec; private[this] val circeGenericEncoderForvotes: io.circe.Encoder.AsArray[Seq[org.make.api.proposal.AdminProposalResponse.Vote]] = circe.this.Encoder.encodeSeq[org.make.api.proposal.AdminProposalResponse.Vote](AdminProposalResponse.this.Vote.codec); private[this] val circeGenericEncoderForvotesCount: io.circe.Encoder[Int] = circe.this.Encoder.encodeInt; final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId], tail: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author], tail: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForauthor @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("content"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcontent @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcontentTranslations @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]], tail: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForsubmittedAsLanguage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus], tail: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForstatus @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType], tail: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForproposalType @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]], tail: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFortags @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime], tail: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcreatedAt @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double], tail: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForagreementRate @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context], tail: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcontext @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]], tail: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForvotes @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForvotesCount @ _), shapeless.HNil))))))))))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("author", $anon.this.circeGenericEncoderForauthor.apply(circeGenericHListBindingForauthor)), scala.Tuple2.apply[String, io.circe.Json]("content", $anon.this.circeGenericEncoderForcontent.apply(circeGenericHListBindingForcontent)), scala.Tuple2.apply[String, io.circe.Json]("contentTranslations", $anon.this.circeGenericEncoderForcontentTranslations.apply(circeGenericHListBindingForcontentTranslations)), scala.Tuple2.apply[String, io.circe.Json]("submittedAsLanguage", $anon.this.circeGenericEncoderForsubmittedAsLanguage.apply(circeGenericHListBindingForsubmittedAsLanguage)), scala.Tuple2.apply[String, io.circe.Json]("status", $anon.this.circeGenericEncoderForstatus.apply(circeGenericHListBindingForstatus)), scala.Tuple2.apply[String, io.circe.Json]("proposalType", $anon.this.circeGenericEncoderForproposalType.apply(circeGenericHListBindingForproposalType)), scala.Tuple2.apply[String, io.circe.Json]("tags", $anon.this.circeGenericEncoderFortags.apply(circeGenericHListBindingFortags)), scala.Tuple2.apply[String, io.circe.Json]("createdAt", $anon.this.circeGenericEncoderForcreatedAt.apply(circeGenericHListBindingForcreatedAt)), scala.Tuple2.apply[String, io.circe.Json]("agreementRate", $anon.this.circeGenericEncoderForagreementRate.apply(circeGenericHListBindingForagreementRate)), scala.Tuple2.apply[String, io.circe.Json]("context", $anon.this.circeGenericEncoderForcontext.apply(circeGenericHListBindingForcontext)), scala.Tuple2.apply[String, io.circe.Json]("votes", $anon.this.circeGenericEncoderForvotes.apply(circeGenericHListBindingForvotes)), scala.Tuple2.apply[String, io.circe.Json]("votesCount", $anon.this.circeGenericEncoderForvotesCount.apply(circeGenericHListBindingForvotesCount)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.proposal.ProposalId, shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("author"), org.make.api.proposal.AdminProposalResponse.Author, shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForauthor.tryDecode(c.downField("author")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("content"), String, shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcontent.tryDecode(c.downField("content")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("contentTranslations"), org.make.core.technical.Multilingual[String], shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcontentTranslations.tryDecode(c.downField("contentTranslations")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("submittedAsLanguage"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsubmittedAsLanguage.tryDecode(c.downField("submittedAsLanguage")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("status"), org.make.core.proposal.ProposalStatus, shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForstatus.tryDecode(c.downField("status")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("proposalType"), org.make.core.proposal.ProposalType, shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposalType.tryDecode(c.downField("proposalType")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("tags"), Seq[org.make.core.proposal.indexed.IndexedTag], shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortags.tryDecode(c.downField("tags")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("createdAt"), java.time.ZonedDateTime, shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcreatedAt.tryDecode(c.downField("createdAt")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("agreementRate"), Double, shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForagreementRate.tryDecode(c.downField("agreementRate")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("context"), org.make.api.proposal.AdminProposalResponse.Context, shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcontext.tryDecode(c.downField("context")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("votes"), Seq[org.make.api.proposal.AdminProposalResponse.Vote], shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvotes.tryDecode(c.downField("votes")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("votesCount"), Int, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvotesCount.tryDecode(c.downField("votesCount")), 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))(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("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.proposal.ProposalId, shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("author"), org.make.api.proposal.AdminProposalResponse.Author, shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForauthor.tryDecodeAccumulating(c.downField("author")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("content"), String, shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcontent.tryDecodeAccumulating(c.downField("content")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("contentTranslations"), org.make.core.technical.Multilingual[String], shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcontentTranslations.tryDecodeAccumulating(c.downField("contentTranslations")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("submittedAsLanguage"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsubmittedAsLanguage.tryDecodeAccumulating(c.downField("submittedAsLanguage")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("status"), org.make.core.proposal.ProposalStatus, shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForstatus.tryDecodeAccumulating(c.downField("status")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("proposalType"), org.make.core.proposal.ProposalType, shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForproposalType.tryDecodeAccumulating(c.downField("proposalType")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("tags"), Seq[org.make.core.proposal.indexed.IndexedTag], shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortags.tryDecodeAccumulating(c.downField("tags")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("createdAt"), java.time.ZonedDateTime, shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcreatedAt.tryDecodeAccumulating(c.downField("createdAt")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("agreementRate"), Double, shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForagreementRate.tryDecodeAccumulating(c.downField("agreementRate")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("context"), org.make.api.proposal.AdminProposalResponse.Context, shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcontext.tryDecodeAccumulating(c.downField("context")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("votes"), Seq[org.make.api.proposal.AdminProposalResponse.Vote], shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvotes.tryDecodeAccumulating(c.downField("votes")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("votesCount"), Int, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForvotesCount.tryDecodeAccumulating(c.downField("votesCount")), 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))(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("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.AdminProposalResponse.Author] :: shapeless.labelled.FieldType[Symbol @@ String("content"),String] :: shapeless.labelled.FieldType[Symbol @@ String("contentTranslations"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("submittedAsLanguage"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.proposal.ProposalStatus] :: shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("tags"),Seq[org.make.core.proposal.indexed.IndexedTag]] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.AdminProposalResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.AdminProposalResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$55().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.AdminProposalResponse]](inst$macro$56) })