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 cats.implicits._
23 import cats.data.Validated
24 import cats.data.Validated.{Invalid, Valid}
25 import akka.http.scaladsl.model.StatusCodes
26 import akka.http.scaladsl.server._
27 import akka.http.scaladsl.unmarshalling.Unmarshaller._
28 import grizzled.slf4j.Logging
29 import io.circe.Codec
30 import io.circe.generic.semiauto.deriveCodec
31 import io.swagger.annotations._
32 import org.make.api.technical.directives.FutureDirectivesExtensions._
33 import org.make.api.idea.IdeaServiceComponent
34 import org.make.api.operation.OperationServiceComponent
35 import org.make.api.question.QuestionServiceComponent
36 import org.make.api.tag.TagServiceComponent
37 import org.make.api.technical.CsvReceptacle._
38 import org.make.api.technical.MakeDirectives.MakeDirectivesDependencies
39 import org.make.api.technical.{
40   `X-Total-Count`,
41   ActorSystemComponent,
42   MakeAuthenticationDirectives,
43   ReadJournalComponent
44 }
45 import org.make.api.user.UserServiceComponent
46 import org.make.core._
47 import org.make.core.technical.{Multilingual, MultilingualUtils, Pagination}
48 import org.make.core.auth.UserRights
49 import org.make.core.idea.IdeaId
50 import org.make.core.operation.OperationId
51 import org.make.core.proposal._
52 import org.make.core.Validation._
53 import org.make.core.proposal.{Qualification => ProposalQualification, Vote => ProposalVote}
54 import org.make.core.proposal.indexed._
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.Role.RoleAdmin
59 import org.make.core.user.{UserId, UserType}
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 
68 @Api(value = "ModerationProposal")
69 @Path("/moderation/proposals")
70 trait ModerationProposalApi extends Directives {
71 
72   @ApiOperation(
73     value = "get-moderation-proposal",
74     httpMethod = "GET",
75     code = HttpCodes.OK,
76     authorizations = Array(
77       new Authorization(
78         value = "MakeApi",
79         scopes = Array(
80           new AuthorizationScope(scope = "admin", description = "BO Admin"),
81           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
82         )
83       )
84     )
85   )
86   @ApiResponses(
87     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationProposalResponse]))
88   )
89   @ApiImplicitParams(value = Array(new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string")))
90   @Path(value = "/{proposalId}")
91   def getModerationProposal: Route
92 
93   @ApiOperation(
94     value = "legacy-moderation-search-proposals",
95     httpMethod = "GET",
96     code = HttpCodes.OK,
97     authorizations = Array(
98       new Authorization(
99         value = "MakeApi",
100         scopes = Array(
101           new AuthorizationScope(scope = "admin", description = "BO Admin"),
102           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
103         )
104       )
105     )
106   )
107   @ApiResponses(
108     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ProposalsSearchResult]))
109   )
110   @ApiImplicitParams(
111     value = Array(
112       new ApiImplicitParam(name = "proposalIds", paramType = "query", dataType = "string"),
113       new ApiImplicitParam(name = "createdBefore", paramType = "query", dataType = "dateTime"),
114       new ApiImplicitParam(name = "initialProposal", paramType = "query", dataType = "boolean"),
115       new ApiImplicitParam(name = "tagsIds", paramType = "query", dataType = "string"),
116       new ApiImplicitParam(name = "operationId", paramType = "query", dataType = "string"),
117       new ApiImplicitParam(name = "questionId", paramType = "query", dataType = "string"),
118       new ApiImplicitParam(name = "ideaId", paramType = "query", dataType = "string"),
119       new ApiImplicitParam(name = "content", paramType = "query", dataType = "string"),
120       new ApiImplicitParam(name = "source", paramType = "query", dataType = "string"),
121       new ApiImplicitParam(name = "location", paramType = "query", dataType = "string"),
122       new ApiImplicitParam(name = "question", paramType = "query", dataType = "string"),
123       new ApiImplicitParam(
124         name = "status",
125         paramType = "query",
126         dataType = "string",
127         allowableValues = ProposalStatus.swaggerAllowableValues,
128         allowMultiple = true
129       ),
130       new ApiImplicitParam(
131         name = "minVotesCount",
132         paramType = "query",
133         dataType = "int",
134         allowableValues = "range[0, infinity]"
135       ),
136       new ApiImplicitParam(name = "toEnrich", paramType = "query", dataType = "boolean"),
137       new ApiImplicitParam(name = "minScore", paramType = "query", dataType = "float"),
138       new ApiImplicitParam(name = "language", paramType = "query", dataType = "string"),
139       new ApiImplicitParam(name = "country", paramType = "query", dataType = "string"),
140       new ApiImplicitParam(
141         name = "limit",
142         paramType = "query",
143         dataType = "int",
144         allowableValues = "range[0, infinity]"
145       ),
146       new ApiImplicitParam(
147         name = "skip",
148         paramType = "query",
149         dataType = "int",
150         allowableValues = "range[0, infinity]"
151       ),
152       new ApiImplicitParam(
153         name = "sort",
154         paramType = "query",
155         dataType = "string",
156         example = "createdAt",
157         allowableValues = "content,slug,status,createdAt,updatedAt,trending,labels,country,language"
158       ),
159       new ApiImplicitParam(
160         name = "order",
161         paramType = "query",
162         dataType = "string",
163         allowableValues = Order.swaggerAllowableValues
164       ),
165       new ApiImplicitParam(
166         name = "userTypes",
167         paramType = "query",
168         dataType = "string",
169         allowableValues = UserType.swaggerAllowableValues,
170         allowMultiple = true
171       ),
172       new ApiImplicitParam(name = "keywords", paramType = "query", dataType = "string")
173     )
174   )
175   @Path(value = "/legacy")
176   def legacySearchAllProposals: Route
177 
178   @ApiOperation(
179     value = "moderation-search-proposals",
180     httpMethod = "GET",
181     code = HttpCodes.OK,
182     authorizations = Array(
183       new Authorization(
184         value = "MakeApi",
185         scopes = Array(
186           new AuthorizationScope(scope = "admin", description = "BO Admin"),
187           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
188         )
189       )
190     )
191   )
192   @ApiResponses(
193     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[Array[ProposalListResponse]]))
194   )
195   @ApiImplicitParams(
196     value = Array(
197       new ApiImplicitParam(name = "id", paramType = "query", dataType = "string", allowMultiple = true),
198       new ApiImplicitParam(name = "questionId", paramType = "query", dataType = "string", allowMultiple = true),
199       new ApiImplicitParam(
200         name = "status",
201         paramType = "query",
202         dataType = "string",
203         allowableValues = ProposalStatus.swaggerAllowableValues,
204         allowMultiple = true
205       ),
206       new ApiImplicitParam(name = "content", paramType = "query", dataType = "string"),
207       new ApiImplicitParam(
208         name = "userType",
209         paramType = "query",
210         dataType = "string",
211         allowableValues = UserType.swaggerAllowableValues,
212         allowMultiple = true
213       ),
214       new ApiImplicitParam(name = "initialProposal", paramType = "query", dataType = "boolean"),
215       new ApiImplicitParam(name = "tagId", paramType = "query", dataType = "string", allowMultiple = true),
216       new ApiImplicitParam(
217         name = "submittedAsLanguages",
218         paramType = "query",
219         dataType = "string",
220         allowMultiple = true
221       ),
222       new ApiImplicitParam(
223         name = "_start",
224         paramType = "query",
225         dataType = "int",
226         allowableValues = "range[0, infinity]"
227       ),
228       new ApiImplicitParam(
229         name = "_end",
230         paramType = "query",
231         dataType = "int",
232         allowableValues = "range[0, infinity]"
233       ),
234       new ApiImplicitParam(
235         name = "_sort",
236         paramType = "query",
237         dataType = "string",
238         allowableValues = ProposalElasticsearchFieldName.swaggerAllowableValues
239       ),
240       new ApiImplicitParam(
241         name = "_order",
242         paramType = "query",
243         dataType = "string",
244         allowableValues = Order.swaggerAllowableValues
245       )
246     )
247   )
248   def searchAllProposals: Route
249 
250   @ApiOperation(
251     value = "update-proposal",
252     httpMethod = "PUT",
253     code = HttpCodes.OK,
254     authorizations = Array(
255       new Authorization(
256         value = "MakeApi",
257         scopes = Array(
258           new AuthorizationScope(scope = "admin", description = "BO Admin"),
259           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
260         )
261       )
262     )
263   )
264   @ApiImplicitParams(
265     value = Array(
266       new ApiImplicitParam(
267         value = "body",
268         paramType = "body",
269         dataType = "org.make.api.proposal.UpdateProposalRequest"
270       ),
271       new ApiImplicitParam(name = "proposalId", paramType = "path", required = true, dataType = "string")
272     )
273   )
274   @ApiResponses(
275     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationProposalResponse]))
276   )
277   @Path(value = "/{proposalId}")
278   def updateProposal: Route
279 
280   @ApiOperation(
281     value = "validate-proposal",
282     httpMethod = "POST",
283     code = HttpCodes.OK,
284     authorizations = Array(
285       new Authorization(
286         value = "MakeApi",
287         scopes = Array(
288           new AuthorizationScope(scope = "admin", description = "BO Admin"),
289           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
290         )
291       )
292     )
293   )
294   @ApiImplicitParams(
295     value = Array(
296       new ApiImplicitParam(
297         value = "body",
298         paramType = "body",
299         dataType = "org.make.api.proposal.ValidateProposalRequest"
300       ),
301       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string")
302     )
303   )
304   @ApiResponses(
305     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationProposalResponse]))
306   )
307   @Path(value = "/{proposalId}/accept")
308   def acceptProposal: Route
309 
310   @ApiOperation(
311     value = "refuse-proposal",
312     httpMethod = "POST",
313     code = HttpCodes.OK,
314     authorizations = Array(
315       new Authorization(
316         value = "MakeApi",
317         scopes = Array(
318           new AuthorizationScope(scope = "admin", description = "BO Admin"),
319           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
320         )
321       )
322     )
323   )
324   @ApiImplicitParams(
325     value = Array(
326       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string"),
327       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.RefuseProposalRequest")
328     )
329   )
330   @ApiResponses(
331     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationProposalResponse]))
332   )
333   @Path(value = "/{proposalId}/refuse")
334   def refuseProposal: Route
335 
336   @ApiOperation(
337     value = "postpone-proposal",
338     httpMethod = "POST",
339     code = HttpCodes.OK,
340     authorizations = Array(
341       new Authorization(
342         value = "MakeApi",
343         scopes = Array(
344           new AuthorizationScope(scope = "admin", description = "BO Admin"),
345           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
346         )
347       )
348     )
349   )
350   @ApiResponses(
351     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationProposalResponse]))
352   )
353   @ApiImplicitParams(value = Array(new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string")))
354   @Path(value = "/{proposalId}/postpone")
355   def postponeProposal: Route
356 
357   @ApiOperation(
358     value = "lock-proposal",
359     httpMethod = "POST",
360     code = HttpCodes.NoContent,
361     authorizations = Array(
362       new Authorization(
363         value = "MakeApi",
364         scopes = Array(
365           new AuthorizationScope(scope = "admin", description = "BO Admin"),
366           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
367         )
368       )
369     )
370   )
371   @ApiImplicitParams(value = Array(new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string")))
372   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.NoContent, message = "No Content")))
373   @Path(value = "/{proposalId}/lock")
374   def lock: Route
375 
376   @ApiOperation(
377     value = "lock-multiple-proposal",
378     httpMethod = "POST",
379     code = HttpCodes.NoContent,
380     authorizations = Array(
381       new Authorization(
382         value = "MakeApi",
383         scopes = Array(
384           new AuthorizationScope(scope = "admin", description = "BO Admin"),
385           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
386         )
387       )
388     )
389   )
390   @ApiImplicitParams(
391     value = Array(
392       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.LockProposalsRequest")
393     )
394   )
395   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.NoContent, message = "No Content")))
396   @Path(value = "/lock")
397   def lockMultiple: Route
398 
399   @ApiOperation(
400     value = "update-proposals-to-idea",
401     httpMethod = "POST",
402     code = HttpCodes.NoContent,
403     authorizations = Array(
404       new Authorization(
405         value = "MakeApi",
406         scopes = Array(new AuthorizationScope(scope = "moderator", description = "BO Moderator"))
407       )
408     )
409   )
410   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.NoContent, message = "No Content")))
411   @ApiImplicitParams(
412     value = Array(
413       new ApiImplicitParam(
414         name = "body",
415         paramType = "body",
416         dataType = "org.make.api.proposal.PatchProposalsIdeaRequest"
417       )
418     )
419   )
420   @Path(value = "/change-idea")
421   def changeProposalsIdea: Route
422 
423   @ApiOperation(
424     value = "next-author-to-moderate",
425     httpMethod = "POST",
426     code = HttpCodes.OK,
427     authorizations = Array(
428       new Authorization(
429         value = "MakeApi",
430         scopes = Array(new AuthorizationScope(scope = "moderator", description = "BO Moderator"))
431       )
432     )
433   )
434   @ApiResponses(
435     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationAuthorResponse]))
436   )
437   @ApiImplicitParams(
438     value = Array(
439       new ApiImplicitParam(
440         name = "body",
441         paramType = "body",
442         dataType = "org.make.api.proposal.NextProposalToModerateRequest"
443       )
444     )
445   )
446   @Path(value = "/next-author-to-moderate")
447   def nextAuthorToModerate: Route
448 
449   @ApiOperation(
450     value = "next-proposal-to-moderate",
451     httpMethod = "POST",
452     code = HttpCodes.OK,
453     authorizations = Array(
454       new Authorization(
455         value = "MakeApi",
456         scopes = Array(new AuthorizationScope(scope = "moderator", description = "BO Moderator"))
457       )
458     )
459   )
460   @ApiResponses(
461     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ModerationProposalResponse]))
462   )
463   @ApiImplicitParams(
464     value = Array(
465       new ApiImplicitParam(
466         name = "body",
467         paramType = "body",
468         dataType = "org.make.api.proposal.NextProposalToModerateRequest"
469       )
470     )
471   )
472   @Path(value = "/next")
473   def nextProposalToModerate: Route
474 
475   @ApiOperation(
476     value = "get-tags-for-proposal",
477     httpMethod = "GET",
478     code = HttpCodes.OK,
479     authorizations = Array(
480       new Authorization(
481         value = "MakeApi",
482         scopes = Array(new AuthorizationScope(scope = "moderator", description = "BO Moderator"))
483       )
484     )
485   )
486   @ApiImplicitParams(value = Array(new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string")))
487   @ApiResponses(
488     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[TagsForProposalResponse]))
489   )
490   @Path(value = "/{proposalId}/tags")
491   def getTagsForProposal: Route
492 
493   @ApiOperation(
494     value = "bulk-refuse-proposal",
495     httpMethod = "POST",
496     code = HttpCodes.OK,
497     authorizations = Array(
498       new Authorization(
499         value = "MakeApi",
500         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
501       )
502     )
503   )
504   @ApiImplicitParams(
505     value = Array(
506       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.BulkRefuseProposal")
507     )
508   )
509   @ApiResponses(
510     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[BulkActionResponse]))
511   )
512   @Path(value = "/refuse-initials-proposals")
513   def bulkRefuseInitialsProposals: Route
514 
515   @ApiOperation(
516     value = "bulk-tag-proposal",
517     httpMethod = "POST",
518     code = HttpCodes.OK,
519     authorizations = Array(
520       new Authorization(
521         value = "MakeApi",
522         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
523       )
524     )
525   )
526   @ApiImplicitParams(
527     value = Array(
528       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.BulkTagProposal")
529     )
530   )
531   @ApiResponses(
532     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[BulkActionResponse]))
533   )
534   @Path(value = "/tag")
535   def bulkTagProposal: Route
536 
537   @ApiOperation(
538     value = "bulk-delete-tag-proposal",
539     httpMethod = "DELETE",
540     code = HttpCodes.OK,
541     authorizations = Array(
542       new Authorization(
543         value = "MakeApi",
544         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
545       )
546     )
547   )
548   @ApiImplicitParams(
549     value = Array(
550       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.BulkDeleteTagProposal")
551     )
552   )
553   @ApiResponses(
554     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[BulkActionResponse]))
555   )
556   @Path(value = "/tag")
557   def bulkDeleteTagProposal: Route
558 
559   def routes: Route =
560     searchAllProposals ~
561       legacySearchAllProposals ~
562       updateProposal ~
563       acceptProposal ~
564       refuseProposal ~
565       postponeProposal ~
566       lock ~
567       lockMultiple ~
568       changeProposalsIdea ~
569       getModerationProposal ~
570       nextAuthorToModerate ~
571       nextProposalToModerate ~
572       getTagsForProposal ~
573       bulkTagProposal ~
574       bulkDeleteTagProposal ~
575       bulkRefuseInitialsProposals
576 }
577 
578 trait ModerationProposalApiComponent {
579   def moderationProposalApi: ModerationProposalApi
580 }
581 
582 trait DefaultModerationProposalApiComponent
583     extends ModerationProposalApiComponent
584     with MakeAuthenticationDirectives
585     with Logging
586     with ParameterExtractors {
587   this: ProposalServiceComponent
588     with MakeDirectivesDependencies
589     with UserServiceComponent
590     with IdeaServiceComponent
591     with QuestionServiceComponent
592     with OperationServiceComponent
593     with ProposalCoordinatorServiceComponent
594     with ReadJournalComponent
595     with ActorSystemComponent
596     with TagServiceComponent =>
597 
598   override lazy val moderationProposalApi: DefaultModerationProposalApi = new DefaultModerationProposalApi
599 
600   class DefaultModerationProposalApi extends ModerationProposalApi {
601 
602     val moderationProposalId: PathMatcher1[ProposalId] = Segment.map(id => ProposalId(id))
603 
604     override def getModerationProposal: Route = {
605       get {
606         path("moderation" / "proposals" / moderationProposalId) { proposalId =>
607           makeOperation("GetModerationProposal") { _ =>
608             makeOAuth2 { auth: AuthInfo[UserRights] =>
609               requireModerationRole(auth.user) {
610                 proposalService
611                   .getModerationProposalById(proposalId)
612                   .asDirectiveOrNotFound
613                   .apply(
614                     moderationProposalResponse =>
615                       requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId) {
616                         complete(moderationProposalResponse)
617                       }
618                   )
619               }
620             }
621           }
622         }
623       }
624     }
625 
626     override def legacySearchAllProposals: Route = {
627       get {
628         path("moderation" / "proposals" / "legacy") {
629           makeOperation("SearchAll") { requestContext =>
630             makeOAuth2 { userAuth: AuthInfo[UserRights] =>
631               requireModerationRole(userAuth.user) {
632                 parameters(
633                   "proposalIds".as[Seq[ProposalId]].?,
634                   "createdBefore".as[ZonedDateTime].?,
635                   "proposalType".csv[ProposalType],
636                   "tagsIds".as[Seq[TagId]].?,
637                   "operationId".as[OperationId].?,
638                   "questionId".as[Seq[QuestionId]].?,
639                   "ideaId".as[Seq[IdeaId]].?,
640                   "content".?,
641                   "source".?,
642                   "location".?,
643                   "question".?,
644                   "status".csv[ProposalStatus],
645                   "minVotesCount".as[Int].?,
646                   "toEnrich".as[Boolean].?,
647                   "minScore".as[Double].?,
648                   "language".as[Language].?,
649                   "country".as[Country].?,
650                   "userType".csv[UserType],
651                   "keywords".as[Seq[ProposalKeywordKey]].?,
652                   "userId".as[UserId].?
653                 ) {
654                   (
655                     proposalIds: Option[Seq[ProposalId]],
656                     createdBefore: Option[ZonedDateTime],
657                     proposalTypes: Option[Seq[ProposalType]],
658                     tagsIds: Option[Seq[TagId]],
659                     operationId: Option[OperationId],
660                     questionIds: Option[Seq[QuestionId]],
661                     ideaId: Option[Seq[IdeaId]],
662                     content: Option[String],
663                     source: Option[String],
664                     location: Option[String],
665                     question: Option[String],
666                     status: Option[Seq[ProposalStatus]],
667                     minVotesCount: Option[Int],
668                     toEnrich: Option[Boolean],
669                     minScore: Option[Double],
670                     language: Option[Language],
671                     country: Option[Country],
672                     userTypes: Option[Seq[UserType]],
673                     keywords: Option[Seq[ProposalKeywordKey]],
674                     userId: Option[UserId]
675                   ) =>
676                     parameters(
677                       "limit".as[Pagination.Limit].?,
678                       "skip".as[Pagination.Offset].?,
679                       "sort".?,
680                       "order".as[Order].?
681                     ) {
682                       (
683                         limit: Option[Pagination.Limit],
684                         offset: Option[Pagination.Offset],
685                         sort: Option[String],
686                         order: Option[Order]
687                       ) =>
688                         Validation.validate(Seq(country.map { countryValue =>
689                           Validation.validChoices(
690                             fieldName = "country",
691                             message = Some(
692                               s"Invalid country. Expected one of ${BusinessConfig.supportedCountries.map(_.countryCode)}"
693                             ),
694                             Seq(countryValue),
695                             BusinessConfig.supportedCountries.map(_.countryCode)
696                           )
697                         }, sort.map { sortValue =>
698                           val choices =
699                             Seq(
700                               "content",
701                               "slug",
702                               "status",
703                               "createdAt",
704                               "updatedAt",
705                               "trending",
706                               "labels",
707                               "country",
708                               "language"
709                             )
710                           Validation.validChoices(
711                             fieldName = "sort",
712                             message = Some(
713                               s"Invalid sort. Got $sortValue but expected one of: ${choices.mkString("\"", "\", \"", "\"")}"
714                             ),
715                             Seq(sortValue),
716                             choices
717                           )
718                         }).flatten: _*)
719 
720                         val resolvedQuestions: Option[Seq[QuestionId]] = {
721                           if (userAuth.user.roles.contains(RoleAdmin)) {
722                             questionIds
723                           } else {
724                             questionIds.map { questions =>
725                               questions.filter(id => userAuth.user.availableQuestions.contains(id))
726                             }.orElse(Some(userAuth.user.availableQuestions))
727                           }
728                         }
729 
730                         val contextFilterRequest: Option[ContextFilterRequest] =
731                           ContextFilterRequest.parse(operationId, source, location, question)
732 
733                         val exhaustiveSearchRequest: ExhaustiveSearchRequest = ExhaustiveSearchRequest(
734                           proposalIds = proposalIds,
735                           proposalTypes = proposalTypes,
736                           tagsIds = tagsIds,
737                           operationId = operationId,
738                           questionIds = resolvedQuestions,
739                           ideaIds = ideaId,
740                           content = content,
741                           context = contextFilterRequest,
742                           status = status,
743                           minVotesCount = minVotesCount,
744                           toEnrich = toEnrich,
745                           minScore = minScore,
746                           language = language,
747                           country = country,
748                           sort = sort,
749                           order = order,
750                           limit = limit,
751                           offset = offset,
752                           createdBefore = createdBefore,
753                           userTypes = userTypes,
754                           keywords = keywords,
755                           userId = userId
756                         )
757                         val query: SearchQuery = exhaustiveSearchRequest.toSearchQuery(requestContext)
758                         proposalService
759                           .searchInIndex(query = query, requestContext = requestContext)
760                           .asDirective
761                           .apply(complete(_))
762                     }
763                 }
764               }
765             }
766           }
767         }
768       }
769     }
770 
771     override def searchAllProposals: Route = get {
772       path("moderation" / "proposals") {
773         makeOperation("ModerationSearchAll") { requestContext =>
774           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
775             requireModerationRole(userAuth.user) {
776               parameters(
777                 "id".csv[ProposalId],
778                 "questionId".csv[QuestionId],
779                 "userId".as[UserId].?,
780                 "content".?,
781                 "status".csv[ProposalStatus],
782                 "userType".csv[UserType],
783                 "proposalType".csv[ProposalType],
784                 "tagId".csv[TagId],
785                 "submittedAsLanguages".csv[Language],
786                 "_start".as[Pagination.Offset].?,
787                 "_end".as[Pagination.End].?,
788                 "_sort".as[ProposalElasticsearchFieldName].?,
789                 "_order".as[Order].?
790               ) {
791                 (
792                   proposalIds: Option[Seq[ProposalId]],
793                   questionIds: Option[Seq[QuestionId]],
794                   userId: Option[UserId],
795                   content: Option[String],
796                   status: Option[Seq[ProposalStatus]],
797                   userTypes: Option[Seq[UserType]],
798                   proposalTypes: Option[Seq[ProposalType]],
799                   tagIds: Option[Seq[TagId]],
800                   submittedAsLanguages: Option[Seq[Language]],
801                   offset: Option[Pagination.Offset],
802                   end: Option[Pagination.End],
803                   sort: Option[ProposalElasticsearchFieldName],
804                   order: Option[Order]
805                 ) =>
806                   val resolvedQuestions: Option[Seq[QuestionId]] = {
807                     if (userAuth.user.roles.contains(RoleAdmin)) {
808                       questionIds
809                     } else {
810                       questionIds.map { questions =>
811                         questions.filter(id => userAuth.user.availableQuestions.contains(id))
812                       }.orElse(Some(userAuth.user.availableQuestions))
813                     }
814                   }
815 
816                   val exhaustiveSearchRequest = ExhaustiveSearchRequest(
817                     proposalIds = proposalIds,
818                     proposalTypes = proposalTypes,
819                     tagsIds = tagIds,
820                     questionIds = resolvedQuestions,
821                     content = content,
822                     status = status,
823                     sort = sort.map(_.field),
824                     order = order,
825                     limit = end.map(_.toLimit(offset.orZero)),
826                     offset = offset,
827                     userTypes = userTypes,
828                     userId = userId,
829                     submittedAsLanguages = submittedAsLanguages
830                   )
831                   proposalService
832                     .searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)
833                     .asDirective
834                     .apply(
835                       proposals =>
836                         complete(
837                           (
838                             StatusCodes.OK,
839                             List(`X-Total-Count`(proposals.total.toString)),
840                             proposals.results.map(ProposalListResponse.apply)
841                           )
842                         )
843                     )
844               }
845             }
846           }
847         }
848       }
849     }
850 
851     private val maxProposalLength = BusinessConfig.defaultProposalMaxLength
852     private val maxProposalTranslationLength = BusinessConfig.defaultProposalTranslationMaxLength
853     private val minProposalLength = FrontConfiguration.defaultProposalMinLength
854 
855     override def updateProposal: Route = put {
856       path("moderation" / "proposals" / moderationProposalId) { proposalId =>
857         makeOperation("EditProposal") { requestContext =>
858           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
859             requireModerationRole(userAuth.user) {
860               decodeRequest {
861                 entity(as[UpdateProposalRequest]) { request =>
862                   retrieveQuestion(request.questionId, proposalId).asDirective { question =>
863                     requireRightsOnQuestion(userAuth.user, Some(question.questionId)) {
864                       proposalService.getModerationProposalById(proposalId).asDirectiveOrNotFound { proposal =>
865                         val newContent =
866                           request.newContent.fold(Validated.validNec[ValidationError, Unit](()))(
867                             content =>
868                               (
869                                 content.withMaxLength(maxProposalLength, "newContent"),
870                                 content.withMinLength(minProposalLength, "newContent"),
871                                 content.toSanitizedInput("newContent")
872                               ).tupled.void
873                           )
874                         val newContentTranslations =
875                           request.newContentTranslations.fold(Validated.validNec[ValidationError, Unit](()))(
876                             _.translations.foldMap(
877                               translations =>
878                                 (
879                                   translations.withMaxLength(maxProposalTranslationLength, "newContentTranslations"),
880                                   translations.withMinLength(minProposalLength, "newContentTranslations")
881                                 ).tupled.void
882                             )
883                           )
884                         val translations =
885                           request.newContentTranslations
886                             .orElse(proposal.contentTranslations)
887                             .getOrElse(Multilingual.empty)
888                             .addTranslation(
889                               proposal.submittedAsLanguage.getOrElse(question.defaultLanguage),
890                               request.newContent.getOrElse(proposal.content)
891                             )
892                         val validatedTranslations =
893                           MultilingualUtils
894                             .hasRequiredTranslations(question.languages.toList.toSet, List((translations, "contents")))
895                         (newContent, newContentTranslations, validatedTranslations).tupled match {
896                           case Invalid(errsNec) => failWith(ValidationFailedError(errsNec.toList))
897                           case Valid(_) =>
898                             proposalService
899                               .update(
900                                 proposalId = proposalId,
901                                 moderator = userAuth.user.userId,
902                                 requestContext = requestContext,
903                                 updatedAt = DateHelper.now(),
904                                 newContent = request.newContent,
905                                 newContentTranslations = request.newContentTranslations,
906                                 question = question,
907                                 tags = request.tags
908                               )
909                               .asDirectiveOrNotFound
910                               .apply(complete(_))
911                         }
912                       }
913                     }
914                   }
915                 }
916               }
917             }
918           }
919         }
920       }
921     }
922 
923     private def retrieveQuestion(maybeQuestionId: Option[QuestionId], proposalId: ProposalId): Future[Question] = {
924       maybeQuestionId match {
925         case Some(questionId) =>
926           questionService.getQuestion(questionId).flatMap {
927             case Some(question) => Future.successful(question)
928             case _ =>
929               Future.failed(
930                 ValidationFailedError(
931                   Seq(ValidationError("questionId", "not_found", Some(s"question '$questionId' not found")))
932                 )
933               )
934           }
935         case _ =>
936           proposalCoordinatorService.getProposal(proposalId).flatMap {
937             case Some(proposal) =>
938               proposal.questionId match {
939                 case Some(questionId) =>
940                   questionService.getQuestion(questionId).flatMap {
941                     case Some(question) => Future.successful(question)
942                     case _ =>
943                       Future.failed(
944                         new IllegalStateException(s"question '$questionId' not found for proposal '$proposalId'")
945                       )
946                   }
947                 case _ => Future.failed(new IllegalStateException(s"proposal '$proposalId' has no questionId"))
948               }
949             case _ =>
950               Future.failed(
951                 ValidationFailedError(
952                   Seq(ValidationError("questionId", "not_found", Some(s"proposal '$proposalId' not found")))
953                 )
954               )
955           }
956       }
957     }
958 
959     override def acceptProposal: Route = post {
960       path("moderation" / "proposals" / moderationProposalId / "accept") { proposalId =>
961         makeOperation("ValidateProposal") { requestContext =>
962           makeOAuth2 { auth: AuthInfo[UserRights] =>
963             requireModerationRole(auth.user) {
964               decodeRequest {
965                 entity(as[ValidateProposalRequest]) { request =>
966                   retrieveQuestion(request.questionId, proposalId).asDirective { question =>
967                     requireRightsOnQuestion(auth.user, Some(question.questionId)) {
968                       proposalService.getModerationProposalById(proposalId).asDirectiveOrNotFound { proposal =>
969                         val newContent =
970                           request.newContent.fold(Validated.validNec[ValidationError, Unit](()))(
971                             content =>
972                               (
973                                 content.withMaxLength(maxProposalLength, "Original content"),
974                                 content.withMinLength(minProposalLength, "Original content"),
975                                 content.toSanitizedInput("newContent")
976                               ).tupled.void
977                           )
978                         val newContentTranslations =
979                           request.newContentTranslations
980                             .fold(Validated.validNec[ValidationError, Unit](()))(_.toMap.toList.foldMap {
981                               case (language, translations) =>
982                                 (
983                                   translations
984                                     .withMaxLength(maxProposalTranslationLength, "Translations", Some(language)),
985                                   translations.withMinLength(minProposalLength, "Translations", Some(language))
986                                 ).tupled.void
987                             })
988                         val translations =
989                           request.newContentTranslations
990                             .orElse(proposal.contentTranslations)
991                             .getOrElse(Multilingual.empty)
992                             .addTranslation(
993                               proposal.submittedAsLanguage.getOrElse(question.defaultLanguage),
994                               request.newContent.getOrElse(proposal.content)
995                             )
996                         val validatedTranslations =
997                           MultilingualUtils
998                             .hasRequiredTranslations(
999                               question.languages.toList.toSet,
1000                               List((translations, "Translations"))
1001                             )
1002                         (newContent, newContentTranslations, validatedTranslations).tupled match {
1003                           case Invalid(errsNec) => failWith(ValidationFailedError(errsNec.toList))
1004                           case Valid(_) =>
1005                             proposalService
1006                               .validateProposal(
1007                                 proposalId = proposalId,
1008                                 moderator = auth.user.userId,
1009                                 requestContext = requestContext,
1010                                 question = question,
1011                                 newContent = request.newContent,
1012                                 newContentTranslations = request.newContentTranslations,
1013                                 sendNotificationEmail = request.sendNotificationEmail,
1014                                 tags = request.tags
1015                               )
1016                               .asDirectiveOrNotFound
1017                               .apply(complete(_))
1018                         }
1019                       }
1020                     }
1021                   }
1022                 }
1023               }
1024             }
1025           }
1026         }
1027       }
1028     }
1029 
1030     override def refuseProposal: Route = post {
1031       path("moderation" / "proposals" / moderationProposalId / "refuse") { proposalId =>
1032         makeOperation("RefuseProposal") { requestContext =>
1033           makeOAuth2 { auth: AuthInfo[UserRights] =>
1034             requireModerationRole(auth.user) {
1035               proposalCoordinatorService.getProposal(proposalId).asDirectiveOrNotFound { proposal =>
1036                 requireRightsOnQuestion(auth.user, proposal.questionId) {
1037                   decodeRequest {
1038                     entity(as[RefuseProposalRequest]) { refuseProposalRequest =>
1039                       proposalService
1040                         .refuseProposal(
1041                           proposalId = proposalId,
1042                           moderator = auth.user.userId,
1043                           requestContext = requestContext,
1044                           request = refuseProposalRequest
1045                         )
1046                         .asDirectiveOrNotFound
1047                         .apply(complete(_))
1048                     }
1049                   }
1050                 }
1051               }
1052             }
1053           }
1054         }
1055       }
1056     }
1057 
1058     override def postponeProposal: Route = post {
1059       path("moderation" / "proposals" / moderationProposalId / "postpone") { proposalId =>
1060         makeOperation("PostponeProposal") { requestContext =>
1061           makeOAuth2 { auth: AuthInfo[UserRights] =>
1062             requireModerationRole(auth.user) {
1063               proposalCoordinatorService.getProposal(proposalId).asDirectiveOrNotFound { proposal =>
1064                 requireRightsOnQuestion(auth.user, proposal.questionId) {
1065                   decodeRequest {
1066                     proposalService
1067                       .postponeProposal(
1068                         proposalId = proposalId,
1069                         moderator = auth.user.userId,
1070                         requestContext = requestContext
1071                       )
1072                       .asDirectiveOrNotFound
1073                       .apply(complete(_))
1074                   }
1075                 }
1076               }
1077             }
1078           }
1079         }
1080       }
1081     }
1082 
1083     override def lock: Route = post {
1084       path("moderation" / "proposals" / moderationProposalId / "lock") { proposalId =>
1085         makeOperation("LockProposal") { requestContext =>
1086           makeOAuth2 { auth: AuthInfo[UserRights] =>
1087             requireModerationRole(auth.user) {
1088               proposalCoordinatorService.getProposal(proposalId).asDirectiveOrNotFound { proposal =>
1089                 requireRightsOnQuestion(auth.user, proposal.questionId) {
1090                   userService.getUser(auth.user.userId).asDirectiveOrNotFound { moderator =>
1091                     proposalService
1092                       .lockProposal(
1093                         proposalId = proposalId,
1094                         moderatorId = moderator.userId,
1095                         moderatorFullName = moderator.fullName,
1096                         requestContext = requestContext
1097                       )
1098                       .asDirective { _ =>
1099                         complete(StatusCodes.NoContent)
1100                       }
1101                   }
1102                 }
1103               }
1104             }
1105           }
1106         }
1107       }
1108     }
1109 
1110     override def lockMultiple: Route = post {
1111       path("moderation" / "proposals" / "lock") {
1112         makeOperation("LockMultipleProposals") { requestContext =>
1113           makeOAuth2 { auth: AuthInfo[UserRights] =>
1114             requireModerationRole(auth.user) {
1115               decodeRequest {
1116                 entity(as[LockProposalsRequest]) { request =>
1117                   val query = SearchQuery(
1118                     filters = Some(
1119                       SearchFilters(
1120                         proposal = Some(ProposalSearchFilter(request.proposalIds.toSeq)),
1121                         status = Some(StatusSearchFilter(ProposalStatus.values))
1122                       )
1123                     ),
1124                     limit = Some(Pagination.Limit(request.proposalIds.size + 1))
1125                   )
1126                   proposalService.searchInIndex(query = query, requestContext = requestContext).asDirective {
1127                     proposals =>
1128                       val proposalIds = proposals.results.map(_.id)
1129                       val notFoundIds = request.proposalIds.diff(proposalIds.toSet)
1130                       Validation.validate(
1131                         Validation.validateField(
1132                           field = "proposalIds",
1133                           key = "invalid_value",
1134                           condition = notFoundIds.isEmpty,
1135                           message = s"Proposals not found: ${notFoundIds.mkString(", ")}"
1136                         )
1137                       )
1138                       requireRightsOnQuestion(auth.user, proposals.results.flatMap(_.question.map(_.questionId))) {
1139                         userService.getUser(auth.user.userId).asDirectiveOrNotFound { moderator =>
1140                           proposalService
1141                             .lockProposals(
1142                               proposalIds = proposalIds,
1143                               moderatorId = moderator.userId,
1144                               moderatorFullName = moderator.fullName,
1145                               requestContext = requestContext
1146                             )
1147                             .asDirective { _ =>
1148                               complete(StatusCodes.NoContent)
1149                             }
1150                         }
1151                       }
1152                   }
1153                 }
1154               }
1155             }
1156           }
1157         }
1158       }
1159     }
1160 
1161     override def changeProposalsIdea: Route = post {
1162       path("moderation" / "proposals" / "change-idea") {
1163         makeOperation("ChangeProposalsIdea") { _ =>
1164           makeOAuth2 { auth: AuthInfo[UserRights] =>
1165             requireAdminRole(auth.user) {
1166               decodeRequest {
1167                 entity(as[PatchProposalsIdeaRequest]) { changes =>
1168                   ideaService.fetchOne(changes.ideaId).asDirective { maybeIdea =>
1169                     Validation.validate(
1170                       Validation
1171                         .requirePresent(fieldValue = maybeIdea, fieldName = "ideaId", message = Some("Invalid idea id"))
1172                     )
1173                     changes.proposalIds.traverse(proposalService.getModerationProposalById).asDirective { proposals =>
1174                       val invalidProposalIdValues: Seq[String] =
1175                         changes.proposalIds.map(_.value).diff(proposals.flatten.map(_.proposalId.value))
1176                       val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", ")
1177                       Validation.validate(
1178                         Validation.validateField(
1179                           field = "proposalIds",
1180                           "invalid_value",
1181                           message = s"Some proposal ids are invalid: $invalidProposalIdValuesString",
1182                           condition = invalidProposalIdValues.isEmpty
1183                         )
1184                       )
1185                       proposalService
1186                         .changeProposalsIdea(changes.proposalIds, moderatorId = auth.user.userId, changes.ideaId)
1187                         .asDirective { updatedProposals =>
1188                           val proposalIdsDiff: Seq[String] =
1189                             changes.proposalIds.map(_.value).diff(updatedProposals.map(_.proposalId.value))
1190                           if (proposalIdsDiff.nonEmpty) {
1191                             logger
1192                               .warn(
1193                                 s"Some proposals are not updated during change idea operation: ${proposalIdsDiff.mkString(", ")}"
1194                               )
1195                           }
1196                           complete(StatusCodes.NoContent)
1197                         }
1198                     }
1199                   }
1200                 }
1201               }
1202             }
1203           }
1204         }
1205       }
1206     }
1207 
1208     override def nextAuthorToModerate: Route = post {
1209       path("moderation" / "proposals" / "next-author-to-moderate") {
1210         makeOperation("NextAuthorToModerate") { context =>
1211           makeOAuth2 { auth =>
1212             requireModerationRole(auth.user) {
1213               decodeRequest {
1214                 entity(as[NextProposalToModerateRequest]) { request =>
1215                   request.questionId
1216                     .map(questionService.getQuestion)
1217                     .getOrElse(Future.successful(None))
1218                     .asDirectiveOrNotFound
1219                     .apply(
1220                       question =>
1221                         requireRightsOnQuestion(auth.user, Some(question.questionId)) {
1222                           userService
1223                             .getUser(auth.user.userId)
1224                             .asDirectiveOrNotFound
1225                             .flatMap(
1226                               moderator =>
1227                                 proposalService
1228                                   .searchAndLockAuthorToModerate(
1229                                     questionId = question.questionId,
1230                                     moderator = auth.user.userId,
1231                                     moderatorFullName = moderator.fullName,
1232                                     languages = request.languages,
1233                                     requestContext = context,
1234                                     toEnrich = request.toEnrich,
1235                                     minVotesCount = request.minVotesCount,
1236                                     minScore = request.minScore
1237                                   )
1238                                   .asDirectiveOrNotFound
1239                             )
1240                             .apply(complete(_))
1241                         }
1242                     )
1243                 }
1244               }
1245             }
1246           }
1247         }
1248       }
1249     }
1250 
1251     override def nextProposalToModerate: Route = post {
1252       path("moderation" / "proposals" / "next") {
1253         makeOperation("NextProposalToModerate") { context =>
1254           makeOAuth2 { user =>
1255             requireModerationRole(user.user) {
1256               decodeRequest {
1257                 entity(as[NextProposalToModerateRequest]) { request =>
1258                   request.questionId.map { questionId =>
1259                     questionService.getQuestion(questionId)
1260                   }.getOrElse(Future.successful(None)).asDirectiveOrNotFound { question =>
1261                     requireRightsOnQuestion(user.user, Some(question.questionId)) {
1262                       userService.getUser(user.user.userId).asDirectiveOrNotFound { moderator =>
1263                         proposalService
1264                           .searchAndLockProposalToModerate(
1265                             question.questionId,
1266                             moderator.userId,
1267                             moderator.fullName,
1268                             None,
1269                             context,
1270                             request.toEnrich,
1271                             request.minVotesCount,
1272                             request.minScore
1273                           )
1274                           .asDirectiveOrNotFound
1275                           .apply(complete(_))
1276                       }
1277                     }
1278                   }
1279                 }
1280               }
1281             }
1282           }
1283         }
1284       }
1285     }
1286 
1287     override def getTagsForProposal: Route = get {
1288       path("moderation" / "proposals" / moderationProposalId / "tags") { moderationProposalId =>
1289         makeOperation("GetTagsForProposal") { _ =>
1290           makeOAuth2 { user =>
1291             requireModerationRole(user.user) {
1292               proposalCoordinatorService.getProposal(moderationProposalId).asDirectiveOrNotFound { proposal =>
1293                 requireRightsOnQuestion(user.user, proposal.questionId) {
1294                   proposalService.getTagsForProposal(proposal).asDirective.apply(complete(_))
1295                 }
1296               }
1297             }
1298           }
1299         }
1300       }
1301     }
1302 
1303     override def bulkRefuseInitialsProposals: Route = post {
1304       path("moderation" / "proposals" / "refuse-initials-proposals") {
1305         makeOperation("BulkRefuseInitialsProposals") { requestContext =>
1306           makeOAuth2 { userAuth =>
1307             requireModerationRole(userAuth.user) {
1308               decodeRequest {
1309                 entity(as[BulkRefuseProposal]) { request =>
1310                   proposalService
1311                     .refuseAll(request.proposalIds, userAuth.user.userId, requestContext)
1312                     .asDirective
1313                     .apply(complete(_))
1314                 }
1315               }
1316             }
1317           }
1318         }
1319       }
1320     }
1321 
1322     override def bulkTagProposal: Route = post {
1323       path("moderation" / "proposals" / "tag") {
1324         makeOperation("BulkTagProposal") { requestContext =>
1325           makeOAuth2 { userAuth =>
1326             requireModerationRole(userAuth.user) {
1327               decodeRequest {
1328                 entity(as[BulkTagProposal]) { request =>
1329                   tagService.findByTagIds(request.tagIds).asDirective { foundTags =>
1330                     Validation.validate(request.tagIds.diff(foundTags.map(_.tagId)).map { tagId =>
1331                       Validation.validateField(
1332                         field = "tagId",
1333                         key = "invalid_value",
1334                         condition = false,
1335                         message = s"Tag $tagId does not exist."
1336                       )
1337                     }: _*)
1338                     proposalService
1339                       .addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)
1340                       .asDirective
1341                       .apply(complete(_))
1342                   }
1343                 }
1344               }
1345             }
1346           }
1347         }
1348       }
1349     }
1350 
1351     override def bulkDeleteTagProposal: Route = delete {
1352       path("moderation" / "proposals" / "tag") {
1353         makeOperation("BulkDeleteTagProposal") { requestContext =>
1354           makeOAuth2 { userAuth =>
1355             requireModerationRole(userAuth.user) {
1356               decodeRequest {
1357                 entity(as[BulkDeleteTagProposal]) { request =>
1358                   tagService.getTag(request.tagId).asDirective { maybeTag =>
1359                     Validation.validate(
1360                       Validation.validateField(
1361                         field = "tagId",
1362                         key = "invalid_value",
1363                         condition = maybeTag.isDefined,
1364                         message = s"Tag ${request.tagId} does not exist."
1365                       )
1366                     )
1367                     proposalService
1368                       .deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)
1369                       .asDirective
1370                       .apply(complete(_))
1371                   }
1372                 }
1373               }
1374             }
1375           }
1376         }
1377       }
1378     }
1379   }
1380 }
1381 
1382 final case class ProposalListResponse(
1383   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
1384   id: ProposalId,
1385   author: ProposalListResponse.Author,
1386   content: String,
1387   contentTranslations: Multilingual[String],
1388   submittedAsLanguage: Option[Language],
1389   @(ApiModelProperty @field)(
1390     dataType = "string",
1391     required = true,
1392     allowableValues = ProposalStatus.swaggerAllowableValues
1393   )
1394   status: ProposalStatus,
1395   proposalType: ProposalType,
1396   refusalReason: Option[String],
1397   tags: Seq[IndexedTag] = Seq.empty,
1398   createdAt: ZonedDateTime,
1399   agreementRate: Double,
1400   context: ProposalListResponse.Context,
1401   votes: Seq[ProposalListResponse.Vote],
1402   votesCount: Int
1403 )
1404 
1405 object ProposalListResponse extends CirceFormatters {
1406 
1407   def apply(proposal: IndexedProposal): ProposalListResponse =
1408     ProposalListResponse(
1409       id = proposal.id,
1410       author = Author(proposal),
1411       content = proposal.contentGeneral,
1412       contentTranslations = proposal.content,
1413       submittedAsLanguage = proposal.submittedAsLanguage,
1414       status = proposal.status,
1415       proposalType = proposal.proposalType,
1416       refusalReason = proposal.refusalReason,
1417       tags = proposal.tags,
1418       createdAt = proposal.createdAt,
1419       agreementRate = proposal.agreementRate,
1420       context = Context(proposal.context),
1421       votes = proposal.votes.deprecatedVotesSeq.map(Vote.apply),
1422       votesCount = proposal.votesCount
1423     )
1424 
1425   final case class Author(
1426     @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
1427     id: UserId,
1428     @(ApiModelProperty @field)(dataType = "string", required = true, allowableValues = UserType.swaggerAllowableValues)
1429     userType: UserType,
1430     displayName: Option[String],
1431     @(ApiModelProperty @field)(dataType = "int", example = "42") age: Option[Int]
1432   )
1433 
1434   object Author {
1435     def apply(proposal: IndexedProposal): Author =
1436       Author(
1437         id = proposal.author.userId,
1438         userType = proposal.author.userType,
1439         displayName = proposal.author.displayName,
1440         age = proposal.author.age
1441       )
1442     implicit val codec: Codec[Author] = deriveCodec
1443   }
1444 
1445   final case class Context(
1446     source: Option[String],
1447     questionSlug: Option[String],
1448     @(ApiModelProperty @field)(dataType = "string", example = "FR") country: Option[Country],
1449     @(ApiModelProperty @field)(dataType = "string", example = "fr") questionLanguage: Option[Language],
1450     @(ApiModelProperty @field)(dataType = "string", example = "fr") proposalLanguage: Option[Language],
1451     @(ApiModelProperty @field)(dataType = "string", example = "fr") clientLanguage: Option[Language]
1452   )
1453 
1454   object Context {
1455     def apply(context: Option[IndexedContext]): Context =
1456       Context(
1457         source = context.flatMap(_.source),
1458         questionSlug = context.flatMap(_.questionSlug),
1459         country = context.flatMap(_.country),
1460         questionLanguage = context.flatMap(_.questionLanguage),
1461         proposalLanguage = context.flatMap(_.proposalLanguage),
1462         clientLanguage = context.flatMap(_.clientLanguage)
1463       )
1464     implicit val codec: Codec[Context] = deriveCodec
1465   }
1466 
1467   final case class Vote(
1468     @(ApiModelProperty @field)(dataType = "string", required = true, allowableValues = VoteKey.swaggerAllowableValues)
1469     key: VoteKey,
1470     count: Int,
1471     qualifications: Seq[Qualification]
1472   )
1473 
1474   object Vote {
1475     def apply(vote: ProposalVote): Vote =
1476       Vote(key = vote.key, count = vote.count, qualifications = vote.qualifications.map(Qualification.apply))
1477 
1478     implicit val codec: Codec[Vote] = deriveCodec
1479   }
1480 
1481   final case class Qualification(
1482     @(ApiModelProperty @field)(
1483       dataType = "string",
1484       required = true,
1485       allowableValues = QualificationKey.swaggerAllowableValues
1486     )
1487     key: QualificationKey,
1488     count: Int
1489   )
1490 
1491   object Qualification {
1492     def apply(qualification: ProposalQualification): Qualification =
1493       Qualification(key = qualification.key, count = qualification.count)
1494     implicit val codec: Codec[Qualification] = deriveCodec
1495   }
1496 
1497   implicit val codec: Codec[ProposalListResponse] = deriveCodec
1498 
1499 }
Line Stmt Id Pos Tree Symbol Tests Code
560 35917 18830 - 18881 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)
560 30685 18830 - 18848 Select org.make.api.proposal.ModerationProposalApi.searchAllProposals org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.searchAllProposals
561 45809 18830 - 18904 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)
561 44782 18857 - 18881 Select org.make.api.proposal.ModerationProposalApi.legacySearchAllProposals org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.legacySearchAllProposals
562 49685 18890 - 18904 Select org.make.api.proposal.ModerationProposalApi.updateProposal org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.updateProposal
562 51325 18830 - 18927 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)
563 35336 18830 - 18950 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)
563 38015 18913 - 18927 Select org.make.api.proposal.ModerationProposalApi.acceptProposal org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.acceptProposal
564 43196 18936 - 18950 Select org.make.api.proposal.ModerationProposalApi.refuseProposal org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.refuseProposal
564 44818 18830 - 18975 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)
565 49726 18830 - 18988 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)
565 31438 18959 - 18975 Select org.make.api.proposal.ModerationProposalApi.postponeProposal org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.postponeProposal
566 36972 18984 - 18988 Select org.make.api.proposal.ModerationProposalApi.lock org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.lock
566 37443 18830 - 19009 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)
567 41874 18997 - 19009 Select org.make.api.proposal.ModerationProposalApi.lockMultiple org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.lockMultiple
567 42961 18830 - 19037 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)).~(ModerationProposalApi.this.changeProposalsIdea)
568 51360 19018 - 19037 Select org.make.api.proposal.ModerationProposalApi.changeProposalsIdea org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.changeProposalsIdea
568 30643 18830 - 19067 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)).~(ModerationProposalApi.this.changeProposalsIdea)).~(ModerationProposalApi.this.getModerationProposal)
569 35381 19046 - 19067 Select org.make.api.proposal.ModerationProposalApi.getModerationProposal org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.getModerationProposal
569 37008 18830 - 19096 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)).~(ModerationProposalApi.this.changeProposalsIdea)).~(ModerationProposalApi.this.getModerationProposal)).~(ModerationProposalApi.this.nextAuthorToModerate)
570 41910 18830 - 19127 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)).~(ModerationProposalApi.this.changeProposalsIdea)).~(ModerationProposalApi.this.getModerationProposal)).~(ModerationProposalApi.this.nextAuthorToModerate)).~(ModerationProposalApi.this.nextProposalToModerate)
570 43979 19076 - 19096 Select org.make.api.proposal.ModerationProposalApi.nextAuthorToModerate org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.nextAuthorToModerate
571 50516 18830 - 19154 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)).~(ModerationProposalApi.this.changeProposalsIdea)).~(ModerationProposalApi.this.getModerationProposal)).~(ModerationProposalApi.this.nextAuthorToModerate)).~(ModerationProposalApi.this.nextProposalToModerate)).~(ModerationProposalApi.this.getTagsForProposal)
571 49477 19105 - 19127 Select org.make.api.proposal.ModerationProposalApi.nextProposalToModerate org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.nextProposalToModerate
572 35124 18830 - 19178 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)).~(ModerationProposalApi.this.changeProposalsIdea)).~(ModerationProposalApi.this.getModerationProposal)).~(ModerationProposalApi.this.nextAuthorToModerate)).~(ModerationProposalApi.this.nextProposalToModerate)).~(ModerationProposalApi.this.getTagsForProposal)).~(ModerationProposalApi.this.bulkTagProposal)
572 37481 19136 - 19154 Select org.make.api.proposal.ModerationProposalApi.getTagsForProposal org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.getTagsForProposal
573 42997 19163 - 19178 Select org.make.api.proposal.ModerationProposalApi.bulkTagProposal org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.bulkTagProposal
573 44014 18830 - 19208 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)).~(ModerationProposalApi.this.changeProposalsIdea)).~(ModerationProposalApi.this.getModerationProposal)).~(ModerationProposalApi.this.nextAuthorToModerate)).~(ModerationProposalApi.this.nextProposalToModerate)).~(ModerationProposalApi.this.getTagsForProposal)).~(ModerationProposalApi.this.bulkTagProposal)).~(ModerationProposalApi.this.bulkDeleteTagProposal)
574 49512 18830 - 19244 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this._enhanceRouteWithConcatenation(ModerationProposalApi.this.searchAllProposals).~(ModerationProposalApi.this.legacySearchAllProposals)).~(ModerationProposalApi.this.updateProposal)).~(ModerationProposalApi.this.acceptProposal)).~(ModerationProposalApi.this.refuseProposal)).~(ModerationProposalApi.this.postponeProposal)).~(ModerationProposalApi.this.lock)).~(ModerationProposalApi.this.lockMultiple)).~(ModerationProposalApi.this.changeProposalsIdea)).~(ModerationProposalApi.this.getModerationProposal)).~(ModerationProposalApi.this.nextAuthorToModerate)).~(ModerationProposalApi.this.nextProposalToModerate)).~(ModerationProposalApi.this.getTagsForProposal)).~(ModerationProposalApi.this.bulkTagProposal)).~(ModerationProposalApi.this.bulkDeleteTagProposal)).~(ModerationProposalApi.this.bulkRefuseInitialsProposals)
574 30673 19187 - 19208 Select org.make.api.proposal.ModerationProposalApi.bulkDeleteTagProposal org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.bulkDeleteTagProposal
575 36927 19217 - 19244 Select org.make.api.proposal.ModerationProposalApi.bulkRefuseInitialsProposals org.make.api.proposal.moderationproposalapitest ModerationProposalApi.this.bulkRefuseInitialsProposals
602 50557 20085 - 20118 Apply akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map org.make.api.proposal.moderationproposalapitest server.this.PathMatcher.PathMatcher1Ops[String](DefaultModerationProposalApi.this.Segment).map[org.make.core.proposal.ProposalId](((id: String) => org.make.core.proposal.ProposalId.apply(id)))
602 41406 20085 - 20092 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.Segment
602 37236 20103 - 20117 Apply org.make.core.proposal.ProposalId.apply org.make.api.proposal.moderationproposalapitest org.make.core.proposal.ProposalId.apply(id)
605 42773 20176 - 20890 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("GetModerationProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((moderationProposalResponse: org.make.api.proposal.ModerationProposalResponse) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId)).apply(DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))
605 43451 20176 - 20179 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.get
606 47939 20210 - 20221 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
606 49984 20222 - 20222 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
606 41164 20195 - 20244 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])
606 37276 20190 - 20245 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]))
606 36965 20224 - 20244 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.moderationProposalId org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.moderationProposalId
606 35164 20195 - 20207 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
606 43768 20208 - 20208 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
606 51071 20194 - 20194 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
606 50299 20190 - 20882 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("GetModerationProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((moderationProposalResponse: org.make.api.proposal.ModerationProposalResponse) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId)).apply(DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))
607 36724 20285 - 20285 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
607 43806 20272 - 20310 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("GetModerationProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
607 33273 20272 - 20872 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("GetModerationProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((moderationProposalResponse: org.make.api.proposal.ModerationProposalResponse) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId)).apply(DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))
607 35365 20272 - 20272 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
607 47683 20272 - 20272 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
607 43486 20286 - 20309 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "GetModerationProposal"
608 50021 20330 - 20340 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultModerationProposalApiComponent.this.makeOAuth2
608 41692 20330 - 20860 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((moderationProposalResponse: org.make.api.proposal.ModerationProposalResponse) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId)).apply(DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))
608 41898 20330 - 20330 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
609 51106 20387 - 20419 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)
609 37035 20409 - 20418 Select scalaoauth2.provider.AuthInfo.user auth.user
609 49261 20387 - 20846 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((moderationProposalResponse: org.make.api.proposal.ModerationProposalResponse) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId)).apply(DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))
611 43246 20438 - 20510 Apply org.make.api.proposal.ProposalService.getModerationProposalById DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)
612 35117 20438 - 20551 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound
612 48430 20530 - 20530 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
613 36796 20438 - 20830 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](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((moderationProposalResponse: org.make.api.proposal.ModerationProposalResponse) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId)).apply(DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))
615 49500 20650 - 20723 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId)
615 44329 20674 - 20683 Select scalaoauth2.provider.AuthInfo.user auth.user
615 43757 20650 - 20810 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, moderationProposalResponse.questionId)).apply(DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))
615 36761 20685 - 20722 Select org.make.api.proposal.ModerationProposalResponse.questionId moderationProposalResponse.questionId
616 35151 20759 - 20785 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))
616 50866 20759 - 20759 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])
616 48189 20750 - 20786 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](moderationProposalResponse)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))
616 41654 20759 - 20759 Select org.make.api.proposal.ModerationProposalResponse.codec proposal.this.ModerationProposalResponse.codec
616 43283 20759 - 20759 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))
616 34081 20759 - 20759 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]
627 34911 20957 - 20960 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.get
627 31321 20957 - 27489 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("legacy"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("SearchAll", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("source").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("location").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("question").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Double](DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac20[Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], createdBefore: Option[java.time.ZonedDateTime], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], questionIds: Option[Seq[org.make.core.question.QuestionId]], ideaId: Option[Seq[org.make.core.idea.IdeaId]], content: Option[String], source: Option[String], location: Option[String], question: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], minVotesCount: Option[Int], toEnrich: Option[Boolean], minScore: Option[Double], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], userTypes: Option[Seq[org.make.core.user.UserType]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], userId: Option[org.make.core.user.UserId]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac4[Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]]): _*)); val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); 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 = tagsIds; <artifact> val x$4: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$5: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = resolvedQuestions; <artifact> val x$6: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$9: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$10: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = minVotesCount; <artifact> val x$11: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = toEnrich; <artifact> val x$12: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = minScore; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$14: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$16: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$17: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$18: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = createdBefore; <artifact> val x$20: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$23: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <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$23, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((x$4: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])))))) })))))))))))
628 33315 20976 - 21013 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("legacy"))(TupleOps.this.Join.join0P[Unit])
628 39816 20991 - 21002 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
628 39457 20971 - 27481 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("legacy"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("SearchAll", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("source").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("location").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("question").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Double](DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac20[Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], createdBefore: Option[java.time.ZonedDateTime], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], questionIds: Option[Seq[org.make.core.question.QuestionId]], ideaId: Option[Seq[org.make.core.idea.IdeaId]], content: Option[String], source: Option[String], location: Option[String], question: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], minVotesCount: Option[Int], toEnrich: Option[Boolean], minScore: Option[Double], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], userTypes: Option[Seq[org.make.core.user.UserType]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], userId: Option[org.make.core.user.UserId]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac4[Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]]): _*)); val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); 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 = tagsIds; <artifact> val x$4: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$5: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = resolvedQuestions; <artifact> val x$6: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$9: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$10: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = minVotesCount; <artifact> val x$11: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = toEnrich; <artifact> val x$12: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = minScore; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$14: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$16: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$17: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$18: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = createdBefore; <artifact> val x$20: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$23: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <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$23, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((x$4: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])))))) }))))))))))
628 50339 20971 - 21014 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("legacy"))(TupleOps.this.Join.join0P[Unit]))
628 35951 20989 - 20989 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
628 48227 20976 - 20988 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
628 41453 21003 - 21003 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
628 49297 21005 - 21013 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("legacy")
629 34948 21027 - 21027 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
629 47319 21027 - 27471 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("SearchAll", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("source").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("location").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("question").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Double](DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac20[Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], createdBefore: Option[java.time.ZonedDateTime], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], questionIds: Option[Seq[org.make.core.question.QuestionId]], ideaId: Option[Seq[org.make.core.idea.IdeaId]], content: Option[String], source: Option[String], location: Option[String], question: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], minVotesCount: Option[Int], toEnrich: Option[Boolean], minScore: Option[Double], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], userTypes: Option[Seq[org.make.core.user.UserType]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], userId: Option[org.make.core.user.UserId]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac4[Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]]): _*)); val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); 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 = tagsIds; <artifact> val x$4: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$5: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = resolvedQuestions; <artifact> val x$6: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$9: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$10: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = minVotesCount; <artifact> val x$11: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = toEnrich; <artifact> val x$12: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = minScore; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$14: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$16: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$17: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$18: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = createdBefore; <artifact> val x$20: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$23: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <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$23, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((x$4: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])))))) })))))))))
629 39853 21027 - 21053 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("SearchAll", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
629 35992 21040 - 21040 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
629 48732 21027 - 21027 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
629 43235 21041 - 21052 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "SearchAll"
630 41485 21086 - 21086 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
630 49764 21086 - 21096 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultModerationProposalApiComponent.this.makeOAuth2
630 51202 21086 - 27459 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("source").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("location").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("question").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Double](DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac20[Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], createdBefore: Option[java.time.ZonedDateTime], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], questionIds: Option[Seq[org.make.core.question.QuestionId]], ideaId: Option[Seq[org.make.core.idea.IdeaId]], content: Option[String], source: Option[String], location: Option[String], question: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], minVotesCount: Option[Int], toEnrich: Option[Boolean], minScore: Option[Double], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], userTypes: Option[Seq[org.make.core.user.UserType]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], userId: Option[org.make.core.user.UserId]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac4[Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]]): _*)); val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); 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 = tagsIds; <artifact> val x$4: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$5: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = resolvedQuestions; <artifact> val x$6: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$9: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$10: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = minVotesCount; <artifact> val x$11: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = toEnrich; <artifact> val x$12: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = minScore; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$14: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$16: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$17: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$18: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = createdBefore; <artifact> val x$20: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$23: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <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$23, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((x$4: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])))))) })))))))
631 33351 21169 - 21182 Select scalaoauth2.provider.AuthInfo.user userAuth.user
631 50086 21147 - 21183 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)
631 37416 21147 - 27445 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("source").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("location").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("question").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Double](DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac20[Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], createdBefore: Option[java.time.ZonedDateTime], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], questionIds: Option[Seq[org.make.core.question.QuestionId]], ideaId: Option[Seq[org.make.core.idea.IdeaId]], content: Option[String], source: Option[String], location: Option[String], question: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], minVotesCount: Option[Int], toEnrich: Option[Boolean], minScore: Option[Double], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], userTypes: Option[Seq[org.make.core.user.UserType]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], userId: Option[org.make.core.user.UserId]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac4[Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]]): _*)); val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); 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 = tagsIds; <artifact> val x$4: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$5: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = resolvedQuestions; <artifact> val x$6: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$9: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$10: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = minVotesCount; <artifact> val x$11: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = toEnrich; <artifact> val x$12: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = minScore; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$14: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$16: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$17: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$18: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = createdBefore; <artifact> val x$20: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$23: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <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$23, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((x$4: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])))))) })))))
632 39915 21202 - 22127 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("source").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("location").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("question").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Double](DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)))
632 32631 21212 - 21212 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac20 util.this.ApplyConverter.hac20[Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId]]
633 35411 21232 - 21267 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?
633 43273 21232 - 21245 Literal <nosymbol> "proposalIds"
633 36520 21266 - 21266 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller))
633 49804 21232 - 21267 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller)))
633 39890 21266 - 21266 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller)
633 48774 21266 - 21266 Select org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller
634 41407 21287 - 21302 Literal <nosymbol> "createdBefore"
634 43031 21321 - 21321 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller)
634 34420 21287 - 21322 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?
634 35446 21287 - 21322 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller))
634 46412 21321 - 21321 Select org.make.core.ParameterExtractors.zonedDateTimeFromStringUnmarshaller DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller
635 40952 21342 - 21374 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType]
635 49550 21342 - 21374 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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType])))
635 36555 21360 - 21360 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))
635 48212 21342 - 21356 Literal <nosymbol> "proposalType"
636 47975 21394 - 21420 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller)))
636 46910 21419 - 21419 Select org.make.core.ParameterExtractors.tagIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller
636 43069 21419 - 21419 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller)
636 34665 21419 - 21419 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller))
636 33858 21394 - 21420 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?
636 41444 21394 - 21403 Literal <nosymbol> "tagsIds"
637 36317 21440 - 21471 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?
637 33610 21440 - 21471 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller))
637 40377 21440 - 21453 Literal <nosymbol> "operationId"
637 41474 21470 - 21470 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller)
637 49587 21470 - 21470 Select org.make.core.ParameterExtractors.operationIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller
638 31996 21491 - 21525 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller)))
638 34705 21524 - 21524 Select org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller
638 46368 21491 - 21503 Literal <nosymbol> "questionId"
638 42817 21491 - 21525 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?
638 48006 21524 - 21524 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller)
638 40909 21524 - 21524 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller))
639 41237 21545 - 21571 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?
639 47424 21570 - 21570 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller)
639 49089 21545 - 21553 Literal <nosymbol> "ideaId"
639 34737 21545 - 21571 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller)))
639 33645 21570 - 21570 Select org.make.core.ParameterExtractors.ideaIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller
639 42257 21570 - 21570 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller))
640 47762 21591 - 21600 Literal <nosymbol> "content"
640 49538 21601 - 21601 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])
640 33068 21601 - 21601 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]
640 40942 21591 - 21602 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("content").?
640 41270 21591 - 21602 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]))
641 47801 21622 - 21632 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("source").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]))
641 34174 21622 - 21630 Literal <nosymbol> "source"
641 38576 21631 - 21631 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]
641 35187 21631 - 21631 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])
641 47461 21622 - 21632 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("source").?
642 40698 21652 - 21662 Literal <nosymbol> "location"
642 41724 21663 - 21663 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])
642 49576 21663 - 21663 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]
642 34210 21652 - 21664 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("location").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]))
642 33106 21652 - 21664 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("location").?
643 39098 21684 - 21696 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("question").?
643 47208 21684 - 21694 Literal <nosymbol> "question"
643 47713 21695 - 21695 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])
643 35230 21695 - 21695 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]
643 40735 21684 - 21696 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("question").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]))
644 31822 21716 - 21724 Literal <nosymbol> "status"
644 41762 21728 - 21728 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))
644 49331 21716 - 21744 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus]
644 33352 21716 - 21744 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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus])))
645 40154 21764 - 21789 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller))
645 47753 21788 - 21788 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller)
645 34982 21788 - 21788 Select akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.intFromStringUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller
645 39139 21764 - 21789 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?
645 47249 21764 - 21779 Literal <nosymbol> "minVotesCount"
646 45669 21809 - 21833 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?
646 40986 21832 - 21832 Select akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.booleanFromStringUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller
646 32342 21809 - 21819 Literal <nosymbol> "toEnrich"
646 46682 21809 - 21833 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller))
646 33394 21832 - 21832 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller)
647 38889 21853 - 21863 Literal <nosymbol> "minScore"
647 39926 21875 - 21875 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller)
647 35021 21853 - 21876 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?
647 47506 21875 - 21875 Select akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.doubleFromStringUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller
647 33094 21853 - 21876 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Double](DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller))
648 33428 21920 - 21920 Select org.make.core.ParameterExtractors.languageFromStringUnmarshaller DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller
648 45420 21896 - 21906 Literal <nosymbol> "language"
648 39630 21896 - 21921 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller))
648 41026 21896 - 21921 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?
648 47201 21920 - 21920 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)
649 39954 21963 - 21963 Select org.make.core.ParameterExtractors.countryFromStringUnmarshaller DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller
649 32846 21963 - 21963 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller)
649 47545 21941 - 21964 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?
649 46157 21941 - 21964 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller))
649 35555 21941 - 21950 Literal <nosymbol> "country"
650 47239 21998 - 21998 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))
650 41060 21984 - 21994 Literal <nosymbol> "userType"
650 39388 21984 - 22008 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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType])))
650 33179 21984 - 22008 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType]
651 31245 22028 - 22038 Literal <nosymbol> "keywords"
651 47583 22028 - 22068 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?
651 45370 22067 - 22067 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))
651 32883 22067 - 22067 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller)
651 41508 22028 - 22068 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller)))
651 40482 22067 - 22067 Select org.make.core.ParameterExtractors.proposalKeywordKeyFromStringUnmarshaller DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller
652 33216 22088 - 22096 Literal <nosymbol> "userId"
652 48040 22088 - 22109 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller))
652 39421 22108 - 22108 Select org.make.core.ParameterExtractors.userIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller
652 31282 22108 - 22108 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)
652 46994 22088 - 22109 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?
653 45697 21202 - 27429 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultModerationProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationProposalApi.this._string2NR("createdBefore").as[java.time.ZonedDateTime].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationProposalApiComponent.this.zonedDateTimeFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.ProposalType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultModerationProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultModerationProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultModerationProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultModerationProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultModerationProposalApi.this._string2NR("ideaId").as[Seq[org.make.core.idea.IdeaId]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultModerationProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("source").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("location").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("question").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultModerationProposalApi.this._string2NR("minVotesCount").as[Int].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Int](akka.http.scaladsl.unmarshalling.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultModerationProposalApi.this._string2NR("toEnrich").as[Boolean].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](akka.http.scaladsl.unmarshalling.Unmarshaller.booleanFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[Double](DefaultModerationProposalApi.this._string2NR("minScore").as[Double].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Double](akka.http.scaladsl.unmarshalling.Unmarshaller.doubleFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultModerationProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultModerationProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultModerationProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserType](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultModerationProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultModerationProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac20[Option[Seq[org.make.core.proposal.ProposalId]], Option[java.time.ZonedDateTime], Option[Seq[org.make.core.proposal.ProposalType]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.idea.IdeaId]], Option[String], Option[String], Option[String], Option[String], Option[Seq[org.make.core.proposal.ProposalStatus]], Option[Int], Option[Boolean], Option[Double], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[org.make.core.user.UserId]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], createdBefore: Option[java.time.ZonedDateTime], proposalTypes: Option[Seq[org.make.core.proposal.ProposalType]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], questionIds: Option[Seq[org.make.core.question.QuestionId]], ideaId: Option[Seq[org.make.core.idea.IdeaId]], content: Option[String], source: Option[String], location: Option[String], question: Option[String], status: Option[Seq[org.make.core.proposal.ProposalStatus]], minVotesCount: Option[Int], toEnrich: Option[Boolean], minScore: Option[Double], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], userTypes: Option[Seq[org.make.core.user.UserType]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], userId: Option[org.make.core.user.UserId]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac4[Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]]): _*)); val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); 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 = tagsIds; <artifact> val x$4: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$5: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = resolvedQuestions; <artifact> val x$6: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$9: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$10: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = minVotesCount; <artifact> val x$11: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = toEnrich; <artifact> val x$12: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = minScore; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$14: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$16: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$17: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$18: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = createdBefore; <artifact> val x$20: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$23: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <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$23, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((x$4: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])))))) }))))
676 34247 23214 - 23429 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))))
676 46230 23224 - 23224 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac4 util.this.ApplyConverter.hac4[Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]
677 39182 23248 - 23278 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller))
677 37833 23248 - 23278 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?
677 46436 23277 - 23277 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)
677 45413 23248 - 23255 Literal <nosymbol> "limit"
677 33130 23277 - 23277 Select org.make.core.ParameterExtractors.limitFromIntUnmarshaller DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller
678 32068 23331 - 23331 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)
678 39670 23331 - 23331 Select org.make.core.ParameterExtractors.startFromIntUnmarshaller DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller
678 31030 23302 - 23308 Literal <nosymbol> "skip"
678 45452 23302 - 23332 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller))
678 48080 23302 - 23332 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?
679 33168 23356 - 23364 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("sort").?
679 37588 23356 - 23362 Literal <nosymbol> "sort"
679 31071 23356 - 23364 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]))
679 39379 23363 - 23363 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])
679 46190 23363 - 23363 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]
680 37630 23388 - 23407 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
680 32103 23406 - 23406 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
680 45910 23406 - 23406 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
680 39709 23388 - 23407 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?
680 48600 23388 - 23395 Literal <nosymbol> "order"
681 32919 23214 - 27411 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultModerationProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultModerationProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("sort").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac4[Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => { org.make.core.Validation.validate((scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]]): _*)); val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); 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 = tagsIds; <artifact> val x$4: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$5: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = resolvedQuestions; <artifact> val x$6: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$9: Option[Seq[org.make.core.proposal.ProposalStatus]] @scala.reflect.internal.annotations.uncheckedBounds = status; <artifact> val x$10: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = minVotesCount; <artifact> val x$11: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = toEnrich; <artifact> val x$12: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = minScore; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$14: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$16: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$17: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$18: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = createdBefore; <artifact> val x$20: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userTypes; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$23: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <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$23, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((x$4: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])))))) }))
688 37578 23714 - 25192 Apply org.make.core.Validation.validate org.make.core.Validation.validate((scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]]): _*))
688 37541 23738 - 24248 Apply scala.Option.map country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode)))))
689 45942 23794 - 24222 Apply org.make.core.Validation.validChoices org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode)))
690 39409 23859 - 23868 Literal <nosymbol> "country"
691 31546 23908 - 24065 Apply scala.Some.apply scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String))
694 43617 24095 - 24112 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue)
695 32622 24142 - 24194 Apply scala.collection.IterableOps.map org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))
695 40774 24180 - 24193 Select org.make.core.CountryConfiguration.countryCode x$3.countryCode
697 40812 24250 - 25178 Apply scala.Option.map sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))
699 34281 24342 - 24745 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language")
710 44081 24772 - 25152 Apply org.make.core.Validation.validChoices org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices)
711 46267 24837 - 24843 Literal <nosymbol> "sort"
712 39172 24883 - 25043 Apply scala.Some.apply scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String))
715 31577 25073 - 25087 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[String](sortValue)
718 45704 23734 - 25187 ApplyToImplicitArgs scala.collection.IterableOps.flatten scala.`package`.Seq.apply[Option[org.make.core.Requirement]](country.map[org.make.core.Requirement](((countryValue: org.make.core.reference.Country) => org.make.core.Validation.validChoices[org.make.core.reference.Country]("country", scala.Some.apply[String](("Invalid country. Expected one of ".+(org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$2: org.make.core.CountryConfiguration) => x$2.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$3: org.make.core.CountryConfiguration) => x$3.countryCode))))), sort.map[org.make.core.Requirement](((sortValue: String) => { val choices: Seq[String] = scala.`package`.Seq.apply[String]("content", "slug", "status", "createdAt", "updatedAt", "trending", "labels", "country", "language"); org.make.core.Validation.validChoices[String]("sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(choices.mkString("\"", "\", \"", "\"")): String)), scala.`package`.Seq.apply[String](sortValue), choices) }))).flatten[org.make.core.Requirement](scala.Predef.$conforms[Option[org.make.core.Requirement]])
718 32657 25180 - 25180 TypeApply scala.Predef.$conforms scala.Predef.$conforms[Option[org.make.core.Requirement]]
721 46778 25299 - 25338 Apply scala.collection.SeqOps.contains userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)
721 33716 25328 - 25337 Select org.make.core.user.Role.RoleAdmin org.make.core.user.Role.RoleAdmin
722 39208 25370 - 25381 Ident org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.questionIds questionIds
725 44119 25506 - 25575 Apply scala.collection.IterableOps.filter questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id)))
725 30772 25529 - 25574 Apply scala.collection.SeqOps.contains userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id)
726 40232 25618 - 25650 Select org.make.core.auth.UserRights.availableQuestions userAuth.user.availableQuestions
726 45741 25445 - 25652 Apply scala.Option.orElse questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions))
726 37338 25445 - 25652 Block scala.Option.orElse questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions))
726 32421 25613 - 25651 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)
731 50659 25815 - 25882 Apply org.make.api.proposal.ContextFilterRequest.parse ContextFilterRequest.parse(operationId, source, location, question)
733 30811 25963 - 27072 Apply org.make.api.proposal.ExhaustiveSearchRequest.apply ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$23, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$24)
733 46218 25963 - 25963 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$4 ExhaustiveSearchRequest.apply$default$4
733 38971 25963 - 25963 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$24 ExhaustiveSearchRequest.apply$default$24
757 44155 27122 - 27175 Apply org.make.api.proposal.ExhaustiveSearchRequest.toSearchQuery exhaustiveSearchRequest.toSearchQuery(requestContext)
759 40763 27200 - 27304 Apply org.make.api.proposal.ProposalService.searchInIndex DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)
760 45499 27332 - 27332 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]
760 31850 27200 - 27343 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective
761 47278 27386 - 27386 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])
761 35797 27200 - 27389 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((x$4: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult]))))))
761 37375 27386 - 27386 Select org.make.core.proposal.indexed.ProposalsSearchResult.circeCodec indexed.this.ProposalsSearchResult.circeCodec
761 30568 27386 - 27387 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult])))
761 43912 27377 - 27388 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.proposal.indexed.ProposalsSearchResult](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult]))))
761 38397 27386 - 27386 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.marshaller[org.make.core.proposal.indexed.ProposalsSearchResult](indexed.this.ProposalsSearchResult.circeCodec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult]))
761 50694 27386 - 27386 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.core.proposal.indexed.ProposalsSearchResult]
771 47679 27542 - 30876 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("ModerationSearchAll", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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])](DefaultModerationProposalApi.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.reference.Language](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language])(DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac13[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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]], userId: Option[org.make.core.user.UserId], 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]], submittedAsLanguages: Option[Seq[org.make.core.reference.Language]], 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]) => { val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); 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 = resolvedQuestions; <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$5: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$5.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$6: org.make.core.technical.Pagination.End) => x$6.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[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$13: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = submittedAsLanguages; <artifact> val x$14: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$15: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$16: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$17: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$18: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$19: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$20: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$21: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$22: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$23: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$24: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$14, x$15, x$4, x$16, x$5, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$7, x$8, x$9, x$10, x$23, x$11, x$24, x$12, x$13) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]])))))) })))))))))
771 43950 27542 - 27545 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.get
772 36858 27559 - 27571 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
772 45731 27572 - 27572 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
772 32958 27574 - 27585 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
772 35625 27554 - 30870 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("ModerationSearchAll", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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])](DefaultModerationProposalApi.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.reference.Language](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language])(DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac13[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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]], userId: Option[org.make.core.user.UserId], 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]], submittedAsLanguages: Option[Seq[org.make.core.reference.Language]], 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]) => { val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); 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 = resolvedQuestions; <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$5: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$5.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$6: org.make.core.technical.Pagination.End) => x$6.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[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$13: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = submittedAsLanguages; <artifact> val x$14: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$15: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$16: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$17: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$18: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$19: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$20: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$21: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$22: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$23: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$24: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$14, x$15, x$4, x$16, x$5, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$7, x$8, x$9, x$10, x$23, x$11, x$24, x$12, x$13) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]])))))) }))))))))
772 51244 27554 - 27586 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit]))
772 37867 27559 - 27585 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])
773 43480 27597 - 30862 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("ModerationSearchAll", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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])](DefaultModerationProposalApi.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.reference.Language](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language])(DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac13[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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]], userId: Option[org.make.core.user.UserId], 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]], submittedAsLanguages: Option[Seq[org.make.core.reference.Language]], 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]) => { val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); 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 = resolvedQuestions; <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$5: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$5.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$6: org.make.core.technical.Pagination.End) => x$6.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[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$13: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = submittedAsLanguages; <artifact> val x$14: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$15: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$16: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$17: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$18: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$19: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$20: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$21: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$22: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$23: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$24: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$14, x$15, x$4, x$16, x$5, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$7, x$8, x$9, x$10, x$23, x$11, x$24, x$12, x$13) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]])))))) })))))))
773 47067 27611 - 27632 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "ModerationSearchAll"
773 31351 27597 - 27597 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
773 38959 27597 - 27597 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
773 36898 27610 - 27610 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
773 43863 27597 - 27633 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("ModerationSearchAll", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
774 32705 27664 - 27674 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultModerationProposalApiComponent.this.makeOAuth2
774 51064 27664 - 30852 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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])](DefaultModerationProposalApi.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.reference.Language](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language])(DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac13[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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]], userId: Option[org.make.core.user.UserId], 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]], submittedAsLanguages: Option[Seq[org.make.core.reference.Language]], 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]) => { val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); 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 = resolvedQuestions; <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$5: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$5.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$6: org.make.core.technical.Pagination.End) => x$6.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[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$13: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = submittedAsLanguages; <artifact> val x$14: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$15: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$16: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$17: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$18: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$19: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$20: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$21: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$22: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$23: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$24: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$14, x$15, x$4, x$16, x$5, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$7, x$8, x$9, x$10, x$23, x$11, x$24, x$12, x$13) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]])))))) })))))
774 45488 27664 - 27664 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
775 50400 27723 - 27759 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)
775 37902 27745 - 27758 Select scalaoauth2.provider.AuthInfo.user userAuth.user
775 33276 27723 - 30840 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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])](DefaultModerationProposalApi.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.reference.Language](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language])(DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac13[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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]], userId: Option[org.make.core.user.UserId], 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]], submittedAsLanguages: Option[Seq[org.make.core.reference.Language]], 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]) => { val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); 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 = resolvedQuestions; <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$5: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$5.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$6: org.make.core.technical.Pagination.End) => x$6.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[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$13: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = submittedAsLanguages; <artifact> val x$14: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$15: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$16: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$17: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$18: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$19: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$20: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$21: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$22: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$23: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$24: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$14, x$15, x$4, x$16, x$5, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$7, x$8, x$9, x$10, x$23, x$11, x$24, x$12, x$13) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]])))))) })))
776 35874 27776 - 28377 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters DefaultModerationProposalApi.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.reference.Language](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language])(DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))))
776 48888 27786 - 27786 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac13 util.this.ApplyConverter.hac13[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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]]
777 31109 27812 - 27812 Select org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller
777 43421 27804 - 27808 Literal <nosymbol> "id"
777 38998 27804 - 27824 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.proposal.ProposalId]
777 43902 27804 - 27824 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])(DefaultModerationProposalApiComponent.this.proposalIdFromStringUnmarshaller)
778 45525 27858 - 27858 Select org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller
778 37127 27842 - 27870 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])(DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller)
778 36056 27842 - 27854 Literal <nosymbol> "questionId"
778 32207 27842 - 27870 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("questionId").csv[org.make.core.question.QuestionId]
779 50436 27888 - 27896 Literal <nosymbol> "userId"
779 31143 27908 - 27908 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)
779 43650 27888 - 27909 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller))
779 38754 27908 - 27908 Select org.make.core.ParameterExtractors.userIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller
779 42569 27888 - 27909 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?
780 45274 27937 - 27937 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]
780 32946 27927 - 27938 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("content").?
780 50192 27927 - 27938 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String]))
780 36091 27927 - 27936 Literal <nosymbol> "content"
780 37168 27937 - 27937 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller[String])
781 30898 27968 - 27968 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus]))
781 43374 27956 - 27964 Literal <nosymbol> "status"
781 39483 27956 - 27984 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("status").csv[org.make.core.proposal.ProposalStatus]
781 43690 27956 - 27984 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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalStatus]((ProposalStatus: enumeratum.values.StringEnum[org.make.core.proposal.ProposalStatus])))
782 46019 28016 - 28016 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))
782 49904 28002 - 28026 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("userType").csv[org.make.core.user.UserType]
782 36128 28002 - 28012 Literal <nosymbol> "userType"
782 38221 28002 - 28026 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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType])))
783 50232 28044 - 28058 Literal <nosymbol> "proposalType"
783 43409 28044 - 28076 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("proposalType").csv[org.make.core.proposal.ProposalType]
783 39246 28062 - 28062 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType]))
783 31096 28044 - 28076 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])(DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.ProposalType]((ProposalType: enumeratum.values.StringEnum[org.make.core.proposal.ProposalType])))
784 49945 28105 - 28105 Select org.make.core.ParameterExtractors.tagIdFromStringUnmarshaller DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller
784 44747 28094 - 28101 Literal <nosymbol> "tagId"
784 45775 28094 - 28112 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])(DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller)
784 36651 28094 - 28112 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId]
785 43166 28156 - 28156 Select org.make.core.ParameterExtractors.languageFromStringUnmarshaller DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller
785 50271 28130 - 28166 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language]
785 37655 28130 - 28152 Literal <nosymbol> "submittedAsLanguages"
785 35591 28130 - 28166 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.reference.Language](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language])(DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller)
786 45262 28184 - 28216 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller))
786 49688 28215 - 28215 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)
786 44191 28184 - 28216 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
786 36687 28215 - 28215 Select org.make.core.ParameterExtractors.startFromIntUnmarshaller DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller
786 30849 28184 - 28192 Literal <nosymbol> "_start"
787 50182 28234 - 28261 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
787 35342 28260 - 28260 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller)
787 37692 28234 - 28240 Literal <nosymbol> "_end"
787 43203 28260 - 28260 Select org.make.core.ParameterExtractors.endFromIntUnmarshaller DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller
787 30887 28234 - 28261 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller))
788 45022 28322 - 28322 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))
788 35835 28279 - 28323 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?
788 44223 28279 - 28286 Literal <nosymbol> "_sort"
788 37449 28279 - 28323 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]))))
788 49732 28322 - 28322 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]))
789 42357 28341 - 28361 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?
789 44737 28341 - 28361 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
789 50222 28341 - 28349 Literal <nosymbol> "_order"
789 30926 28360 - 28360 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
789 34832 28360 - 28360 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
790 41161 27776 - 30826 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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])](DefaultModerationProposalApi.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.questionIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultModerationProposalApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultModerationProposalApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationProposalApi.this._string2NR("content").?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, String](akka.http.scaladsl.unmarshalling.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.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])(DefaultModerationProposalApiComponent.this.tagIdFromStringUnmarshaller), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.reference.Language](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("submittedAsLanguages").csv[org.make.core.reference.Language])(DefaultModerationProposalApiComponent.this.languageFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationProposalApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationProposalApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationProposalApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApi.this._string2NR("_sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApi.this._string2NR("_order").as[org.make.core.Order].?)(akka.http.scaladsl.unmarshalling.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac13[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[org.make.core.user.UserId], 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[Seq[org.make.core.reference.Language]], 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]], userId: Option[org.make.core.user.UserId], 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]], submittedAsLanguages: Option[Seq[org.make.core.reference.Language]], 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]) => { val resolvedQuestions: Option[Seq[org.make.core.question.QuestionId]] = if (userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)) questionIds else questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)); 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 = resolvedQuestions; <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$5: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$5.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$6: org.make.core.technical.Pagination.End) => x$6.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[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userId; <artifact> val x$13: Option[Seq[org.make.core.reference.Language]] @scala.reflect.internal.annotations.uncheckedBounds = submittedAsLanguages; <artifact> val x$14: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$4; <artifact> val x$15: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$5; <artifact> val x$16: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$7; <artifact> val x$17: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$9; <artifact> val x$18: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$11; <artifact> val x$19: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$12; <artifact> val x$20: Option[Double] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$13; <artifact> val x$21: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$14; <artifact> val x$22: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$15; <artifact> val x$23: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$20; <artifact> val x$24: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = ExhaustiveSearchRequest.apply$default$22; ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$14, x$15, x$4, x$16, x$5, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$7, x$8, x$9, x$10, x$23, x$11, x$24, x$12, x$13) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]])))))) }))
807 37486 29188 - 29227 Apply scala.collection.SeqOps.contains userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)
807 41369 29217 - 29226 Select org.make.core.user.Role.RoleAdmin org.make.core.user.Role.RoleAdmin
808 51281 29253 - 29264 Ident org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.questionIds questionIds
811 35294 29371 - 29440 Apply scala.collection.IterableOps.filter questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id)))
811 42392 29394 - 29439 Apply scala.collection.SeqOps.contains userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id)
812 30677 29477 - 29509 Select org.make.core.auth.UserRights.availableQuestions userAuth.user.availableQuestions
812 36933 29316 - 29511 Apply scala.Option.orElse questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions))
812 49680 29316 - 29511 Block scala.Option.orElse questionIds.map[Seq[org.make.core.question.QuestionId]](((questions: Seq[org.make.core.question.QuestionId]) => questions.filter(((id: org.make.core.question.QuestionId) => userAuth.user.availableQuestions.contains[org.make.core.question.QuestionId](id))))).orElse[Seq[org.make.core.question.QuestionId]](scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions))
812 44778 29472 - 29510 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.question.QuestionId]](userAuth.user.availableQuestions)
816 49718 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$9 ExhaustiveSearchRequest.apply$default$9
816 36730 29603 - 30237 Apply org.make.api.proposal.ExhaustiveSearchRequest.apply ExhaustiveSearchRequest.apply(x$1, x$2, x$3, x$14, x$15, x$4, x$16, x$5, x$17, x$6, x$18, x$19, x$20, x$21, x$22, x$7, x$8, x$9, x$10, x$23, x$11, x$24, x$12, x$13)
816 48399 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$20 ExhaustiveSearchRequest.apply$default$20
816 31433 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$4 ExhaustiveSearchRequest.apply$default$4
816 36969 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$7 ExhaustiveSearchRequest.apply$default$7
816 51075 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$13 ExhaustiveSearchRequest.apply$default$13
816 41869 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$11 ExhaustiveSearchRequest.apply$default$11
816 37437 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$12 ExhaustiveSearchRequest.apply$default$12
816 44539 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$5 ExhaustiveSearchRequest.apply$default$5
816 35370 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$15 ExhaustiveSearchRequest.apply$default$15
816 43974 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$22 ExhaustiveSearchRequest.apply$default$22
816 42957 29603 - 29603 Select org.make.api.proposal.ExhaustiveSearchRequest.apply$default$14 ExhaustiveSearchRequest.apply$default$14
823 38011 29920 - 29937 Apply scala.Option.map sort.map[String](((x$5: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$5.field))
823 42111 29929 - 29936 Select org.make.core.elasticsearch.ElasticsearchFieldName.field x$5.field
825 51321 30020 - 30033 Select org.make.core.technical.Pagination.RichOptionOffset.orZero technical.this.Pagination.RichOptionOffset(offset).orZero
825 43455 30010 - 30034 Apply org.make.core.technical.Pagination.End.toLimit x$6.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero)
825 35332 30002 - 30035 Apply scala.Option.map end.map[org.make.core.technical.Pagination.Limit](((x$6: org.make.core.technical.Pagination.End) => x$6.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero)))
832 49473 30307 - 30360 Apply org.make.api.proposal.ExhaustiveSearchRequest.toSearchQuery exhaustiveSearchRequest.toSearchQuery(requestContext)
832 41903 30256 - 30377 Apply org.make.api.proposal.ProposalService.searchInIndex DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)
833 50511 30399 - 30399 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]
833 37197 30256 - 30410 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)).asDirective
834 49977 30256 - 30810 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(exhaustiveSearchRequest.toSearchQuery(requestContext), requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => DefaultModerationProposalApi.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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]]))))))
836 36959 30498 - 30788 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]]))))
837 41659 30534 - 30762 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.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal))))
837 50552 30534 - 30534 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec)
837 33529 30534 - 30534 Select org.make.api.proposal.ProposalListResponse.codec proposal.this.ProposalListResponse.codec
837 43446 30534 - 30534 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]]
837 35158 30534 - 30534 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]])
837 43762 30534 - 30762 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.ProposalListResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.proposal.ProposalListResponse]](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.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]])))
837 47640 30534 - 30534 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.proposal.ProposalListResponse]](DefaultModerationProposalApiComponent.this.marshaller[Seq[org.make.api.proposal.ProposalListResponse]](circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse](proposal.this.ProposalListResponse.codec), DefaultModerationProposalApiComponent.this.marshaller$default$2[Seq[org.make.api.proposal.ProposalListResponse]]))
838 42991 30564 - 30578 Select akka.http.scaladsl.model.StatusCodes.OK akka.http.scaladsl.model.StatusCodes.OK
839 47894 30613 - 30654 Apply akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply org.make.api.technical.X-Total-Count.apply(proposals.total.toString())
839 35120 30629 - 30653 Apply scala.Any.toString proposals.total.toString()
839 43723 30608 - 30655 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()))
840 49506 30685 - 30734 Apply scala.collection.IterableOps.map proposals.results.map[org.make.api.proposal.ProposalListResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => ProposalListResponse.apply(proposal)))
840 36921 30707 - 30733 Apply org.make.api.proposal.ProposalListResponse.apply ProposalListResponse.apply(proposal)
851 43801 30914 - 30953 Select org.make.core.BusinessConfig.defaultProposalMaxLength org.make.api.proposal.moderationproposalapitest org.make.core.BusinessConfig.defaultProposalMaxLength
852 36719 31001 - 31051 Select org.make.core.BusinessConfig.defaultProposalTranslationMaxLength org.make.api.proposal.moderationproposalapitest org.make.core.BusinessConfig.defaultProposalTranslationMaxLength
853 50015 31088 - 31131 Select org.make.core.FrontConfiguration.defaultProposalMinLength org.make.api.proposal.moderationproposalapitest org.make.core.FrontConfiguration.defaultProposalMinLength
855 46988 31174 - 34794 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("EditProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalRequest]).apply(((request: org.make.api.proposal.UpdateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } }))))))))))))))))
855 41608 31174 - 31177 Select akka.http.scaladsl.server.directives.MethodDirectives.put org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.put
856 35112 31220 - 31240 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.moderationProposalId DefaultModerationProposalApi.this.moderationProposalId
856 36757 31186 - 31241 Apply akka.http.scaladsl.server.directives.PathDirectives.path DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]))
856 49769 31190 - 31190 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
856 33640 31186 - 34788 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("EditProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalRequest]).apply(((request: org.make.api.proposal.UpdateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))))))))))
856 43240 31204 - 31204 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P TupleOps.this.Join.join0P[Unit]
856 33320 31191 - 31203 Literal <nosymbol> "moderation"
856 40611 31191 - 31240 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])
856 51101 31206 - 31217 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
856 48146 31218 - 31218 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
857 34870 31279 - 31279 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
857 41649 31280 - 31294 Literal <nosymbol> "EditProposal"
857 37794 31266 - 34780 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("EditProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalRequest]).apply(((request: org.make.api.proposal.UpdateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))))))))
857 50863 31266 - 31266 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultModerationProposalApiComponent.this.makeOperation$default$3
857 43278 31266 - 31295 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultModerationProposalApiComponent.this.makeOperation("EditProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
857 34073 31266 - 31266 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultModerationProposalApiComponent.this.makeOperation$default$2
858 45914 31326 - 34770 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalRequest]).apply(((request: org.make.api.proposal.UpdateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))))))
858 40046 31326 - 31326 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
858 48185 31326 - 31336 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultModerationProposalApiComponent.this.makeOAuth2
859 32878 31385 - 34758 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalRequest]).apply(((request: org.make.api.proposal.UpdateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))))
859 36523 31407 - 31420 Select scalaoauth2.provider.AuthInfo.user userAuth.user
859 49256 31385 - 31421 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)
860 39714 31438 - 34744 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalRequest]).apply(((request: org.make.api.proposal.UpdateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } }))))))))
860 41682 31438 - 31451 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
861 33829 31479 - 31479 Select org.make.api.proposal.UpdateProposalRequest.decoder proposal.this.UpdateProposalRequest.decoder
861 48219 31470 - 31503 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder))))
861 50294 31479 - 31479 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)
861 48000 31470 - 34728 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.UpdateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalRequest]).apply(((request: org.make.api.proposal.UpdateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))
861 34907 31477 - 31502 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.UpdateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder)))
861 43038 31479 - 31479 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.UpdateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.UpdateProposalRequest](proposal.this.UpdateProposalRequest.decoder))
861 39811 31476 - 31476 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.UpdateProposalRequest]
862 33309 31584 - 31584 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.question.Question]
862 41448 31535 - 31595 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective
862 35945 31552 - 31570 Select org.make.api.proposal.UpdateProposalRequest.questionId request.questionId
862 31240 31535 - 34710 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))
862 49022 31535 - 31583 Apply org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.retrieveQuestion DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)
863 43231 31674 - 31693 Select org.make.core.question.Question.questionId question.questionId
863 34941 31669 - 31694 Apply scala.Some.apply scala.Some.apply[org.make.core.question.QuestionId](question.questionId)
863 47980 31630 - 31695 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))
863 46335 31654 - 31667 Select scalaoauth2.provider.AuthInfo.user userAuth.user
863 39383 31630 - 34690 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(userAuth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))
864 37000 31720 - 31795 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound
864 49758 31774 - 31774 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
864 46950 31720 - 34668 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](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } }))
864 39847 31720 - 31773 Apply org.make.api.proposal.ProposalService.getModerationProposalById DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)
866 41478 31901 - 31946 Apply cats.data.ValidatedFunctionsBinCompat0.validNec cats.data.Validated.validNec[org.make.core.ValidationError, Unit](())
866 49582 31877 - 32338 Apply scala.Option.fold request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
868 49542 32018 - 32298 Apply scala.Tuple3.apply scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })
869 42992 32093 - 32105 Literal <nosymbol> "newContent"
869 48770 32060 - 32060 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$4 qual$1.withMaxLength$default$4
869 35405 32060 - 32060 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$3 qual$1.withMaxLength$default$3
869 40913 32052 - 32106 Apply org.make.core.Validation.StringWithParsers.withMaxLength qual$1.withMaxLength(x$1, "newContent", x$3, x$4)
869 46373 32074 - 32091 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.maxProposalLength DefaultModerationProposalApi.this.maxProposalLength
869 34380 32052 - 32059 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(content)
870 41936 32181 - 32193 Literal <nosymbol> "newContent"
870 34416 32148 - 32148 Select org.make.core.Validation.StringWithParsers.withMinLength$default$3 qual$2.withMinLength$default$3
870 47428 32148 - 32148 Select org.make.core.Validation.StringWithParsers.withMinLength$default$4 qual$2.withMinLength$default$4
870 49797 32162 - 32179 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.minProposalLength DefaultModerationProposalApi.this.minProposalLength
870 32762 32140 - 32147 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(content)
870 43026 32140 - 32194 Apply org.make.core.Validation.StringWithParsers.withMinLength qual$2.withMinLength(x$5, "newContent", x$7, x$8)
871 32802 32228 - 32266 Apply org.make.core.Validation.StringWithParsers.toSanitizedInput qual$3.toSanitizedInput("newContent", x$10)
871 47934 32253 - 32265 Literal <nosymbol> "newContent"
871 40948 32236 - 32236 Select org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2 qual$3.toSanitizedInput$default$2
871 35442 32228 - 32235 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(content)
872 33566 32299 - 32299 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
872 41437 32299 - 32299 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
872 31957 32018 - 32310 Select cats.Functor.Ops.void cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
872 40088 32299 - 32299 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
872 35192 32018 - 32305 ApplyToImplicitArgs cats.syntax.Tuple3SemigroupalOps.tupled cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("newContent") = "newContent"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "newContent", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("newContent") = "newContent"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "newContent", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))
872 46326 32299 - 32299 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
872 43063 32299 - 32299 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
872 47970 32299 - 32299 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
875 41197 32454 - 32499 Apply cats.data.ValidatedFunctionsBinCompat0.validNec cats.data.Validated.validNec[org.make.core.ValidationError, Unit](())
875 33592 32418 - 32961 Apply scala.Option.fold request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$7: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit))))
876 46360 32532 - 32532 Select cats.instances.LazyListInstances.catsStdInstancesForLazyList cats.implicits.catsStdInstancesForLazyList
876 33605 32530 - 32544 Select org.make.core.technical.Multilingual.translations x$7.translations
876 40695 32552 - 32552 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
876 41720 32530 - 32933 ApplyToImplicitArgs cats.Foldable.Ops.foldMap cats.implicits.toFoldableOps[LazyList, String](x$7.translations)(cats.implicits.catsStdInstancesForLazyList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((translations: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit))
876 45586 32552 - 32552 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataMonoidForValidated data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)
876 33100 32552 - 32552 Select cats.kernel.instances.UnitInstances.catsKernelStdAlgebraForUnit cats.implicits.catsKernelStdAlgebraForUnit
878 40936 32632 - 32891 Apply scala.Tuple2.apply scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })
879 40905 32681 - 32681 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$3 qual$4.withMaxLength$default$3
879 38500 32668 - 32680 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(translations)
879 34699 32695 - 32723 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.maxProposalTranslationLength DefaultModerationProposalApi.this.maxProposalTranslationLength
879 31988 32681 - 32681 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$4 qual$4.withMaxLength$default$4
879 50051 32668 - 32750 Apply org.make.core.Validation.StringWithParsers.withMaxLength qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14)
879 47718 32725 - 32749 Literal <nosymbol> "newContentTranslations"
880 41231 32786 - 32798 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(translations)
880 38532 32799 - 32799 Select org.make.core.Validation.StringWithParsers.withMinLength$default$3 qual$5.withMinLength$default$3
880 47758 32786 - 32857 Apply org.make.core.Validation.StringWithParsers.withMinLength qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18)
880 33639 32813 - 32830 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.minProposalLength DefaultModerationProposalApi.this.minProposalLength
880 47420 32832 - 32856 Literal <nosymbol> "newContentTranslations"
880 35143 32799 - 32799 Select org.make.core.Validation.StringWithParsers.withMinLength$default$4 qual$5.withMinLength$default$4
881 33063 32892 - 32892 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
881 33398 32892 - 32892 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
881 39600 32892 - 32892 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
881 47456 32632 - 32898 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.tupled cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))
881 35183 32892 - 32892 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
881 48496 32632 - 32903 Select cats.Functor.Ops.void cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$13: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3; <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "newContentTranslations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("newContentTranslations") = "newContentTranslations"; <artifact> val x$17: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$3; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "newContentTranslations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
881 49533 32892 - 32892 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
881 41683 32892 - 32892 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
886 47204 33098 - 33126 Select org.make.api.proposal.ModerationProposalResponse.contentTranslations proposal.contentTranslations
887 39095 33167 - 33185 TypeApply org.make.core.technical.Multilingual.empty org.make.core.technical.Multilingual.empty[String]
888 45622 33031 - 33434 Apply org.make.core.technical.Multilingual.addTranslation request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content))
889 48252 33262 - 33326 Apply scala.Option.getOrElse proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage)
889 34942 33301 - 33325 Select org.make.core.question.Question.defaultLanguage question.defaultLanguage
890 32851 33358 - 33404 Apply scala.Option.getOrElse request.newContent.getOrElse[String](proposal.content)
890 40115 33387 - 33403 Select org.make.api.proposal.ModerationProposalResponse.content proposal.content
894 46638 33617 - 33649 Apply scala.collection.IterableFactory.apply scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents"))
894 33347 33622 - 33648 Apply scala.Tuple2.apply scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents")
894 38849 33513 - 33650 Apply org.make.core.technical.MultilingualUtils.hasRequiredTranslations org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "contents")))
894 41758 33584 - 33615 TypeApply scala.collection.IterableOnceOps.toSet question.languages.toList.toSet[org.make.core.reference.Language]
895 41512 33675 - 33741 ApplyToImplicitArgs cats.syntax.Tuple3SemigroupalOps.tupled cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))
895 31250 33675 - 33734 Apply scala.Tuple3.apply scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)
895 39886 33735 - 33735 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
895 45661 33735 - 33735 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
895 47745 33735 - 33735 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
895 33052 33735 - 33735 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
896 33387 33832 - 33832 Select cats.data.NonEmptyChainInstances.catsDataInstancesForNonEmptyChainBinCompat1 data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1
896 46404 33832 - 33846 Select cats.Foldable.Ops.toList cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList
896 31289 33801 - 33848 Apply akka.http.scaladsl.server.directives.RouteDirectives.failWith DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList))
896 39590 33810 - 33847 Apply org.make.core.ValidationFailedError.apply org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)
899 33135 33920 - 34515 Apply org.make.api.proposal.ProposalService.update DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)
901 47502 34076 - 34096 Select org.make.core.auth.UserRights.userId userAuth.user.userId
903 39920 34207 - 34223 Apply org.make.core.DefaultDateHelper.now org.make.core.DateHelper.now()
904 32803 34270 - 34288 Select org.make.api.proposal.UpdateProposalRequest.newContent request.newContent
905 46116 34347 - 34377 Select org.make.api.proposal.UpdateProposalRequest.newContentTranslations request.newContentTranslations
907 41021 34471 - 34483 Select org.make.api.proposal.UpdateProposalRequest.tags request.tags
909 39622 34547 - 34547 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
909 47198 33920 - 34568 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound
910 37758 34606 - 34617 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))
910 31753 34615 - 34615 Select org.make.api.proposal.ModerationProposalResponse.codec proposal.this.ModerationProposalResponse.codec
910 33173 33920 - 34618 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](DefaultModerationProposalApiComponent.this.proposalService.update(proposalId, userAuth.user.userId, requestContext, org.make.core.DateHelper.now(), request.newContent, request.newContentTranslations, question, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$8: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))
910 46149 34615 - 34616 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))
910 39677 34615 - 34615 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])
910 47539 34615 - 34615 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]
910 32843 34615 - 34615 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))
926 39176 34985 - 35342 ApplyToImplicitArgs scala.concurrent.Future.flatMap DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId).flatMap[org.make.core.question.Question](((x0$1: Option[org.make.core.question.Question]) => x0$1 match { case (value: org.make.core.question.Question): Some[org.make.core.question.Question]((question @ _)) => scala.concurrent.Future.successful[org.make.core.question.Question](question) case _ => scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("question \'".+(questionId).+("\' not found"): String)))))) }))(scala.concurrent.ExecutionContext.Implicits.global)
926 46430 35033 - 35033 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
927 39414 35070 - 35097 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[org.make.core.question.Question](question)
929 33677 35134 - 35330 Apply scala.concurrent.Future.failed scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("question \'".+(questionId).+("\' not found"): String))))))
930 37546 35165 - 35314 Apply org.make.core.ValidationFailedError.apply org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("question \'".+(questionId).+("\' not found"): String)))))
931 32627 35210 - 35295 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("question \'".+(questionId).+("\' not found"): String)))
931 30990 35226 - 35238 Literal <nosymbol> "questionId"
931 45410 35206 - 35296 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("question \'".+(questionId).+("\' not found"): String))))
931 39907 35253 - 35294 Apply scala.Some.apply scala.Some.apply[String](("question \'".+(questionId).+("\' not found"): String))
931 48035 35240 - 35251 Literal <nosymbol> "not_found"
936 46224 35371 - 36286 ApplyToImplicitArgs scala.concurrent.Future.flatMap DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId).flatMap[org.make.core.question.Question](((x0$2: Option[org.make.core.proposal.Proposal]) => x0$2 match { case (value: org.make.core.proposal.Proposal): Some[org.make.core.proposal.Proposal]((proposal @ _)) => proposal.questionId match { case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId).flatMap[org.make.core.question.Question](((x0$3: Option[org.make.core.question.Question]) => x0$3 match { case (value: org.make.core.question.Question): Some[org.make.core.question.Question]((question @ _)) => scala.concurrent.Future.successful[org.make.core.question.Question](question) case _ => scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("question \'".+(questionId).+("\' not found for proposal \'").+(proposalId).+("\'"): String))) }))(scala.concurrent.ExecutionContext.Implicits.global) case _ => scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("proposal \'".+(proposalId).+("\' has no questionId"): String))) } case _ => scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("proposal \'".+(proposalId).+("\' not found"): String)))))) }))(scala.concurrent.ExecutionContext.Implicits.global)
936 50111 35430 - 35430 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
938 31026 35481 - 35500 Select org.make.core.proposal.Proposal.questionId proposal.questionId
940 45154 35616 - 35616 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
940 37583 35568 - 35913 ApplyToImplicitArgs scala.concurrent.Future.flatMap DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId).flatMap[org.make.core.question.Question](((x0$3: Option[org.make.core.question.Question]) => x0$3 match { case (value: org.make.core.question.Question): Some[org.make.core.question.Question]((question @ _)) => scala.concurrent.Future.successful[org.make.core.question.Question](question) case _ => scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("question \'".+(questionId).+("\' not found for proposal \'").+(proposalId).+("\'"): String))) }))(scala.concurrent.ExecutionContext.Implicits.global)
941 44086 35661 - 35688 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[org.make.core.question.Question](question)
943 32063 35741 - 35893 Apply scala.concurrent.Future.failed scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("question \'".+(questionId).+("\' not found for proposal \'").+(proposalId).+("\'"): String)))
944 39665 35780 - 35869 Apply java.lang.IllegalStateException.<init> new java.lang.IllegalStateException(("question \'".+(questionId).+("\' not found for proposal \'").+(proposalId).+("\'"): String))
947 33159 35954 - 36024 Apply java.lang.IllegalStateException.<init> new java.lang.IllegalStateException(("proposal \'".+(proposalId).+("\' has no questionId"): String))
947 46184 35940 - 36025 Apply scala.concurrent.Future.failed scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("proposal \'".+(proposalId).+("\' has no questionId"): String)))
950 37624 36078 - 36274 Apply scala.concurrent.Future.failed scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("proposal \'".+(proposalId).+("\' not found"): String))))))
951 45904 36109 - 36258 Apply org.make.core.ValidationFailedError.apply org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("proposal \'".+(proposalId).+("\' not found"): String)))))
952 39371 36170 - 36182 Literal <nosymbol> "questionId"
952 30775 36184 - 36195 Literal <nosymbol> "not_found"
952 39702 36154 - 36239 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("proposal \'".+(proposalId).+("\' not found"): String)))
952 31815 36150 - 36240 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("proposal \'".+(proposalId).+("\' not found"): String))))
952 44124 36197 - 36238 Apply scala.Some.apply scala.Some.apply[String](("proposal \'".+(proposalId).+("\' not found"): String))
959 39134 36343 - 36347 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
959 41863 36343 - 40146 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("accept"))(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,)](DefaultModerationProposalApiComponent.this.makeOperation("ValidateProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ValidateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ValidateProposalRequest]).apply(((request: org.make.api.proposal.ValidateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } }))))))))))))))))
960 32615 36390 - 36410 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.moderationProposalId org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.moderationProposalId
960 31571 36356 - 36422 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("accept"))(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])))
960 50151 36411 - 36411 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.moderationproposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
960 47283 36411 - 36411 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.moderationproposalapitest 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])
960 45662 36388 - 36388 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
960 31537 36361 - 36373 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
960 44076 36360 - 36360 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
960 49435 36356 - 40140 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("accept"))(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,)](DefaultModerationProposalApiComponent.this.makeOperation("ValidateProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ValidateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ValidateProposalRequest]).apply(((request: org.make.api.proposal.ValidateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))))))))))
960 39165 36361 - 36421 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("accept"))(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]))
960 43612 36376 - 36387 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
960 40768 36374 - 36374 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
960 38085 36413 - 36421 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("accept")
961 40806 36461 - 36479 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "ValidateProposal"
961 50617 36460 - 36460 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
961 36964 36447 - 40132 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("ValidateProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ValidateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ValidateProposalRequest]).apply(((request: org.make.api.proposal.ValidateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))))))))
961 37571 36447 - 36480 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("ValidateProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
961 32376 36447 - 36447 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
961 45702 36447 - 36447 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
962 38930 36511 - 36511 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
962 44534 36511 - 40122 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ValidateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ValidateProposalRequest]).apply(((request: org.make.api.proposal.ValidateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))))))
962 46771 36511 - 36521 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
963 44113 36566 - 36598 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)
963 31325 36588 - 36597 Select scalaoauth2.provider.AuthInfo.user auth.user
963 48356 36566 - 40110 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ValidateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ValidateProposalRequest]).apply(((request: org.make.api.proposal.ValidateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))))
964 36274 36615 - 36628 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
964 35326 36615 - 40096 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ValidateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ValidateProposalRequest]).apply(((request: org.make.api.proposal.ValidateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } }))))))))
965 45735 36656 - 36656 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)
965 43450 36647 - 40080 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ValidateProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ValidateProposalRequest]).apply(((request: org.make.api.proposal.ValidateProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))))
965 38964 36653 - 36653 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ValidateProposalRequest]
965 37334 36656 - 36656 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder))
965 47232 36647 - 36682 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder))))
965 50653 36654 - 36681 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.ValidateProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ValidateProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.ValidateProposalRequest](proposal.this.ValidateProposalRequest.decoder)))
965 32413 36656 - 36656 Select org.make.api.proposal.ValidateProposalRequest.decoder proposal.this.ValidateProposalRequest.decoder
966 43866 36714 - 36762 Apply org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.retrieveQuestion DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)
966 36311 36714 - 36774 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective
966 30807 36731 - 36749 Select org.make.api.proposal.ValidateProposalRequest.questionId request.questionId
966 31844 36763 - 36763 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.question.Question]
966 51313 36714 - 40062 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.question.Question](DefaultModerationProposalApi.this.retrieveQuestion(request.questionId, proposalId)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))))
967 45492 36833 - 36842 Select scalaoauth2.provider.AuthInfo.user auth.user
967 50405 36844 - 36869 Apply scala.Some.apply scala.Some.apply[org.make.core.question.QuestionId](question.questionId)
967 37234 36809 - 40042 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } })))
967 47273 36809 - 36870 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))
967 37371 36849 - 36868 Select org.make.core.question.Question.questionId question.questionId
968 43907 36949 - 36949 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
968 38392 36895 - 36948 Apply org.make.api.proposal.ProposalService.getModerationProposalById DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)
968 41821 36895 - 40020 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](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((proposal: org.make.api.proposal.ModerationProposalResponse) => { val newContent: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)); val newContentTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)))); val translations: org.make.core.technical.Multilingual[String] = request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content)); val validatedTranslations: cats.data.ValidatedNec[org.make.core.ValidationError,Unit] = org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))); cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])) match { case (e: cats.data.NonEmptyChain[org.make.core.ValidationError]): cats.data.Validated.Invalid[cats.data.NonEmptyChain[org.make.core.ValidationError]]((errsNec @ _)) => DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)) case (a: (Unit, Unit, Unit)): cats.data.Validated.Valid[(Unit, Unit, Unit)](_) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))) } }))
968 30567 36895 - 36970 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getModerationProposalById(proposalId)).asDirectiveOrNotFound
970 36817 37076 - 37121 Apply cats.data.ValidatedFunctionsBinCompat0.validNec cats.data.Validated.validNec[org.make.core.ValidationError, Unit](())
970 43895 37052 - 37525 Apply scala.Option.fold request.newContent.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((content: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
972 44392 37193 - 37485 Apply scala.Tuple3.apply scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })
973 50442 37235 - 37235 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$3 qual$1.withMaxLength$default$3
973 32913 37227 - 37234 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(content)
973 42318 37235 - 37235 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$4 qual$1.withMaxLength$default$4
973 37132 37268 - 37286 Literal <nosymbol> "Original content"
973 45691 37249 - 37266 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.maxProposalLength DefaultModerationProposalApi.this.maxProposalLength
973 39452 37227 - 37287 Apply org.make.core.Validation.StringWithParsers.withMaxLength qual$1.withMaxLength(x$1, "Original content", x$3, x$4)
974 43653 37343 - 37360 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.minProposalLength DefaultModerationProposalApi.this.minProposalLength
974 32952 37329 - 37329 Select org.make.core.Validation.StringWithParsers.withMinLength$default$3 qual$2.withMinLength$default$3
974 31316 37321 - 37328 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(content)
974 37859 37321 - 37381 Apply org.make.core.Validation.StringWithParsers.withMinLength qual$2.withMinLength(x$5, "Original content", x$7, x$8)
974 45446 37329 - 37329 Select org.make.core.Validation.StringWithParsers.withMinLength$default$4 qual$2.withMinLength$default$4
974 36856 37362 - 37380 Literal <nosymbol> "Original content"
975 43377 37440 - 37452 Literal <nosymbol> "newContent"
975 31064 37415 - 37453 Apply org.make.core.Validation.StringWithParsers.toSanitizedInput qual$3.toSanitizedInput("newContent", x$10)
975 38953 37423 - 37423 Select org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2 qual$3.toSanitizedInput$default$2
975 51238 37415 - 37422 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(content)
976 45481 37486 - 37486 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
976 31101 37193 - 37497 Select cats.Functor.Ops.void cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
976 38715 37486 - 37486 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
976 43416 37486 - 37486 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
976 36893 37486 - 37486 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
976 49908 37486 - 37486 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
976 50395 37193 - 37492 ApplyToImplicitArgs cats.syntax.Tuple3SemigroupalOps.tupled cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$1: Int = DefaultModerationProposalApi.this.maxProposalLength; <artifact> val x$2: String("Original content") = "Original content"; <artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3; <artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4; qual$1.withMaxLength(x$1, "Original content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$5: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$6: String("Original content") = "Original content"; <artifact> val x$7: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$3; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.withMinLength$default$4; qual$2.withMinLength(x$5, "Original content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(content); <artifact> val x$9: String("newContent") = "newContent"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("newContent", x$10) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))
976 37625 37486 - 37486 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
980 31090 37740 - 37740 Select cats.kernel.instances.UnitInstances.catsKernelStdAlgebraForUnit cats.implicits.catsKernelStdAlgebraForUnit
980 49392 37717 - 37731 Select scala.collection.IterableOnceOps.toList x$9.toMap.toList
980 45232 37725 - 37725 Select cats.instances.ListInstances.catsStdInstancesForList cats.implicits.catsStdInstancesForList
980 36050 37670 - 37715 Apply cats.data.ValidatedFunctionsBinCompat0.validNec cats.data.Validated.validNec[org.make.core.ValidationError, Unit](())
980 35879 37717 - 38187 ApplyToImplicitArgs cats.Foldable.Ops.foldMap cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit))
980 49642 37605 - 38188 Apply scala.Option.fold request.newContentTranslations.fold[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](cats.data.Validated.validNec[org.make.core.ValidationError, Unit](()))(((x$9: org.make.core.technical.Multilingual[String]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, String)](x$9.toMap.toList)(cats.implicits.catsStdInstancesForList).foldMap[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x0$1: (org.make.core.reference.Language, String)) => x0$1 match { case (_1: org.make.core.reference.Language, _2: String): (org.make.core.reference.Language, String)((language @ _), (translations @ _)) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void }))(data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit))))
980 35550 37740 - 37740 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
980 44742 37740 - 37740 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataMonoidForValidated data.this.Validated.catsDataMonoidForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError], Unit](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError], cats.implicits.catsKernelStdAlgebraForUnit)
982 35508 37837 - 38145 Apply scala.Tuple2.apply scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })
983 37659 37873 - 37885 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(translations)
984 43647 37873 - 37998 Apply org.make.core.Validation.StringWithParsers.withMaxLength qual$4.withMaxLength(x$11, "Translations", x$13, x$14)
984 38748 37983 - 37997 Apply scala.Some.apply scala.Some.apply[org.make.core.reference.Language](language)
984 50429 37937 - 37965 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.maxProposalTranslationLength DefaultModerationProposalApi.this.maxProposalTranslationLength
984 30854 37923 - 37923 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$4 qual$4.withMaxLength$default$4
984 42562 37967 - 37981 Literal <nosymbol> "Translations"
985 49859 38061 - 38078 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.minProposalLength DefaultModerationProposalApi.this.minProposalLength
985 36084 38034 - 38046 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(translations)
985 37163 38096 - 38110 Apply scala.Some.apply scala.Some.apply[org.make.core.reference.Language](language)
985 45267 38080 - 38094 Literal <nosymbol> "Translations"
985 42602 38034 - 38111 Apply org.make.core.Validation.StringWithParsers.withMinLength qual$5.withMinLength(x$15, "Translations", x$17, x$18)
985 50186 38047 - 38047 Select org.make.core.Validation.StringWithParsers.withMinLength$default$4 qual$5.withMinLength$default$4
986 50227 38146 - 38146 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
986 35839 38146 - 38146 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
986 30892 38146 - 38146 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
986 46014 37837 - 38152 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.tupled cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))
986 43125 37837 - 38157 Select cats.Functor.Ops.void cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMaxLength], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.StringWithMinLength]]({ <artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$11: Int = DefaultModerationProposalApi.this.maxProposalTranslationLength; <artifact> val x$12: String("Translations") = "Translations"; <artifact> val x$13: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4; qual$4.withMaxLength(x$11, "Translations", x$13, x$14) }, { <artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(translations); <artifact> val x$15: Int = DefaultModerationProposalApi.this.minProposalLength; <artifact> val x$16: String("Translations") = "Translations"; <artifact> val x$17: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language); <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMinLength$default$4; qual$5.withMinLength(x$15, "Translations", x$17, x$18) })).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])))(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
986 43684 38146 - 38146 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
986 38217 38146 - 38146 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
986 49898 38146 - 38146 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
990 42081 38325 - 38353 Select org.make.api.proposal.ModerationProposalResponse.contentTranslations proposal.contentTranslations
991 37650 38394 - 38412 TypeApply org.make.core.technical.Multilingual.empty org.make.core.technical.Multilingual.empty[String]
992 44185 38258 - 38661 Apply org.make.core.technical.Multilingual.addTranslation request.newContentTranslations.orElse[org.make.core.technical.Multilingual[String]](proposal.contentTranslations).getOrElse[org.make.core.technical.Multilingual[String]](org.make.core.technical.Multilingual.empty[String]).addTranslation(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage), request.newContent.getOrElse[String](proposal.content))
993 51286 38528 - 38552 Select org.make.core.question.Question.defaultLanguage question.defaultLanguage
993 43163 38489 - 38553 Apply scala.Option.getOrElse proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage)
994 30843 38585 - 38631 Apply scala.Option.getOrElse request.newContent.getOrElse[String](proposal.content)
994 35583 38614 - 38630 Select org.make.api.proposal.ModerationProposalResponse.content proposal.content
998 37408 38740 - 38971 Apply org.make.core.technical.MultilingualUtils.hasRequiredTranslations org.make.core.technical.MultilingualUtils.hasRequiredTranslations(question.languages.toList.toSet[org.make.core.reference.Language], scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations")))
999 36407 38842 - 38873 TypeApply scala.collection.IterableOnceOps.toSet question.languages.toList.toSet[org.make.core.reference.Language]
1000 49684 38910 - 38940 Apply scala.Tuple2.apply scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations")
1000 41570 38905 - 38941 Apply scala.collection.IterableFactory.apply scala.`package`.List.apply[(org.make.core.technical.Multilingual[String], String)](scala.Tuple2.apply[org.make.core.technical.Multilingual[String], String](translations, "Translations"))
1002 42914 39056 - 39056 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
1002 50719 38996 - 39055 Apply scala.Tuple3.apply scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)
1002 35829 38996 - 39062 ApplyToImplicitArgs cats.syntax.Tuple3SemigroupalOps.tupled cats.implicits.catsSyntaxTuple3Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Unit, Unit, Unit](scala.Tuple3.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit], cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](newContent, newContentTranslations, validatedTranslations)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))
1002 30882 39056 - 39056 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
1002 35335 39056 - 39056 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
1002 43944 39056 - 39056 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
1003 37442 39131 - 39168 Apply org.make.core.ValidationFailedError.apply org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)
1003 41327 39153 - 39167 Select cats.Foldable.Ops.toList cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList
1003 51239 39122 - 39169 Apply akka.http.scaladsl.server.directives.RouteDirectives.failWith DefaultModerationProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList))
1003 49725 39153 - 39153 Select cats.data.NonEmptyChainInstances.catsDataInstancesForNonEmptyChainBinCompat1 data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1
1006 48880 39241 - 39867 Apply org.make.api.proposal.ProposalService.validateProposal DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)
1008 42353 39407 - 39423 Select org.make.core.auth.UserRights.userId auth.user.userId
1011 34828 39588 - 39606 Select org.make.api.proposal.ValidateProposalRequest.newContent request.newContent
1012 47858 39665 - 39695 Select org.make.api.proposal.ValidateProposalRequest.newContentTranslations request.newContentTranslations
1013 43978 39753 - 39782 Select org.make.api.proposal.ValidateProposalRequest.sendNotificationEmail request.sendNotificationEmail
1014 35868 39823 - 39835 Select org.make.api.proposal.ValidateProposalRequest.tags request.tags
1016 37202 39899 - 39899 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
1016 41366 39241 - 39920 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound
1017 35289 39967 - 39967 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])
1017 49676 39241 - 39970 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](DefaultModerationProposalApiComponent.this.proposalService.validateProposal(proposalId, auth.user.userId, requestContext, question, request.newContent, request.newContentTranslations, request.sendNotificationEmail, request.tags)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$10: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))
1017 51276 39967 - 39967 Select org.make.api.proposal.ModerationProposalResponse.codec proposal.this.ModerationProposalResponse.codec
1017 42385 39967 - 39967 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]
1017 44496 39967 - 39968 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))
1017 47899 39967 - 39967 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))
1017 36926 39958 - 39969 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$10)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))
1030 33739 40189 - 40193 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1030 41405 40189 - 41280 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse"))(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,)](DefaultModerationProposalApiComponent.this.makeOperation("RefuseProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))))))))
1031 50505 40202 - 40268 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse"))(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])))
1031 33488 40207 - 40267 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse"))(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]))
1031 49470 40257 - 40257 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.moderationproposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
1031 48393 40236 - 40256 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.moderationProposalId org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.moderationProposalId
1031 43485 40222 - 40233 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1031 41613 40257 - 40257 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.moderationproposalapitest 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])
1031 51069 40207 - 40219 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1031 36122 40259 - 40267 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse")
1031 43401 40206 - 40206 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
1031 35080 40220 - 40220 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1031 49803 40202 - 41274 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse"))(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,)](DefaultModerationProposalApiComponent.this.makeOperation("RefuseProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))))))
1031 43968 40234 - 40234 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
1032 47888 40293 - 40293 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1032 36161 40293 - 40324 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("RefuseProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1032 40019 40293 - 40293 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1032 49938 40306 - 40306 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1032 35903 40293 - 41266 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("RefuseProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))))
1032 35116 40307 - 40323 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "RefuseProposal"
1033 33524 40355 - 40355 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1033 39765 40355 - 41256 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))
1033 41653 40355 - 40365 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
1034 48178 40410 - 41244 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))
1034 43441 40410 - 40442 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)
1034 50265 40432 - 40441 Select scalaoauth2.provider.AuthInfo.user auth.user
1035 35584 40459 - 40509 Apply org.make.api.proposal.ProposalCoordinatorService.getProposal DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)
1035 40052 40510 - 40510 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]
1035 47638 40459 - 40531 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound
1035 34865 40459 - 41230 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))
1036 36682 40586 - 40595 Select scalaoauth2.provider.AuthInfo.user auth.user
1036 49972 40597 - 40616 Select org.make.core.proposal.Proposal.questionId proposal.questionId
1036 43274 40562 - 41214 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))
1036 41848 40562 - 40617 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)
1037 46532 40638 - 41196 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))
1037 33272 40638 - 40651 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1038 33787 40674 - 41176 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.RefuseProposalRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]).apply(((refuseProposalRequest: org.make.api.proposal.RefuseProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))
1038 50298 40683 - 40683 Select org.make.api.proposal.RefuseProposalRequest.codec proposal.this.RefuseProposalRequest.codec
1038 35620 40683 - 40683 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec))
1038 43195 40683 - 40683 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)
1038 36714 40680 - 40680 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.RefuseProposalRequest]
1038 48380 40681 - 40706 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec)))
1038 39814 40674 - 40707 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.RefuseProposalRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.RefuseProposalRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.RefuseProposalRequest](proposal.this.RefuseProposalRequest.codec))))
1040 41606 40757 - 41063 Apply org.make.api.proposal.ProposalService.refuseProposal DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)
1042 50011 40903 - 40919 Select org.make.core.auth.UserRights.userId auth.user.userId
1046 34029 40757 - 41110 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound
1046 47084 41089 - 41089 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
1047 41641 40757 - 41154 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](DefaultModerationProposalApiComponent.this.proposalService.refuseProposal(proposalId, auth.user.userId, requestContext, refuseProposalRequest)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$11: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))
1047 36484 41151 - 41152 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))
1047 43234 41151 - 41151 Select org.make.api.proposal.ModerationProposalResponse.codec proposal.this.ModerationProposalResponse.codec
1047 49762 41142 - 41153 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$11)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))
1047 40551 41151 - 41151 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))
1047 35105 41151 - 41151 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]
1047 48140 41151 - 41151 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])
1058 33822 41325 - 41329 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1058 47380 41325 - 42244 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("postpone"))(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,)](DefaultModerationProposalApiComponent.this.makeOperation("PostponeProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))))))
1059 34903 41356 - 41356 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1059 34338 41343 - 41405 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("postpone"))(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]))
1059 46291 41343 - 41355 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1059 42421 41358 - 41369 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1059 41443 41393 - 41393 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.moderationproposalapitest 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])
1059 42459 41342 - 41342 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
1059 49711 41393 - 41393 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.moderationproposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
1059 47940 41372 - 41392 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.moderationProposalId org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.moderationProposalId
1059 46331 41338 - 41406 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("postpone"))(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])))
1059 32200 41395 - 41405 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("postpone")
1059 39805 41370 - 41370 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
1059 33599 41338 - 42238 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("postpone"))(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,)](DefaultModerationProposalApiComponent.this.makeOperation("PostponeProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))))
1060 41192 41431 - 42230 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("PostponeProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))
1060 35363 41445 - 41463 Literal <nosymbol> "PostponeProposal"
1060 47974 41431 - 41431 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultModerationProposalApiComponent.this.makeOperation$default$2
1060 49753 41444 - 41444 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1060 31962 41431 - 41464 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultModerationProposalApiComponent.this.makeOperation("PostponeProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1060 39841 41431 - 41431 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultModerationProposalApiComponent.this.makeOperation$default$3
1061 34378 41495 - 41495 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1061 41896 41495 - 41505 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultModerationProposalApiComponent.this.makeOAuth2
1061 45589 41495 - 42220 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))
1062 39272 41550 - 41582 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)
1062 46367 41572 - 41581 Select scalaoauth2.provider.AuthInfo.user auth.user
1062 31949 41550 - 42208 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))
1063 40908 41650 - 41650 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]
1063 47890 41599 - 41671 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound
1063 40083 41599 - 42194 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))
1063 35400 41599 - 41649 Apply org.make.api.proposal.ProposalCoordinatorService.getProposal DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)
1064 31995 41726 - 41735 Select scalaoauth2.provider.AuthInfo.user auth.user
1064 49501 41737 - 41756 Select org.make.core.proposal.Proposal.questionId proposal.questionId
1064 41932 41702 - 41757 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)
1064 47963 41702 - 42178 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))
1065 33810 41778 - 41791 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1065 35188 41778 - 42160 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))
1067 39305 41814 - 42053 Apply org.make.api.proposal.ProposalService.postponeProposal DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)
1069 47423 41956 - 41972 Select org.make.core.auth.UserRights.userId auth.user.userId
1072 35150 41814 - 42098 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound
1072 47929 42077 - 42077 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
1073 40325 42137 - 42137 Select org.make.api.proposal.ModerationProposalResponse.codec proposal.this.ModerationProposalResponse.codec
1073 33560 42137 - 42138 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))
1073 41428 42137 - 42137 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))
1073 46843 42128 - 42139 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))
1073 49537 42137 - 42137 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])
1073 39061 41814 - 42140 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](DefaultModerationProposalApiComponent.this.proposalService.postponeProposal(proposalId, auth.user.userId, requestContext)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$12: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$12)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))
1073 32511 42137 - 42137 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]
1083 38491 42277 - 42281 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1083 39914 42277 - 43344 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock"))(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,)](DefaultModerationProposalApiComponent.this.makeOperation("LockProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))))))))
1084 35229 42295 - 42307 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1084 41225 42347 - 42353 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock")
1084 47496 42290 - 43338 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock"))(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,)](DefaultModerationProposalApiComponent.this.makeOperation("LockProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))))))
1084 33353 42345 - 42345 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.moderationproposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
1084 45016 42322 - 42322 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
1084 40120 42308 - 42308 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1084 33017 42324 - 42344 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.moderationProposalId org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.moderationProposalId
1084 47752 42294 - 42294 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
1084 39557 42295 - 42353 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock"))(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]))
1084 35137 42290 - 42354 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock"))(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])))
1084 47413 42345 - 42345 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.moderationproposalapitest 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])
1084 47712 42310 - 42321 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1085 30994 42379 - 43330 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("LockProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
1085 45053 42379 - 42379 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1085 33057 42379 - 42379 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1085 33392 42392 - 42392 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1085 40652 42393 - 42407 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "LockProposal"
1085 41677 42379 - 42408 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("LockProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1086 47167 42439 - 42449 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultModerationProposalApiComponent.this.makeOAuth2
1086 39584 42439 - 43320 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))
1086 39596 42439 - 42439 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1087 31457 42516 - 42525 Select scalaoauth2.provider.AuthInfo.user auth.user
1087 48213 42494 - 42526 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)
1087 46399 42494 - 43308 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))
1088 40689 42543 - 42593 Apply org.make.api.proposal.ProposalCoordinatorService.getProposal DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)
1088 33380 42543 - 43294 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))
1088 45581 42594 - 42594 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]
1088 33092 42543 - 42615 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(proposalId)).asDirectiveOrNotFound
1089 47200 42646 - 42701 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)
1089 41715 42670 - 42679 Select scalaoauth2.provider.AuthInfo.user auth.user
1089 33303 42681 - 42700 Select org.make.core.proposal.Proposal.questionId proposal.questionId
1089 37798 42646 - 43278 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))
1090 48247 42722 - 42781 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound
1090 45369 42722 - 43260 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))
1090 39842 42760 - 42760 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.user.User]
1090 39629 42742 - 42758 Select org.make.core.auth.UserRights.userId auth.user.userId
1090 31204 42722 - 42759 Apply org.make.api.user.UserService.getUser DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)
1092 37763 42817 - 43118 Apply org.make.api.proposal.ProposalService.lockProposal DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)
1094 32845 42957 - 42973 Select org.make.core.user.User.userId moderator.userId
1095 45619 43019 - 43037 Select org.make.core.user.User.fullName moderator.fullName
1098 33342 42817 - 43153 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective
1098 32271 42817 - 43240 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposal(proposalId, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$13: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
1098 46635 43142 - 43142 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Unit]
1099 38847 43194 - 43215 Select akka.http.scaladsl.model.StatusCodes.NoContent akka.http.scaladsl.model.StatusCodes.NoContent
1099 39881 43185 - 43216 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
1099 31244 43206 - 43206 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
1099 48765 43194 - 43215 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
1110 32797 43385 - 43389 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1110 37619 43385 - 45696 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("LockMultipleProposals", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.LockProposalsRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.LockProposalsRequest]).apply(((request: org.make.api.proposal.LockProposalsRequest) => { val query: org.make.core.proposal.SearchQuery = { <artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({ <artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)); <artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)); <artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2; <artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3; <artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4; <artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5; <artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6; <artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7; <artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9; <artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11; <artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12; <artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13; <artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14; <artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15; <artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16; <artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17; <artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18; <artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19; <artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20; <artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21; <artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22; <artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23; <artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24; <artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25; <artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26; <artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27; <artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28; <artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29; <artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30; <artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31; org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31) }); <artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1))); <artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2; <artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3; <artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5; <artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6; <artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7; org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => { val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id)); val notFoundIds: scala.collection.immutable.Set[org.make.core.proposal.ProposalId] = request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId]); org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))); server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))) })) }))))))))))
1111 45474 43398 - 45690 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("LockMultipleProposals", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.LockProposalsRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.LockProposalsRequest]).apply(((request: org.make.api.proposal.LockProposalsRequest) => { val query: org.make.core.proposal.SearchQuery = { <artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({ <artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)); <artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)); <artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2; <artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3; <artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4; <artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5; <artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6; <artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7; <artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9; <artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11; <artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12; <artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13; <artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14; <artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15; <artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16; <artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17; <artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18; <artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19; <artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20; <artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21; <artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22; <artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23; <artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24; <artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25; <artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26; <artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27; <artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28; <artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29; <artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30; <artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31; org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31) }); <artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1))); <artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2; <artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3; <artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5; <artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6; <artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7; org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => { val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id)); val notFoundIds: scala.collection.immutable.Set[org.make.core.proposal.ProposalId] = request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId]); org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))); server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))) })) })))))))))
1111 33129 43416 - 43416 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1111 31744 43403 - 43438 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock"))(TupleOps.this.Join.join0P[Unit])
1111 39343 43430 - 43430 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1111 46107 43403 - 43415 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1111 43825 43398 - 43439 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock"))(TupleOps.this.Join.join0P[Unit]))
1111 38313 43418 - 43429 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1111 46435 43432 - 43438 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("lock")
1112 32836 43450 - 43450 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1112 45875 43450 - 43450 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1112 39669 43464 - 43487 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "LockMultipleProposals"
1112 49903 43450 - 45682 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("LockMultipleProposals", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.LockProposalsRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.LockProposalsRequest]).apply(((request: org.make.api.proposal.LockProposalsRequest) => { val query: org.make.core.proposal.SearchQuery = { <artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({ <artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)); <artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)); <artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2; <artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3; <artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4; <artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5; <artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6; <artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7; <artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9; <artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11; <artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12; <artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13; <artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14; <artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15; <artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16; <artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17; <artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18; <artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19; <artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20; <artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21; <artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22; <artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23; <artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24; <artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25; <artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26; <artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27; <artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28; <artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29; <artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30; <artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31; org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31) }); <artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1))); <artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2; <artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3; <artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5; <artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6; <artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7; org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => { val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id)); val notFoundIds: scala.collection.immutable.Set[org.make.core.proposal.ProposalId] = request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId]); org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))); server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))) })) }))))))))
1112 33167 43463 - 43463 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1112 37753 43450 - 43488 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("LockMultipleProposals", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1113 46946 43519 - 43529 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultModerationProposalApiComponent.this.makeOAuth2
1113 39376 43519 - 43519 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1113 36611 43519 - 45672 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.LockProposalsRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.LockProposalsRequest]).apply(((request: org.make.api.proposal.LockProposalsRequest) => { val query: org.make.core.proposal.SearchQuery = { <artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({ <artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)); <artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)); <artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2; <artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3; <artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4; <artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5; <artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6; <artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7; <artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9; <artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11; <artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12; <artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13; <artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14; <artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15; <artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16; <artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17; <artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18; <artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19; <artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20; <artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21; <artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22; <artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23; <artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24; <artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25; <artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26; <artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27; <artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28; <artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29; <artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30; <artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31; org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31) }); <artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1))); <artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2; <artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3; <artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5; <artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6; <artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7; org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => { val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id)); val notFoundIds: scala.collection.immutable.Set[org.make.core.proposal.ProposalId] = request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId]); org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))); server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))) })) }))))))
1114 31504 43596 - 43605 Select scalaoauth2.provider.AuthInfo.user auth.user
1114 44285 43574 - 43606 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)
1114 44387 43574 - 45660 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.LockProposalsRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.LockProposalsRequest]).apply(((request: org.make.api.proposal.LockProposalsRequest) => { val query: org.make.core.proposal.SearchQuery = { <artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({ <artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)); <artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)); <artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2; <artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3; <artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4; <artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5; <artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6; <artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7; <artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9; <artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11; <artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12; <artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13; <artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14; <artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15; <artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16; <artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17; <artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18; <artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19; <artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20; <artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21; <artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22; <artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23; <artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24; <artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25; <artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26; <artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27; <artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28; <artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29; <artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30; <artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31; org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31) }); <artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1))); <artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2; <artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3; <artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5; <artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6; <artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7; org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => { val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id)); val notFoundIds: scala.collection.immutable.Set[org.make.core.proposal.ProposalId] = request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId]); org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))); server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))) })) }))))
1115 39708 43623 - 43636 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1115 31058 43623 - 45646 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.LockProposalsRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.LockProposalsRequest]).apply(((request: org.make.api.proposal.LockProposalsRequest) => { val query: org.make.core.proposal.SearchQuery = { <artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({ <artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)); <artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)); <artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2; <artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3; <artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4; <artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5; <artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6; <artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7; <artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9; <artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11; <artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12; <artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13; <artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14; <artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15; <artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16; <artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17; <artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18; <artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19; <artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20; <artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21; <artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22; <artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23; <artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24; <artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25; <artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26; <artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27; <artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28; <artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29; <artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30; <artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31; org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31) }); <artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1))); <artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2; <artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3; <artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5; <artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6; <artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7; org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => { val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id)); val notFoundIds: scala.collection.immutable.Set[org.make.core.proposal.ProposalId] = request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId]); org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))); server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))) })) })))
1116 35513 43655 - 45630 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.LockProposalsRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.LockProposalsRequest]).apply(((request: org.make.api.proposal.LockProposalsRequest) => { val query: org.make.core.proposal.SearchQuery = { <artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({ <artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)); <artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)); <artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2; <artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3; <artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4; <artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5; <artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6; <artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7; <artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9; <artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11; <artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12; <artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13; <artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14; <artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15; <artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16; <artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17; <artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18; <artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19; <artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20; <artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21; <artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22; <artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23; <artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24; <artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25; <artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26; <artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27; <artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28; <artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29; <artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30; <artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31; org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31) }); <artifact> val x$33: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1))); <artifact> val x$34: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2; <artifact> val x$35: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3; <artifact> val x$36: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5; <artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6; <artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7; org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38) }; server.this.Directive.addDirectiveApply[(org.make.core.proposal.indexed.ProposalsSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => { val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id)); val notFoundIds: scala.collection.immutable.Set[org.make.core.proposal.ProposalId] = request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId]); org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))); server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))) })) }))
1116 45908 43664 - 43664 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)
1116 32585 43664 - 43664 Select org.make.api.proposal.LockProposalsRequest.codec proposal.this.LockProposalsRequest.codec
1116 46981 43655 - 43687 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec))))
1116 33633 43662 - 43686 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.LockProposalsRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec)))
1116 37787 43664 - 43664 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.LockProposalsRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.LockProposalsRequest](proposal.this.LockProposalsRequest.codec))
1116 39138 43661 - 43661 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.LockProposalsRequest]
1117 45696 43731 - 43731 Select org.make.core.proposal.SearchQuery.apply$default$2 org.make.core.proposal.SearchQuery.apply$default$2
1117 31320 43731 - 44135 Apply org.make.core.proposal.SearchQuery.apply org.make.core.proposal.SearchQuery.apply(x$32, x$34, x$35, x$33, x$36, x$37, x$38)
1117 42325 43731 - 43731 Select org.make.core.proposal.SearchQuery.apply$default$6 org.make.core.proposal.SearchQuery.apply$default$6
1117 38924 43731 - 43731 Select org.make.core.proposal.SearchQuery.apply$default$7 org.make.core.proposal.SearchQuery.apply$default$7
1117 37832 43731 - 43731 Select org.make.core.proposal.SearchQuery.apply$default$3 org.make.core.proposal.SearchQuery.apply$default$3
1117 50611 43731 - 43731 Select org.make.core.proposal.SearchQuery.apply$default$5 org.make.core.proposal.SearchQuery.apply$default$5
1118 31283 43774 - 44033 Apply scala.Some.apply scala.Some.apply[org.make.core.proposal.SearchFilters]({ <artifact> val x$1: Some[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)); <artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)); <artifact> val x$3: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2; <artifact> val x$4: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3; <artifact> val x$5: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4; <artifact> val x$6: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5; <artifact> val x$7: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6; <artifact> val x$8: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7; <artifact> val x$9: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9; <artifact> val x$10: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11; <artifact> val x$12: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12; <artifact> val x$13: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13; <artifact> val x$14: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14; <artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15; <artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16; <artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17; <artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18; <artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19; <artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20; <artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21; <artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22; <artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23; <artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24; <artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25; <artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26; <artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27; <artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28; <artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29; <artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30; <artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31; org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31) })
1119 37337 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$20 org.make.core.proposal.SearchFilters.apply$default$20
1119 31021 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$5 org.make.core.proposal.SearchFilters.apply$default$5
1119 31849 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$27 org.make.core.proposal.SearchFilters.apply$default$27
1119 45657 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$28 org.make.core.proposal.SearchFilters.apply$default$28
1119 31529 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$24 org.make.core.proposal.SearchFilters.apply$default$24
1119 39128 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$23 org.make.core.proposal.SearchFilters.apply$default$23
1119 33093 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$9 org.make.core.proposal.SearchFilters.apply$default$9
1119 39660 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$7 org.make.core.proposal.SearchFilters.apply$default$7
1119 44080 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$6 org.make.core.proposal.SearchFilters.apply$default$6
1119 47238 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$22 org.make.core.proposal.SearchFilters.apply$default$22
1119 51159 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$30 org.make.core.proposal.SearchFilters.apply$default$30
1119 47277 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$31 org.make.core.proposal.SearchFilters.apply$default$31
1119 45898 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$19 org.make.core.proposal.SearchFilters.apply$default$19
1119 44624 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$25 org.make.core.proposal.SearchFilters.apply$default$25
1119 46179 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$13 org.make.core.proposal.SearchFilters.apply$default$13
1119 44118 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$16 org.make.core.proposal.SearchFilters.apply$default$16
1119 50856 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$2 org.make.core.proposal.SearchFilters.apply$default$2
1119 35759 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$26 org.make.core.proposal.SearchFilters.apply$default$26
1119 30771 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$15 org.make.core.proposal.SearchFilters.apply$default$15
1119 50108 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$21 org.make.core.proposal.SearchFilters.apply$default$21
1119 51373 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$12 org.make.core.proposal.SearchFilters.apply$default$12
1119 37577 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$11 org.make.core.proposal.SearchFilters.apply$default$11
1119 37021 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$17 org.make.core.proposal.SearchFilters.apply$default$17
1119 39159 43802 - 44011 Apply org.make.core.proposal.SearchFilters.apply org.make.core.proposal.SearchFilters.apply(x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$2, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
1119 31811 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$18 org.make.core.proposal.SearchFilters.apply$default$18
1119 47449 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$3 org.make.core.proposal.SearchFilters.apply$default$3
1119 45152 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$10 org.make.core.proposal.SearchFilters.apply$default$10
1119 38603 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$14 org.make.core.proposal.SearchFilters.apply$default$14
1119 38076 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$29 org.make.core.proposal.SearchFilters.apply$default$29
1119 39171 43802 - 43802 Select org.make.core.proposal.SearchFilters.apply$default$4 org.make.core.proposal.SearchFilters.apply$default$4
1120 44320 43857 - 43904 Apply org.make.core.proposal.ProposalSearchFilter.apply org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq)
1120 40931 43852 - 43905 Apply scala.Some.apply scala.Some.apply[org.make.core.proposal.ProposalSearchFilter](org.make.core.proposal.ProposalSearchFilter.apply(request.proposalIds.toSeq))
1120 30986 43878 - 43903 Select scala.collection.IterableOnceOps.toSeq request.proposalIds.toSeq
1121 37540 43940 - 43987 Apply scala.Some.apply scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values))
1121 32620 43964 - 43985 Select org.make.core.proposal.ProposalStatus.values org.make.core.proposal.ProposalStatus.values
1121 45943 43945 - 43986 Apply org.make.core.proposal.StatusSearchFilter.apply org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values)
1124 44068 44085 - 44113 Apply scala.Int.+ request.proposalIds.size.+(1)
1124 32371 44063 - 44115 Apply scala.Some.apply scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1)))
1124 35795 44068 - 44114 Apply org.make.core.technical.Pagination.Limit.apply org.make.core.technical.Pagination.Limit.apply(request.proposalIds.size.+(1))
1126 43826 44154 - 44231 Apply org.make.api.proposal.ProposalService.searchInIndex DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)
1126 32407 44232 - 44232 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]
1126 36267 44154 - 44243 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.indexed.ProposalsSearchResult](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective
1126 43373 44154 - 45612 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](DefaultModerationProposalApiComponent.this.proposalService.searchInIndex(query, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.proposal.indexed.ProposalsSearchResult]).apply(((proposals: org.make.core.proposal.indexed.ProposalsSearchResult) => { val proposalIds: Seq[org.make.core.proposal.ProposalId] = proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id)); val notFoundIds: scala.collection.immutable.Set[org.make.core.proposal.ProposalId] = request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId]); org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))); server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))) }))
1128 37329 44319 - 44346 Apply scala.collection.IterableOps.map proposals.results.map[org.make.core.proposal.ProposalId](((x$14: org.make.core.proposal.indexed.IndexedProposal) => x$14.id))
1128 45451 44341 - 44345 Select org.make.core.proposal.indexed.IndexedProposal.id x$14.id
1129 50645 44412 - 44429 TypeApply scala.collection.IterableOnceOps.toSet proposalIds.toSet[org.make.core.proposal.ProposalId]
1129 43539 44387 - 44430 Apply scala.collection.immutable.SetOps.diff request.proposalIds.diff(proposalIds.toSet[org.make.core.proposal.ProposalId])
1130 32871 44453 - 44820 Apply org.make.core.Validation.validate org.make.core.Validation.validate(org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String)))
1131 36304 44498 - 44796 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("proposalIds", "invalid_value", notFoundIds.isEmpty, ("Proposals not found: ".+(notFoundIds.mkString(", ")): String))
1132 38958 44558 - 44571 Literal <nosymbol> "proposalIds"
1133 31072 44605 - 44620 Literal <nosymbol> "invalid_value"
1134 43862 44660 - 44679 Select scala.collection.IterableOnceOps.isEmpty notFoundIds.isEmpty
1138 37367 44919 - 44931 Select org.make.core.proposal.indexed.IndexedProposalQuestion.questionId x$16.questionId
1138 50399 44904 - 44932 Apply scala.Option.map x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId))
1138 45485 44867 - 44876 Select scalaoauth2.provider.AuthInfo.user auth.user
1138 42279 44878 - 44933 Apply scala.collection.IterableOps.flatMap proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId))))
1138 39408 44843 - 44934 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))
1138 50954 44843 - 45592 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, proposals.results.flatMap[org.make.core.question.QuestionId](((x$15: org.make.core.proposal.indexed.IndexedProposal) => x$15.question.map[org.make.core.question.QuestionId](((x$16: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$16.questionId)))))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))
1139 36814 44961 - 45020 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound
1139 48812 44999 - 44999 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.user.User]
1139 43901 44961 - 44998 Apply org.make.api.user.UserService.getUser DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)
1139 37853 44961 - 45568 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))
1139 30561 44981 - 44997 Select org.make.core.auth.UserRights.userId auth.user.userId
1141 50435 45062 - 45402 Apply org.make.api.proposal.ProposalService.lockProposals DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)
1143 45944 45223 - 45239 Select org.make.core.user.User.userId moderator.userId
1144 37125 45291 - 45309 Select org.make.core.user.User.fullName moderator.fullName
1147 39447 45432 - 45432 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Unit]
1147 45440 45062 - 45542 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
1147 43334 45062 - 45443 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultModerationProposalApiComponent.this.proposalService.lockProposals(proposalIds, moderator.userId, moderator.fullName, requestContext)).asDirective
1148 31310 45490 - 45511 Select akka.http.scaladsl.model.StatusCodes.NoContent akka.http.scaladsl.model.StatusCodes.NoContent
1148 43649 45502 - 45502 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
1148 49863 45481 - 45512 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
1148 36853 45490 - 45511 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
1161 50387 45744 - 45748 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1161 39974 45744 - 48061 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("change-idea"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("ChangeProposalsIdea", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$18: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalsIdeaRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalsIdeaRequest]).apply(((changes: org.make.api.proposal.PatchProposalsIdeaRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((maybeIdea: Option[org.make.core.idea.Idea]) => { org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) }); server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) })) }))))))))))))
1162 36042 45789 - 45789 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1162 49320 45762 - 45804 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("change-idea"))(TupleOps.this.Join.join0P[Unit])
1162 31095 45775 - 45775 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1162 48386 45757 - 48055 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("change-idea"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("ChangeProposalsIdea", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$18: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalsIdeaRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalsIdeaRequest]).apply(((changes: org.make.api.proposal.PatchProposalsIdeaRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((maybeIdea: Option[org.make.core.idea.Idea]) => { org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) }); server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) })) })))))))))))
1162 35000 45777 - 45788 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1162 42521 45762 - 45774 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1162 43606 45791 - 45804 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("change-idea")
1162 45224 45757 - 45805 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("change-idea"))(TupleOps.this.Join.join0P[Unit]))
1163 50146 45816 - 45816 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1163 37654 45830 - 45851 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "ChangeProposalsIdea"
1163 35075 45816 - 48047 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("ChangeProposalsIdea", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$18: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalsIdeaRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalsIdeaRequest]).apply(((changes: org.make.api.proposal.PatchProposalsIdeaRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((maybeIdea: Option[org.make.core.idea.Idea]) => { org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) }); server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) })) }))))))))))
1163 42554 45816 - 45816 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1163 34446 45816 - 45852 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("ChangeProposalsIdea", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1163 30848 45829 - 45829 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1164 35796 45870 - 45870 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1164 43201 45870 - 48037 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalsIdeaRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalsIdeaRequest]).apply(((changes: org.make.api.proposal.PatchProposalsIdeaRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((maybeIdea: Option[org.make.core.idea.Idea]) => { org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) }); server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) })) }))))))))
1164 43642 45870 - 45880 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
1165 49855 45942 - 45951 Select scalaoauth2.provider.AuthInfo.user auth.user
1165 50465 45925 - 48025 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalsIdeaRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalsIdeaRequest]).apply(((changes: org.make.api.proposal.PatchProposalsIdeaRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((maybeIdea: Option[org.make.core.idea.Idea]) => { org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) }); server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) })) }))))))
1165 40976 45925 - 45952 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultModerationProposalApiComponent.this.requireAdminRole(auth.user)
1166 37415 45969 - 45982 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1166 33997 45969 - 48011 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalsIdeaRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalsIdeaRequest]).apply(((changes: org.make.api.proposal.PatchProposalsIdeaRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((maybeIdea: Option[org.make.core.idea.Idea]) => { org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) }); server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) })) })))))
1167 41855 46001 - 47995 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.PatchProposalsIdeaRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalsIdeaRequest]).apply(((changes: org.make.api.proposal.PatchProposalsIdeaRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((maybeIdea: Option[org.make.core.idea.Idea]) => { org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) }); server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) })) }))))
1167 35503 46010 - 46010 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder))
1167 50181 46010 - 46010 Select org.make.api.proposal.PatchProposalsIdeaRequest.decoder proposal.this.PatchProposalsIdeaRequest.decoder
1167 31606 46008 - 46037 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)))
1167 35834 46007 - 46007 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.PatchProposalsIdeaRequest]
1167 44701 46001 - 46038 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.PatchProposalsIdeaRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder))))
1167 42595 46010 - 46010 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.PatchProposalsIdeaRequest](proposal.this.PatchProposalsIdeaRequest.decoder)
1168 50220 46107 - 46107 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]
1168 49891 46091 - 46105 Select org.make.api.proposal.PatchProposalsIdeaRequest.ideaId changes.ideaId
1168 49430 46070 - 47977 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((maybeIdea: Option[org.make.core.idea.Idea]) => { org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) }); server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) })) }))
1168 42036 46070 - 46106 Apply org.make.api.idea.IdeaService.fetchOne DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)
1168 37607 46070 - 46118 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationProposalApiComponent.this.ideaService.fetchOne(changes.ideaId)).asDirective
1169 49639 46154 - 46350 Apply org.make.core.Validation.validate org.make.core.Validation.validate({ <artifact> val x$1: () => Option[org.make.core.idea.Idea] @scala.reflect.internal.annotations.uncheckedBounds = (() => maybeIdea); <artifact> val x$2: String("ideaId") = "ideaId"; <artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String]("Invalid idea id"); org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3) })
1171 35543 46304 - 46327 Apply scala.Some.apply scala.Some.apply[String]("Invalid idea id")
1171 43123 46284 - 46292 Literal <nosymbol> "ideaId"
1171 31352 46284 - 46284 Literal <nosymbol> "ideaId"
1171 44142 46261 - 46261 Apply scala.Function0.apply x$1.apply()
1171 35873 46197 - 46328 Apply org.make.core.Validation.requirePresent org.make.core.Validation.requirePresent("ideaId", x$1.apply(), x$3)
1173 44180 46371 - 46454 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective
1173 48064 46371 - 46442 ApplyToImplicitArgs cats.Traverse.Ops.traverse cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
1173 36688 46371 - 47957 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Seq[Option[org.make.api.proposal.ModerationProposalResponse]],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]](cats.implicits.toTraverseOps[Seq, org.make.core.proposal.ProposalId](changes.proposalIds)(cats.this.UnorderedFoldable.catsTraverseForSeq).traverse[scala.concurrent.Future, Option[org.make.api.proposal.ModerationProposalResponse]]({ <synthetic> val eta$0$1: org.make.api.proposal.ProposalService = DefaultModerationProposalApiComponent.this.proposalService; ((proposalId: org.make.core.proposal.ProposalId) => eta$0$1.getModerationProposalById(proposalId)) })(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))).asDirective)(util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]).apply(((proposals: Seq[Option[org.make.api.proposal.ModerationProposalResponse]]) => { val invalidProposalIdValues: Seq[String] = changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))); val invalidProposalIdValuesString: String = invalidProposalIdValues.mkString(", "); org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) }); server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) })) }))
1173 35784 46443 - 46443 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[Option[org.make.api.proposal.ModerationProposalResponse]]]
1173 43159 46399 - 46399 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
1173 35293 46399 - 46399 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
1173 42076 46371 - 46390 Select org.make.api.proposal.PatchProposalsIdeaRequest.proposalIds changes.proposalIds
1173 37368 46379 - 46379 Select cats.UnorderedFoldableLowPriority.catsTraverseForSeq cats.this.UnorderedFoldable.catsTraverseForSeq
1173 50682 46400 - 46441 Apply org.make.api.proposal.ProposalService.getModerationProposalById eta$0$1.getModerationProposalById(proposalId)
1175 42313 46559 - 46639 Apply scala.collection.SeqOps.diff changes.proposalIds.map[String](((x$19: org.make.core.proposal.ProposalId) => x$19.value)).diff[String](proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value)))
1175 37402 46619 - 46637 Select org.make.core.proposal.ProposalId.value x$20.proposalId.value
1175 49681 46583 - 46590 Select org.make.core.proposal.ProposalId.value x$19.value
1175 50715 46597 - 46638 Apply scala.collection.IterableOps.map proposals.flatten[org.make.api.proposal.ModerationProposalResponse](scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]).map[String](((x$20: org.make.api.proposal.ModerationProposalResponse) => x$20.proposalId.value))
1175 41827 46607 - 46607 TypeApply scala.Predef.$conforms scala.Predef.$conforms[Option[org.make.api.proposal.ModerationProposalResponse]]
1176 35331 46706 - 46744 Apply scala.collection.IterableOnceOps.mkString invalidProposalIdValues.mkString(", ")
1177 34488 46767 - 47151 Apply org.make.core.Validation.validate org.make.core.Validation.validate({ <artifact> val x$4: String("proposalIds") = "proposalIds"; <artifact> val x$5: String("invalid_value") = "invalid_value"; <artifact> val x$6: () => String @scala.reflect.internal.annotations.uncheckedBounds = (() => ("Some proposal ids are invalid: ".+(invalidProposalIdValuesString): String)); <artifact> val x$7: () => Boolean @scala.reflect.internal.annotations.uncheckedBounds = (() => invalidProposalIdValues.isEmpty); org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply()) })
1178 42349 46812 - 47127 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("proposalIds", "invalid_value", x$7.apply(), x$6.apply())
1179 48841 46872 - 46872 Literal <nosymbol> "proposalIds"
1179 47814 46872 - 46885 Literal <nosymbol> "proposalIds"
1180 43937 46913 - 46928 Literal <nosymbol> "invalid_value"
1180 41324 46913 - 46913 Literal <nosymbol> "invalid_value"
1181 51233 46966 - 46966 Apply scala.Function0.apply x$6.apply()
1182 33745 47094 - 47094 Apply scala.Function0.apply x$7.apply()
1182 35823 47070 - 47101 Select scala.collection.SeqOps.isEmpty invalidProposalIdValues.isEmpty
1186 47855 47235 - 47254 Select org.make.api.proposal.PatchProposalsIdeaRequest.proposalIds changes.proposalIds
1186 43973 47270 - 47286 Select org.make.core.auth.UserRights.userId auth.user.userId
1186 48873 47174 - 47303 Apply org.make.api.proposal.ProposalService.changeProposalsIdea DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)
1186 36887 47288 - 47302 Select org.make.api.proposal.PatchProposalsIdeaRequest.ideaId changes.ideaId
1187 40217 47174 - 47935 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Seq[org.make.core.proposal.Proposal],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]).apply(((updatedProposals: Seq[org.make.core.proposal.Proposal]) => { val proposalIdsDiff: Seq[String] = changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))); if (proposalIdsDiff.nonEmpty) DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String)) else (); DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)) }))
1187 33491 47329 - 47329 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[org.make.core.proposal.Proposal]]
1187 42063 47174 - 47340 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.proposal.Proposal]](DefaultModerationProposalApiComponent.this.proposalService.changeProposalsIdea(changes.proposalIds, auth.user.userId, changes.ideaId)).asDirective
1189 48585 47452 - 47531 Apply scala.collection.SeqOps.diff changes.proposalIds.map[String](((x$21: org.make.core.proposal.ProposalId) => x$21.value)).diff[String](updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value)))
1189 43408 47511 - 47529 Select org.make.core.proposal.ProposalId.value x$22.proposalId.value
1189 35285 47490 - 47530 Apply scala.collection.IterableOps.map updatedProposals.map[String](((x$22: org.make.core.proposal.Proposal) => x$22.proposalId.value))
1189 51271 47476 - 47483 Select org.make.core.proposal.ProposalId.value x$21.value
1190 43722 47562 - 47586 Select scala.collection.IterableOnceOps.nonEmpty proposalIdsDiff.nonEmpty
1190 34238 47558 - 47558 Block <nosymbol> ()
1190 41816 47558 - 47558 Literal <nosymbol> ()
1192 49944 47618 - 47823 Block grizzled.slf4j.Logger.warn DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String))
1192 36920 47618 - 47823 Apply grizzled.slf4j.Logger.warn DefaultModerationProposalApiComponent.this.logger.warn(("Some proposals are not updated during change idea operation: ".+(proposalIdsDiff.mkString(", ")): String))
1196 48351 47878 - 47909 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
1196 35318 47887 - 47908 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
1196 43445 47899 - 47899 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
1196 51029 47887 - 47908 Select akka.http.scaladsl.model.StatusCodes.NoContent akka.http.scaladsl.model.StatusCodes.NoContent
1208 49748 48110 - 49950 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("next-author-to-moderate"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("NextAuthorToModerate", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])))))))))))))))))))
1208 36116 48110 - 48114 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1209 49464 48128 - 48140 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1209 48145 48123 - 48183 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("next-author-to-moderate"))(TupleOps.this.Join.join0P[Unit]))
1209 35111 48128 - 48182 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("next-author-to-moderate"))(TupleOps.this.Join.join0P[Unit])
1209 33481 48141 - 48141 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1209 41609 48143 - 48154 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1209 43394 48155 - 48155 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1209 31955 48123 - 49944 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("next-author-to-moderate"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("NextAuthorToModerate", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse]))))))))))))))))))
1209 50221 48157 - 48182 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("next-author-to-moderate")
1210 49931 48194 - 48194 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1210 40869 48194 - 49936 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("NextAuthorToModerate", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])))))))))))))))))
1210 33230 48207 - 48207 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1210 41648 48194 - 48231 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("NextAuthorToModerate", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1210 36157 48194 - 48194 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1210 40014 48208 - 48230 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "NextAuthorToModerate"
1211 43435 48255 - 48255 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1211 47969 48255 - 49926 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])))))))))))))))
1211 46537 48255 - 48265 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
1212 35577 48310 - 48319 Select scalaoauth2.provider.AuthInfo.user auth.user
1212 47635 48288 - 48320 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)
1212 35358 48288 - 49914 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])))))))))))))
1213 39768 48337 - 48350 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1213 38461 48337 - 49900 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse]))))))))))))
1214 46324 48369 - 49884 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])))))))))))
1214 43189 48375 - 48375 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]
1214 33269 48376 - 48409 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))
1214 42109 48378 - 48378 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder))
1214 36675 48378 - 48378 Select org.make.api.proposal.NextProposalToModerateRequest.decoder proposal.this.NextProposalToModerateRequest.decoder
1214 46567 48369 - 48410 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder))))
1214 49967 48378 - 48378 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)
1216 35615 48486 - 48513 Apply org.make.api.question.QuestionService.getQuestion eta$0$1.getQuestion(questionId)
1217 32977 48442 - 48570 Apply scala.Option.getOrElse request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))
1217 39810 48546 - 48569 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[None.type](scala.None)
1217 48096 48564 - 48568 Select scala.None scala.None
1218 49717 48442 - 48613 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound
1218 41603 48592 - 48592 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.question.Question]
1219 33565 48442 - 49866 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](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultModerationProposalApiComponent.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))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])))))))))
1221 34024 48724 - 48733 Select scalaoauth2.provider.AuthInfo.user auth.user
1221 47080 48740 - 48759 Select org.make.core.question.Question.questionId question.questionId
1221 41436 48700 - 49844 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])))))))
1221 35371 48700 - 48761 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(auth.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))
1221 43230 48735 - 48760 Apply scala.Some.apply scala.Some.apply[org.make.core.question.QuestionId](question.questionId)
1223 40545 48790 - 48856 Apply org.make.api.user.UserService.getUser DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)
1223 48134 48839 - 48855 Select org.make.core.auth.UserRights.userId auth.user.userId
1224 49757 48886 - 48886 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
1224 32721 48790 - 48907 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound
1225 41400 48790 - 49770 Apply cats.FlatMap.Ops.flatMap cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound))
1225 33815 48944 - 48944 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]
1228 32162 49021 - 49683 Apply org.make.api.proposal.ProposalService.searchAndLockAuthorToModerate DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)
1229 41362 49152 - 49171 Select org.make.core.question.Question.questionId question.questionId
1230 33782 49221 - 49237 Select org.make.core.auth.UserRights.userId auth.user.userId
1231 46524 49295 - 49313 Select org.make.core.user.User.fullName moderator.fullName
1232 42993 49363 - 49380 Select org.make.api.proposal.NextProposalToModerateRequest.languages request.languages
1234 34860 49491 - 49507 Select org.make.api.proposal.NextProposalToModerateRequest.toEnrich request.toEnrich
1235 48172 49561 - 49582 Select org.make.api.proposal.NextProposalToModerateRequest.minVotesCount request.minVotesCount
1236 40293 49631 - 49647 Select org.make.api.proposal.NextProposalToModerateRequest.minScore request.minScore
1238 49504 49021 - 49740 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound
1240 31918 49806 - 49817 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse]))))
1240 47933 49815 - 49815 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse]))
1240 38709 49815 - 49815 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse]
1240 46287 49815 - 49815 Select org.make.api.proposal.ModerationAuthorResponse.codec proposal.this.ModerationAuthorResponse.codec
1240 49705 48790 - 49818 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationAuthorResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.user.User](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ModerationAuthorResponse](((moderator: org.make.core.user.User) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockAuthorToModerate(question.questionId, auth.user.userId, moderator.fullName, request.languages, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)))(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationAuthorResponse]).apply(((x$23: org.make.api.proposal.ModerationAuthorResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse]))))))
1240 34626 49815 - 49815 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])
1240 39799 49815 - 49816 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationAuthorResponse](x$23)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationAuthorResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationAuthorResponse](proposal.this.ModerationAuthorResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationAuthorResponse])))
1251 33335 50001 - 51415 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("next"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("NextProposalToModerate", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))))))))
1251 41890 50001 - 50005 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1252 39266 50032 - 50032 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1252 34376 50019 - 50031 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1252 40904 50019 - 50054 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("next"))(TupleOps.this.Join.join0P[Unit])
1252 35395 50048 - 50054 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("next")
1252 48422 50046 - 50046 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1252 37757 50014 - 51409 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("next"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("NextProposalToModerate", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))))))))
1252 47384 50034 - 50045 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1252 33022 50014 - 50055 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("next"))(TupleOps.this.Join.join0P[Unit]))
1253 39299 50079 - 50079 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1253 33518 50066 - 50066 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1253 41927 50066 - 50066 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1253 45796 50080 - 50104 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "NextProposalToModerate"
1253 47419 50066 - 50105 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("NextProposalToModerate", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1253 45329 50066 - 51401 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("NextProposalToModerate", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))))))
1254 47924 50129 - 50129 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1254 35142 50129 - 50139 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
1254 32840 50129 - 51391 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))))
1255 39836 50162 - 51379 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))))
1255 40045 50184 - 50193 Select scalaoauth2.provider.AuthInfo.user user.user
1255 32508 50162 - 50194 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)
1256 48243 50211 - 51365 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))))))))
1256 45835 50211 - 50224 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1257 47670 50249 - 50249 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]
1257 39059 50250 - 50283 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))
1257 46568 50252 - 50252 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder))
1257 31199 50243 - 51349 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.NextProposalToModerateRequest,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.NextProposalToModerateRequest]).apply(((request: org.make.api.proposal.NextProposalToModerateRequest) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))))
1257 31462 50243 - 50284 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApi.this.as[org.make.api.proposal.NextProposalToModerateRequest](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.NextProposalToModerateRequest](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder))))
1257 41681 50252 - 50252 Select org.make.api.proposal.NextProposalToModerateRequest.decoder proposal.this.NextProposalToModerateRequest.decoder
1257 33555 50252 - 50252 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.NextProposalToModerateRequest](proposal.this.NextProposalToModerateRequest.decoder)
1259 40081 50375 - 50414 Apply org.make.api.question.QuestionService.getQuestion DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId)
1260 39347 50316 - 51331 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](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))))
1260 46605 50470 - 50470 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.question.Question]
1260 31939 50463 - 50467 Select scala.None scala.None
1260 45585 50445 - 50468 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[None.type](scala.None)
1260 33308 50316 - 50491 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound
1260 41187 50316 - 50469 Apply scala.Option.getOrElse request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationProposalApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))
1261 47197 50526 - 51311 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))))))))
1261 31208 50566 - 50585 Select org.make.core.question.Question.questionId question.questionId
1261 40114 50526 - 50587 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, scala.Some.apply[org.make.core.question.QuestionId](question.questionId))
1261 38484 50550 - 50559 Select scalaoauth2.provider.AuthInfo.user user.user
1261 47707 50561 - 50586 Apply scala.Some.apply scala.Some.apply[org.make.core.question.QuestionId](question.questionId)
1262 42245 50612 - 50671 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound
1262 45007 50612 - 50649 Apply org.make.api.user.UserService.getUser DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)
1262 33849 50612 - 51289 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultModerationProposalApiComponent.this.userService.getUser(user.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ModerationProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))))
1262 33346 50650 - 50650 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.user.User]
1262 33014 50632 - 50648 Select org.make.core.auth.UserRights.userId user.user.userId
1264 37962 50711 - 51170 Apply org.make.api.proposal.ProposalService.searchAndLockProposalToModerate DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)
1265 47407 50815 - 50834 Select org.make.core.question.Question.questionId question.questionId
1266 39552 50864 - 50880 Select org.make.core.user.User.userId moderator.userId
1267 31416 50910 - 50928 Select org.make.core.user.User.fullName moderator.fullName
1268 48768 50958 - 50962 Select scala.None scala.None
1270 39884 51029 - 51045 Select org.make.api.proposal.NextProposalToModerateRequest.toEnrich request.toEnrich
1271 33050 51075 - 51096 Select org.make.api.proposal.NextProposalToModerateRequest.minVotesCount request.minVotesCount
1272 46081 51126 - 51142 Select org.make.api.proposal.NextProposalToModerateRequest.minScore request.minScore
1274 33388 50711 - 51219 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound
1274 47162 51198 - 51198 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]
1275 31161 51262 - 51262 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]
1275 40683 51262 - 51262 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))
1275 37997 50711 - 51265 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](DefaultModerationProposalApiComponent.this.proposalService.searchAndLockProposalToModerate(question.questionId, moderator.userId, moderator.fullName, scala.None, context, request.toEnrich, request.minVotesCount, request.minScore)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ModerationProposalResponse]).apply(((x$24: org.make.api.proposal.ModerationProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))))
1275 39588 51262 - 51262 Select org.make.api.proposal.ModerationProposalResponse.codec proposal.this.ModerationProposalResponse.codec
1275 48206 51262 - 51262 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])
1275 45577 51253 - 51264 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse]))))
1275 32801 51262 - 51263 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ModerationProposalResponse](x$24)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ModerationProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.ModerationProposalResponse](proposal.this.ModerationProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ModerationProposalResponse])))
1287 46359 51462 - 51465 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.get
1287 37536 51462 - 52056 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tags"))(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(((moderationProposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("GetTagsForProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$25: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(moderationProposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.TagsForProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]).apply(((x$26: org.make.api.proposal.TagsForProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse])))))))))))))))))
1288 31987 51506 - 51506 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)]
1288 45367 51531 - 51537 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("tags")
1288 45663 51474 - 52050 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tags"))(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(((moderationProposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("GetTagsForProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$25: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(moderationProposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.TagsForProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]).apply(((x$26: org.make.api.proposal.TagsForProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse]))))))))))))))))
1288 44290 51492 - 51492 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1288 38844 51479 - 51491 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1288 39875 51508 - 51528 Select org.make.api.proposal.DefaultModerationProposalApiComponent.DefaultModerationProposalApi.moderationProposalId org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.moderationProposalId
1288 39301 51474 - 51538 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tags"))(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])))
1288 31238 51494 - 51505 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1288 34408 51529 - 51529 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.moderationproposalapitest 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])
1288 46394 51479 - 51537 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.proposal.ProposalId,)](DefaultModerationProposalApi.this.moderationProposalId)(TupleOps.this.Join.join0P[(org.make.core.proposal.ProposalId,)])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tags"))(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]))
1288 37793 51529 - 51529 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.moderationproposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.proposal.ProposalId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
1288 30989 51478 - 51478 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
1289 43785 51587 - 51607 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "GetTagsForProposal"
1289 46099 51573 - 51608 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("GetTagsForProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1289 40937 51573 - 51573 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1289 37545 51586 - 51586 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1289 32790 51573 - 51573 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1289 32015 51573 - 52042 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("GetTagsForProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$25: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(moderationProposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.TagsForProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]).apply(((x$26: org.make.api.proposal.TagsForProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse]))))))))))))))
1290 50326 51626 - 51636 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
1290 47455 51626 - 51626 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1290 36479 51626 - 52032 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(moderationProposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.TagsForProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]).apply(((x$26: org.make.api.proposal.TagsForProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse]))))))))))))
1291 39338 51681 - 51690 Select scalaoauth2.provider.AuthInfo.user user.user
1291 44036 51659 - 52020 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(moderationProposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.TagsForProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]).apply(((x$26: org.make.api.proposal.TagsForProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse]))))))))))
1291 31735 51659 - 51691 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(user.user)
1292 32830 51769 - 51769 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]
1292 44833 51708 - 51768 Apply org.make.api.proposal.ProposalCoordinatorService.getProposal DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(moderationProposalId)
1292 30983 51708 - 52006 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.Proposal,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(moderationProposalId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Proposal]).apply(((proposal: org.make.core.proposal.Proposal) => server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.TagsForProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]).apply(((x$26: org.make.api.proposal.TagsForProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse])))))))))
1292 39664 51708 - 51790 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Proposal](DefaultModerationProposalApiComponent.this.proposalCoordinatorService.getProposal(moderationProposalId)).asDirectiveOrNotFound
1293 37746 51856 - 51875 Select org.make.core.proposal.Proposal.questionId proposal.questionId
1293 39133 51821 - 51990 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, proposal.questionId)).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.TagsForProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]).apply(((x$26: org.make.api.proposal.TagsForProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse])))))))
1293 51376 51821 - 51876 Apply org.make.api.technical.MakeAuthenticationDirectives.requireRightsOnQuestion DefaultModerationProposalApiComponent.this.requireRightsOnQuestion(user.user, proposal.questionId)
1293 45870 51845 - 51854 Select scalaoauth2.provider.AuthInfo.user user.user
1294 45902 51969 - 51969 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse]))
1294 46975 51897 - 51972 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.TagsForProposalResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]).apply(((x$26: org.make.api.proposal.TagsForProposalResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse]))))))
1294 39370 51897 - 51953 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)).asDirective
1294 31498 51942 - 51942 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.TagsForProposalResponse]
1294 40730 51969 - 51969 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse]
1294 46185 51897 - 51941 Apply org.make.api.proposal.ProposalService.getTagsForProposal DefaultModerationProposalApiComponent.this.proposalService.getTagsForProposal(proposal)
1294 44277 51969 - 51969 Select org.make.api.proposal.TagsForProposalResponse.codec proposal.this.TagsForProposalResponse.codec
1294 32580 51969 - 51969 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse])
1294 37502 51969 - 51970 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse])))
1294 50816 51960 - 51971 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.TagsForProposalResponse](x$26)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.TagsForProposalResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.TagsForProposalResponse](proposal.this.TagsForProposalResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.TagsForProposalResponse]))))
1303 50031 52112 - 52719 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkRefuseInitialsProposals", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$27: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))))))))))
1303 50850 52112 - 52116 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1304 30734 52143 - 52143 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1304 45857 52125 - 52187 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals"))(TupleOps.this.Join.join0P[Unit]))
1304 44074 52159 - 52186 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals")
1304 33086 52130 - 52186 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals"))(TupleOps.this.Join.join0P[Unit])
1304 35969 52157 - 52157 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1304 38562 52145 - 52156 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1304 47444 52130 - 52142 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1304 36259 52125 - 52713 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("refuse-initials-proposals"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkRefuseInitialsProposals", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$27: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))))))))))))
1305 37298 52212 - 52241 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "BulkRefuseInitialsProposals"
1305 43820 52198 - 52705 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkRefuseInitialsProposals", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$27: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))))))))
1305 39623 52198 - 52242 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("BulkRefuseInitialsProposals", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1305 46172 52198 - 52198 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1305 50616 52198 - 52198 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1305 31488 52211 - 52211 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1306 44111 52273 - 52283 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
1306 37019 52273 - 52273 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1306 31315 52273 - 52695 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$27: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))))))
1307 38918 52310 - 52683 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$27: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))))
1307 31806 52332 - 52345 Select scalaoauth2.provider.AuthInfo.user userAuth.user
1307 45613 52310 - 52346 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)
1308 42731 52363 - 52669 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$27: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))))))
1308 38038 52363 - 52376 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1309 43543 52404 - 52404 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)
1309 39120 52404 - 52404 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec))
1309 50104 52404 - 52404 Select org.make.api.proposal.BulkRefuseProposal.codec proposal.this.BulkRefuseProposal.codec
1309 44562 52395 - 52425 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec))))
1309 31239 52402 - 52424 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkRefuseProposal](proposal.this.BulkRefuseProposal.codec)))
1309 35755 52401 - 52401 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkRefuseProposal]
1309 50605 52395 - 52653 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkRefuseProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkRefuseProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkRefuseProposal](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$27: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))))
1311 45650 52525 - 52545 Select org.make.core.auth.UserRights.userId userAuth.user.userId
1311 32877 52504 - 52523 Select org.make.api.proposal.BulkRefuseProposal.proposalIds request.proposalIds
1311 38068 52457 - 52562 Apply org.make.api.proposal.ProposalService.refuseAll DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)
1312 50570 52457 - 52595 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective
1312 42283 52584 - 52584 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]
1313 45690 52623 - 52634 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))
1313 37827 52457 - 52635 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](DefaultModerationProposalApiComponent.this.proposalService.refuseAll(request.proposalIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$27: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))
1313 38880 52632 - 52632 Select org.make.api.proposal.BulkActionResponse.codec proposal.this.BulkActionResponse.codec
1313 44062 52632 - 52632 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])
1313 31277 52632 - 52632 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]
1313 48817 52632 - 52633 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$27)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))
1313 36223 52632 - 52632 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))
1322 45445 52763 - 52767 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.post
1322 50177 52763 - 53858 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkTagProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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$28: org.make.core.tag.Tag) => x$28.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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))))))
1323 37406 52776 - 53852 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkTagProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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$28: org.make.core.tag.Tag) => x$28.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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) })))))))))))
1323 31063 52808 - 52808 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1323 42765 52794 - 52794 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1323 38344 52810 - 52815 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag")
1323 37324 52781 - 52793 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1323 36014 52776 - 52816 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))
1323 43858 52781 - 52815 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit])
1323 50359 52796 - 52807 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1324 37086 52827 - 52827 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1324 44867 52827 - 52827 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1324 50073 52841 - 52858 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "BulkTagProposal"
1324 50393 52827 - 52859 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("BulkTagProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1324 41994 52827 - 53844 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkTagProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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$28: org.make.core.tag.Tag) => x$28.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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))))
1324 43295 52840 - 52840 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1325 35722 52890 - 52900 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
1325 49082 52890 - 53834 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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$28: org.make.core.tag.Tag) => x$28.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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))
1325 31264 52890 - 52890 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1326 35790 52927 - 53822 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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$28: org.make.core.tag.Tag) => x$28.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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))
1326 43613 52949 - 52962 Select scalaoauth2.provider.AuthInfo.user userAuth.user
1326 36049 52927 - 52963 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)
1327 48805 52980 - 52993 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1327 43637 52980 - 53808 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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$28: org.make.core.tag.Tag) => x$28.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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) })))))
1328 48067 53012 - 53792 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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$28: org.make.core.tag.Tag) => x$28.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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))
1328 45937 53021 - 53021 Select org.make.api.proposal.BulkTagProposal.codec proposal.this.BulkTagProposal.codec
1328 34450 53012 - 53039 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec))))
1328 43332 53019 - 53038 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)))
1328 50150 53021 - 53021 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkTagProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec))
1328 31016 53018 - 53018 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkTagProposal]
1328 37816 53021 - 53021 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkTagProposal](proposal.this.BulkTagProposal.codec)
1329 35459 53071 - 53774 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]](DefaultModerationProposalApiComponent.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$28: org.make.core.tag.Tag) => x$28.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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))
1329 44347 53095 - 53109 Select org.make.api.proposal.BulkTagProposal.tagIds request.tagIds
1329 45432 53111 - 53111 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[org.make.core.tag.Tag]]
1329 49858 53071 - 53122 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationProposalApiComponent.this.tagService.findByTagIds(request.tagIds)).asDirective
1329 36848 53071 - 53110 Apply org.make.api.tag.TagService.findByTagIds DefaultModerationProposalApiComponent.this.tagService.findByTagIds(request.tagIds)
1330 37570 53212 - 53219 Select org.make.core.tag.Tag.tagId x$28.tagId
1330 49897 53158 - 53530 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$28: org.make.core.tag.Tag) => x$28.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)))): _*))
1330 50889 53198 - 53220 Apply scala.collection.IterableOps.map foundTags.map[org.make.core.tag.TagId](((x$28: org.make.core.tag.Tag) => x$28.tagId))
1330 36004 53178 - 53525 Apply scala.collection.IterableOps.map request.tagIds.diff[org.make.core.tag.TagId](foundTags.map[org.make.core.tag.TagId](((x$28: org.make.core.tag.Tag) => x$28.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))))
1331 44112 53259 - 53503 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("tagId", "invalid_value", false, ("Tag ".+(tagId).+(" does not exist."): String))
1332 43367 53317 - 53324 Literal <nosymbol> "tagId"
1333 35507 53356 - 53371 Literal <nosymbol> "invalid_value"
1334 31051 53409 - 53414 Literal <nosymbol> false
1339 50382 53640 - 53660 Select org.make.core.auth.UserRights.userId userAuth.user.userId
1339 41494 53603 - 53622 Select org.make.api.proposal.BulkTagProposal.proposalIds request.proposalIds
1339 42516 53551 - 53677 Apply org.make.api.proposal.ProposalService.addTagsToAll DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)
1339 37613 53624 - 53638 Select org.make.api.proposal.BulkTagProposal.tagIds request.tagIds
1340 35549 53551 - 53712 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective
1340 30806 53701 - 53701 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]
1341 42547 53551 - 53754 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](DefaultModerationProposalApiComponent.this.proposalService.addTagsToAll(request.proposalIds, request.tagIds, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$29: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))
1341 50140 53742 - 53753 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))
1341 41536 53751 - 53751 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))
1341 49048 53751 - 53751 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])
1341 44148 53751 - 53751 Select org.make.api.proposal.BulkActionResponse.codec proposal.this.BulkActionResponse.codec
1341 36034 53751 - 53751 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]
1341 37649 53751 - 53752 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$29)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))
1351 42319 53908 - 53914 Select akka.http.scaladsl.server.directives.MethodDirectives.delete org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.delete
1351 47301 53908 - 54972 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.delete).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkDeleteTagProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))))))
1352 49599 53955 - 53955 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1352 42032 53928 - 53962 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit])
1352 35497 53928 - 53940 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "moderation"
1352 47492 53943 - 53954 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals")
1352 37599 53923 - 53963 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))
1352 35828 53957 - 53962 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag")
1352 44695 53941 - 53941 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.moderationproposalapitest TupleOps.this.Join.join0P[Unit]
1352 33956 53923 - 54966 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.path[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultModerationProposalApi.this._segmentStringToPathMatcher("tag"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkDeleteTagProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) })))))))))))
1353 41811 53974 - 54958 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationProposalApiComponent.this.makeOperation("BulkDeleteTagProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.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],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))))
1353 51240 53988 - 54011 Literal <nosymbol> org.make.api.proposal.moderationproposalapitest "BulkDeleteTagProposal"
1353 44137 53987 - 53987 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
1353 42352 53974 - 53974 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$2
1353 48560 53974 - 54012 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation("BulkDeleteTagProposal", DefaultModerationProposalApiComponent.this.makeOperation$default$2, DefaultModerationProposalApiComponent.this.makeOperation$default$3)
1353 35250 53974 - 53974 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOperation$default$3
1354 36891 54043 - 54053 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.proposal.moderationproposalapitest DefaultModerationProposalApiComponent.this.makeOAuth2
1354 49636 54043 - 54043 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.moderationproposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
1354 49937 54043 - 54948 Apply scala.Function1.apply org.make.api.proposal.moderationproposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationProposalApiComponent.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(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))))
1355 36915 54080 - 54936 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))))
1355 33660 54080 - 54116 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationProposalApiComponent.this.requireModerationRole(userAuth.user)
1355 42069 54102 - 54115 Select scalaoauth2.provider.AuthInfo.user userAuth.user
1356 40018 54133 - 54922 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) })))))
1356 50676 54133 - 54146 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationProposalApi.this.decodeRequest
1357 36335 54165 - 54198 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec))))
1357 35288 54174 - 54174 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)
1357 48309 54165 - 54906 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.BulkDeleteTagProposal,)](DefaultModerationProposalApi.this.entity[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.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]](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))))
1357 42868 54174 - 54174 Select org.make.api.proposal.BulkDeleteTagProposal.codec proposal.this.BulkDeleteTagProposal.codec
1357 48057 54174 - 54174 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec))
1357 43896 54172 - 54197 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationProposalApi.this.as[org.make.api.proposal.BulkDeleteTagProposal](akka.http.scaladsl.unmarshalling.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.BulkDeleteTagProposal](DefaultModerationProposalApiComponent.this.unmarshaller[org.make.api.proposal.BulkDeleteTagProposal](proposal.this.BulkDeleteTagProposal.codec)))
1357 49674 54171 - 54171 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkDeleteTagProposal]
1358 41820 54248 - 54261 Select org.make.api.proposal.BulkDeleteTagProposal.tagId request.tagId
1358 34514 54230 - 54888 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]](DefaultModerationProposalApiComponent.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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))))) }))
1358 33700 54230 - 54262 Apply org.make.api.tag.TagService.getTag DefaultModerationProposalApiComponent.this.tagService.getTag(request.tagId)
1358 50428 54230 - 54274 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.tag.Tag]](DefaultModerationProposalApiComponent.this.tagService.getTag(request.tagId)).asDirective
1358 42308 54263 - 54263 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[org.make.core.tag.Tag]]
1359 48836 54309 - 54641 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)))
1360 36849 54352 - 54619 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("tagId", "invalid_value", maybeTag.isDefined, ("Tag ".+(request.tagId).+(" does not exist."): String))
1361 35325 54410 - 54417 Literal <nosymbol> "tagId"
1362 47812 54449 - 54464 Literal <nosymbol> "invalid_value"
1363 40222 54502 - 54520 Select scala.Option.isDefined maybeTag.isDefined
1368 41320 54718 - 54737 Select org.make.api.proposal.BulkDeleteTagProposal.proposalIds request.proposalIds
1368 33451 54739 - 54752 Select org.make.api.proposal.BulkDeleteTagProposal.tagId request.tagId
1368 50470 54754 - 54774 Select org.make.core.auth.UserRights.userId userAuth.user.userId
1368 42344 54662 - 54791 Apply org.make.api.proposal.ProposalService.deleteTagFromAll DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)
1369 47852 54815 - 54815 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]
1369 34482 54662 - 54826 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective
1370 39977 54865 - 54865 Select org.make.api.proposal.BulkActionResponse.codec proposal.this.BulkActionResponse.codec
1370 48868 54865 - 54865 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])
1370 33487 54865 - 54866 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse])))
1370 36881 54865 - 54865 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]
1370 51266 54856 - 54867 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))
1370 41776 54865 - 54865 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))
1370 43400 54662 - 54868 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](DefaultModerationProposalApiComponent.this.proposalService.deleteTagFromAll(request.proposalIds, request.tagId, userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.BulkActionResponse]).apply(((x$30: org.make.api.proposal.BulkActionResponse) => DefaultModerationProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.BulkActionResponse](x$30)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.BulkActionResponse](DefaultModerationProposalApiComponent.this.marshaller[org.make.api.proposal.BulkActionResponse](proposal.this.BulkActionResponse.codec, DefaultModerationProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.BulkActionResponse]))))))
1408 33474 55842 - 56452 Apply org.make.api.proposal.ProposalListResponse.apply ProposalListResponse.apply(proposal.id, ProposalListResponse.this.Author.apply(proposal), proposal.contentGeneral, proposal.content, proposal.submittedAsLanguage, proposal.status, proposal.proposalType, proposal.refusalReason, proposal.tags, proposal.createdAt, proposal.agreementRate, ProposalListResponse.this.Context.apply(proposal.context), proposal.votes.deprecatedVotesSeq.map[org.make.api.proposal.ProposalListResponse.Vote](((vote: org.make.core.proposal.Vote) => ProposalListResponse.this.Vote.apply(vote))), proposal.votesCount)
1409 43440 55875 - 55886 Select org.make.core.proposal.indexed.IndexedProposal.id proposal.id
1410 35035 55903 - 55919 Apply org.make.api.proposal.ProposalListResponse.Author.apply ProposalListResponse.this.Author.apply(proposal)
1411 48345 55937 - 55960 Select org.make.core.proposal.indexed.IndexedProposal.contentGeneral proposal.contentGeneral
1412 40209 55990 - 56006 Select org.make.core.proposal.indexed.IndexedProposal.content proposal.content
1413 36680 56036 - 56064 Select org.make.core.proposal.indexed.IndexedProposal.submittedAsLanguage proposal.submittedAsLanguage
1414 49971 56081 - 56096 Select org.make.core.proposal.indexed.IndexedProposal.status proposal.status
1415 41569 56119 - 56140 Select org.make.core.proposal.indexed.IndexedProposal.proposalType proposal.proposalType
1416 33992 56164 - 56186 Select org.make.core.proposal.indexed.IndexedProposal.refusalReason proposal.refusalReason
1417 46729 56201 - 56214 Select org.make.core.proposal.indexed.IndexedProposal.tags proposal.tags
1418 43193 56234 - 56252 Select org.make.core.proposal.indexed.IndexedProposal.createdAt proposal.createdAt
1419 35070 56276 - 56298 Select org.make.core.proposal.indexed.IndexedProposal.agreementRate proposal.agreementRate
1420 48100 56324 - 56340 Select org.make.core.proposal.indexed.IndexedProposal.context proposal.context
1420 39970 56316 - 56341 Apply org.make.api.proposal.ProposalListResponse.Context.apply ProposalListResponse.this.Context.apply(proposal.context)
1421 36110 56395 - 56405 Apply org.make.api.proposal.ProposalListResponse.Vote.apply ProposalListResponse.this.Vote.apply(vote)
1421 49178 56357 - 56406 Apply scala.collection.IterableOps.map proposal.votes.deprecatedVotesSeq.map[org.make.api.proposal.ProposalListResponse.Vote](((vote: org.make.core.proposal.Vote) => ProposalListResponse.this.Vote.apply(vote)))
1422 41605 56427 - 56446 Select org.make.core.proposal.indexed.IndexedProposal.votesCount proposal.votesCount
1436 40006 56955 - 57137 Apply org.make.api.proposal.ProposalListResponse.Author.apply ProposalListResponse.this.Author.apply(proposal.author.userId, proposal.author.userType, proposal.author.displayName, proposal.author.age)
1437 46497 56976 - 56998 Select org.make.core.proposal.indexed.IndexedAuthor.userId proposal.author.userId
1438 42627 57019 - 57043 Select org.make.core.proposal.indexed.IndexedAuthor.userType proposal.author.userType
1439 34826 57067 - 57094 Select org.make.core.proposal.indexed.IndexedAuthor.displayName proposal.author.displayName
1440 48139 57110 - 57129 Select org.make.core.proposal.indexed.IndexedAuthor.age proposal.author.age
1442 32130 57178 - 57189 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.ProposalListResponse.Author]({ val inst$macro$20: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse.Author] = { final class anon$lazy$macro$19 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$19 = { anon$lazy$macro$19.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse.Author] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.ProposalListResponse.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("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.ProposalListResponse.Author, (Symbol @@ String("id")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("displayName")) :: (Symbol @@ String("age")) :: shapeless.HNil, org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[Int] :: 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("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.ProposalListResponse.Author, (Symbol @@ String("id")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("displayName")) :: (Symbol @@ String("age")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("userType")) :: (Symbol @@ String("displayName")) :: (Symbol @@ String("age")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("userType"), (Symbol @@ String("displayName")) :: (Symbol @@ String("age")) :: shapeless.HNil.type](scala.Symbol.apply("userType").asInstanceOf[Symbol @@ String("userType")], ::.apply[Symbol @@ String("displayName"), (Symbol @@ String("age")) :: shapeless.HNil.type](scala.Symbol.apply("displayName").asInstanceOf[Symbol @@ String("displayName")], ::.apply[Symbol @@ String("age"), shapeless.HNil.type](scala.Symbol.apply("age").asInstanceOf[Symbol @@ String("age")], HNil))))), Generic.instance[org.make.api.proposal.ProposalListResponse.Author, org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[Int] :: shapeless.HNil](((x0$3: org.make.api.proposal.ProposalListResponse.Author) => x0$3 match { case (id: org.make.core.user.UserId, userType: org.make.core.user.UserType, displayName: Option[String], age: Option[Int]): org.make.api.proposal.ProposalListResponse.Author((id$macro$14 @ _), (userType$macro$15 @ _), (displayName$macro$16 @ _), (age$macro$17 @ _)) => ::.apply[org.make.core.user.UserId, org.make.core.user.UserType :: Option[String] :: Option[Int] :: shapeless.HNil.type](id$macro$14, ::.apply[org.make.core.user.UserType, Option[String] :: Option[Int] :: shapeless.HNil.type](userType$macro$15, ::.apply[Option[String], Option[Int] :: shapeless.HNil.type](displayName$macro$16, ::.apply[Option[Int], shapeless.HNil.type](age$macro$17, HNil)))).asInstanceOf[org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[Int] :: shapeless.HNil] }), ((x0$4: org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[Int] :: shapeless.HNil) => x0$4 match { case (head: org.make.core.user.UserId, tail: org.make.core.user.UserType :: Option[String] :: Option[Int] :: shapeless.HNil): org.make.core.user.UserId :: org.make.core.user.UserType :: Option[String] :: Option[Int] :: shapeless.HNil((id$macro$10 @ _), (head: org.make.core.user.UserType, tail: Option[String] :: Option[Int] :: shapeless.HNil): org.make.core.user.UserType :: Option[String] :: Option[Int] :: shapeless.HNil((userType$macro$11 @ _), (head: Option[String], tail: Option[Int] :: shapeless.HNil): Option[String] :: Option[Int] :: shapeless.HNil((displayName$macro$12 @ _), (head: Option[Int], tail: shapeless.HNil): Option[Int] :: shapeless.HNil((age$macro$13 @ _), HNil)))) => ProposalListResponse.this.Author.apply(id$macro$10, userType$macro$11, displayName$macro$12, age$macro$13) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.user.UserId, (Symbol @@ String("userType")) :: (Symbol @@ String("displayName")) :: (Symbol @@ String("age")) :: shapeless.HNil, org.make.core.user.UserType :: Option[String] :: Option[Int] :: 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("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userType"), org.make.core.user.UserType, (Symbol @@ String("displayName")) :: (Symbol @@ String("age")) :: shapeless.HNil, Option[String] :: Option[Int] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("displayName"), Option[String], (Symbol @@ String("age")) :: shapeless.HNil, Option[Int] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("age"), Option[Int], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, 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("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("age"),Option[Int]] :: 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("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$19.this.inst$macro$18)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse.Author]]; <stable> <accessor> lazy val inst$macro$18: 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("age"),Option[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.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("age"),Option[Int]] :: 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("age"),Option[Int]] :: 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 circeGenericDecoderFordisplayName: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](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 circeGenericEncoderForid: io.circe.Encoder[org.make.core.user.UserId] = ProposalListResponse.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 circeGenericEncoderFordisplayName: io.circe.Encoder[Option[String]] = circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString); private[this] val circeGenericEncoderForage: io.circe.Encoder[Option[Int]] = circe.this.Encoder.encodeOption[Int](circe.this.Encoder.encodeInt); 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForuserType @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("displayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFordisplayName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForage @ _), 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.circeGenericEncoderFordisplayName.apply(circeGenericHListBindingFordisplayName)), scala.Tuple2.apply[String, io.circe.Json]("age", $anon.this.circeGenericEncoderForage.apply(circeGenericHListBindingForage)))) }; 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFordisplayName.tryDecode(c.downField("displayName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("age"), Option[Int], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForage.tryDecode(c.downField("age")), ReprDecoder.hnilResult)(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("age"),Option[Int]] :: 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: 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("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFordisplayName.tryDecodeAccumulating(c.downField("displayName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("age"), Option[Int], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForage.tryDecodeAccumulating(c.downField("age")), ReprDecoder.hnilResultAccumulating)(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("age"),Option[Int]] :: 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("age"),Option[Int]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$19().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse.Author]](inst$macro$20) })
1456 46290 57776 - 58125 Apply org.make.api.proposal.ProposalListResponse.Context.apply ProposalListResponse.this.Context.apply(context.flatMap[String](((x$31: org.make.core.proposal.indexed.IndexedContext) => x$31.source)), context.flatMap[String](((x$32: org.make.core.proposal.indexed.IndexedContext) => x$32.questionSlug)), context.flatMap[org.make.core.reference.Country](((x$33: org.make.core.proposal.indexed.IndexedContext) => x$33.country)), context.flatMap[org.make.core.reference.Language](((x$34: org.make.core.proposal.indexed.IndexedContext) => x$34.questionLanguage)), context.flatMap[org.make.core.reference.Language](((x$35: org.make.core.proposal.indexed.IndexedContext) => x$35.proposalLanguage)), context.flatMap[org.make.core.reference.Language](((x$36: org.make.core.proposal.indexed.IndexedContext) => x$36.clientLanguage)))
1457 41642 57802 - 57827 Apply scala.Option.flatMap context.flatMap[String](((x$31: org.make.core.proposal.indexed.IndexedContext) => x$31.source))
1457 49926 57818 - 57826 Select org.make.core.proposal.indexed.IndexedContext.source x$31.source
1458 33228 57868 - 57882 Select org.make.core.proposal.indexed.IndexedContext.questionSlug x$32.questionSlug
1458 46530 57852 - 57883 Apply scala.Option.flatMap context.flatMap[String](((x$32: org.make.core.proposal.indexed.IndexedContext) => x$32.questionSlug))
1459 35572 57903 - 57929 Apply scala.Option.flatMap context.flatMap[org.make.core.reference.Country](((x$33: org.make.core.proposal.indexed.IndexedContext) => x$33.country))
1459 43153 57919 - 57928 Select org.make.core.proposal.indexed.IndexedContext.country x$33.country
1460 47630 57974 - 57992 Select org.make.core.proposal.indexed.IndexedContext.questionLanguage x$34.questionLanguage
1460 39764 57958 - 57993 Apply scala.Option.flatMap context.flatMap[org.make.core.reference.Language](((x$34: org.make.core.proposal.indexed.IndexedContext) => x$34.questionLanguage))
1461 32166 58038 - 58056 Select org.make.core.proposal.indexed.IndexedContext.proposalLanguage x$35.proposalLanguage
1461 49675 58022 - 58057 Apply scala.Option.flatMap context.flatMap[org.make.core.reference.Language](((x$35: org.make.core.proposal.indexed.IndexedContext) => x$35.proposalLanguage))
1462 33266 58084 - 58117 Apply scala.Option.flatMap context.flatMap[org.make.core.reference.Language](((x$36: org.make.core.proposal.indexed.IndexedContext) => x$36.clientLanguage))
1462 42103 58100 - 58116 Select org.make.core.proposal.indexed.IndexedContext.clientLanguage x$36.clientLanguage
1464 39472 58167 - 58178 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.ProposalListResponse.Context]({ val inst$macro$28: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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)))))) => ProposalListResponse.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.ProposalListResponse.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](ProposalListResponse.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](ProposalListResponse.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.ProposalListResponse.Context]](inst$macro$28) })
1476 35611 58481 - 58489 Select org.make.core.proposal.Vote.key vote.key
1476 39806 58552 - 58571 Apply org.make.api.proposal.ProposalListResponse.Qualification.apply ProposalListResponse.this.Qualification.apply(qualification)
1476 32676 58528 - 58572 Apply scala.collection.IterableOps.map vote.qualifications.map[org.make.api.proposal.ProposalListResponse.Qualification](((qualification: org.make.core.proposal.Qualification) => ProposalListResponse.this.Qualification.apply(qualification)))
1476 48092 58499 - 58509 Select org.make.core.proposal.Vote.count vote.count
1476 49710 58470 - 58573 Apply org.make.api.proposal.ProposalListResponse.Vote.apply ProposalListResponse.this.Vote.apply(vote.key, vote.count, vote.qualifications.map[org.make.api.proposal.ProposalListResponse.Qualification](((qualification: org.make.core.proposal.Qualification) => ProposalListResponse.this.Qualification.apply(qualification))))
1478 42136 58613 - 58624 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.ProposalListResponse.Vote]({ val inst$macro$16: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Vote] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.ProposalListResponse.Vote, (Symbol @@ String("key")) :: (Symbol @@ String("count")) :: (Symbol @@ String("qualifications")) :: shapeless.HNil, org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Vote, org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil](((x0$3: org.make.api.proposal.ProposalListResponse.Vote) => x0$3 match { case (key: org.make.core.proposal.VoteKey, count: Int, qualifications: Seq[org.make.api.proposal.ProposalListResponse.Qualification]): org.make.api.proposal.ProposalListResponse.Vote((key$macro$11 @ _), (count$macro$12 @ _), (qualifications$macro$13 @ _)) => ::.apply[org.make.core.proposal.VoteKey, Int :: Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil.type](key$macro$11, ::.apply[Int, Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil.type](count$macro$12, ::.apply[Seq[org.make.api.proposal.ProposalListResponse.Qualification], shapeless.HNil.type](qualifications$macro$13, HNil))).asInstanceOf[org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil] }), ((x0$4: org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil) => x0$4 match { case (head: org.make.core.proposal.VoteKey, tail: Int :: Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil): org.make.core.proposal.VoteKey :: Int :: Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil((key$macro$8 @ _), (head: Int, tail: Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil): Int :: Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil((count$macro$9 @ _), (head: Seq[org.make.api.proposal.ProposalListResponse.Qualification], tail: shapeless.HNil): Seq[org.make.api.proposal.ProposalListResponse.Qualification] :: shapeless.HNil((qualifications$macro$10 @ _), HNil))) => ProposalListResponse.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.ProposalListResponse.Qualification] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("count"),Int] :: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Qualification] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.ProposalListResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("qualifications"), Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.Qualification]] = circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalListResponse.Qualification](ProposalListResponse.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.ProposalListResponse.Qualification]] = circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse.Qualification](ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.Qualification]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcount @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.ProposalListResponse.Qualification]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("qualifications"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.Vote]](inst$macro$16) })
1493 39227 58963 - 59030 Apply org.make.api.proposal.ProposalListResponse.Qualification.apply ProposalListResponse.this.Qualification.apply(qualification.key, qualification.count)
1493 33738 58983 - 59000 Select org.make.core.proposal.Qualification.key qualification.key
1493 46330 59010 - 59029 Select org.make.core.proposal.Qualification.count qualification.count
1494 35362 59078 - 59089 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.ProposalListResponse.Qualification]({ val inst$macro$12: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Qualification] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.Qualification, org.make.core.proposal.QualificationKey :: Int :: shapeless.HNil](((x0$3: org.make.api.proposal.ProposalListResponse.Qualification) => x0$3 match { case (key: org.make.core.proposal.QualificationKey, count: Int): org.make.api.proposal.ProposalListResponse.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)) => ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.Qualification]](inst$macro$12) })
1497 48128 59147 - 59158 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.proposal.ProposalListResponse]({ val inst$macro$60: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse] = { final class anon$lazy$macro$59 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$59 = { anon$lazy$macro$59.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.proposal.ProposalListResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.proposal.ProposalId] :: shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.proposal.ProposalListResponse, (Symbol @@ String("id")) :: (Symbol @@ String("author")) :: (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("refusalReason")) :: (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.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.proposal.ProposalListResponse, (Symbol @@ String("id")) :: (Symbol @@ String("author")) :: (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("refusalReason")) :: (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("refusalReason")) :: (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("refusalReason")) :: (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("refusalReason")) :: (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("refusalReason")) :: (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("refusalReason")) :: (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("refusalReason")) :: (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("refusalReason")) :: (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("refusalReason"), (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil.type](scala.Symbol.apply("refusalReason").asInstanceOf[Symbol @@ String("refusalReason")], ::.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.ProposalListResponse, org.make.core.proposal.ProposalId :: org.make.api.proposal.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil](((x0$3: org.make.api.proposal.ProposalListResponse) => x0$3 match { case (id: org.make.core.proposal.ProposalId, author: org.make.api.proposal.ProposalListResponse.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, refusalReason: Option[String], tags: Seq[org.make.core.proposal.indexed.IndexedTag], createdAt: java.time.ZonedDateTime, agreementRate: Double, context: org.make.api.proposal.ProposalListResponse.Context, votes: Seq[org.make.api.proposal.ProposalListResponse.Vote], votesCount: Int): org.make.api.proposal.ProposalListResponse((id$macro$44 @ _), (author$macro$45 @ _), (content$macro$46 @ _), (contentTranslations$macro$47 @ _), (submittedAsLanguage$macro$48 @ _), (status$macro$49 @ _), (proposalType$macro$50 @ _), (refusalReason$macro$51 @ _), (tags$macro$52 @ _), (createdAt$macro$53 @ _), (agreementRate$macro$54 @ _), (context$macro$55 @ _), (votes$macro$56 @ _), (votesCount$macro$57 @ _)) => ::.apply[org.make.core.proposal.ProposalId, org.make.api.proposal.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](id$macro$44, ::.apply[org.make.api.proposal.ProposalListResponse.Author, String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](author$macro$45, ::.apply[String, org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](content$macro$46, ::.apply[org.make.core.technical.Multilingual[String], Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](contentTranslations$macro$47, ::.apply[Option[org.make.core.reference.Language], org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](submittedAsLanguage$macro$48, ::.apply[org.make.core.proposal.ProposalStatus, org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](status$macro$49, ::.apply[org.make.core.proposal.ProposalType, Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](proposalType$macro$50, ::.apply[Option[String], Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](refusalReason$macro$51, ::.apply[Seq[org.make.core.proposal.indexed.IndexedTag], java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](tags$macro$52, ::.apply[java.time.ZonedDateTime, Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](createdAt$macro$53, ::.apply[Double, org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](agreementRate$macro$54, ::.apply[org.make.api.proposal.ProposalListResponse.Context, Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil.type](context$macro$55, ::.apply[Seq[org.make.api.proposal.ProposalListResponse.Vote], Int :: shapeless.HNil.type](votes$macro$56, ::.apply[Int, shapeless.HNil.type](votesCount$macro$57, HNil)))))))))))))).asInstanceOf[org.make.core.proposal.ProposalId :: org.make.api.proposal.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil] }), ((x0$4: org.make.core.proposal.ProposalId :: org.make.api.proposal.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil) => x0$4 match { case (head: org.make.core.proposal.ProposalId, tail: org.make.api.proposal.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): org.make.core.proposal.ProposalId :: org.make.api.proposal.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((id$macro$30 @ _), (head: org.make.api.proposal.ProposalListResponse.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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): org.make.api.proposal.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((author$macro$31 @ _), (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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((content$macro$32 @ _), (head: org.make.core.technical.Multilingual[String], tail: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((contentTranslations$macro$33 @ _), (head: Option[org.make.core.reference.Language], tail: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((submittedAsLanguage$macro$34 @ _), (head: org.make.core.proposal.ProposalStatus, tail: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((status$macro$35 @ _), (head: org.make.core.proposal.ProposalType, tail: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((proposalType$macro$36 @ _), (head: Option[String], tail: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((refusalReason$macro$37 @ _), (head: Seq[org.make.core.proposal.indexed.IndexedTag], tail: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((tags$macro$38 @ _), (head: java.time.ZonedDateTime, tail: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((createdAt$macro$39 @ _), (head: Double, tail: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((agreementRate$macro$40 @ _), (head: org.make.api.proposal.ProposalListResponse.Context, tail: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil): org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((context$macro$41 @ _), (head: Seq[org.make.api.proposal.ProposalListResponse.Vote], tail: Int :: shapeless.HNil): Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil((votes$macro$42 @ _), (head: Int, tail: shapeless.HNil): Int :: shapeless.HNil((votesCount$macro$43 @ _), HNil)))))))))))))) => proposal.this.ProposalListResponse.apply(id$macro$30, author$macro$31, content$macro$32, contentTranslations$macro$33, submittedAsLanguage$macro$34, status$macro$35, proposalType$macro$36, refusalReason$macro$37, tags$macro$38, createdAt$macro$39, agreementRate$macro$40, context$macro$41, votes$macro$42, votesCount$macro$43) })), 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("refusalReason")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, org.make.api.proposal.ProposalListResponse.Author :: String :: org.make.core.technical.Multilingual[String] :: Option[org.make.core.reference.Language] :: org.make.core.proposal.ProposalStatus :: org.make.core.proposal.ProposalType :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Author, (Symbol @@ String("content")) :: (Symbol @@ String("contentTranslations")) :: (Symbol @@ String("submittedAsLanguage")) :: (Symbol @@ String("status")) :: (Symbol @@ String("proposalType")) :: (Symbol @@ String("refusalReason")) :: (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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason")) :: (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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason")) :: (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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason")) :: (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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason")) :: (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 :: Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("proposalType"),org.make.core.proposal.ProposalType] :: shapeless.labelled.FieldType[Symbol @@ String("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason")) :: (Symbol @@ String("tags")) :: (Symbol @@ String("createdAt")) :: (Symbol @@ String("agreementRate")) :: (Symbol @@ String("context")) :: (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, Option[String] :: Seq[org.make.core.proposal.indexed.IndexedTag] :: java.time.ZonedDateTime :: Double :: org.make.api.proposal.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("refusalReason"), Option[String], (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.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("agreementRate"),Double] :: shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context :: Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context, (Symbol @@ String("votes")) :: (Symbol @@ String("votesCount")) :: shapeless.HNil, Seq[org.make.api.proposal.ProposalListResponse.Vote] :: Int :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason")]](scala.Symbol.apply("refusalReason").asInstanceOf[Symbol @@ String("refusalReason")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("refusalReason")]])), 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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$59.this.inst$macro$58)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse]]; <stable> <accessor> lazy val inst$macro$58: 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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Author] = ProposalListResponse.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 circeGenericDecoderForrefusalReason: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString); 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] = ProposalListResponse.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.ProposalListResponse.Context] = ProposalListResponse.this.Context.codec; private[this] val circeGenericDecoderForvotes: io.circe.Decoder[Seq[org.make.api.proposal.ProposalListResponse.Vote]] = circe.this.Decoder.decodeSeq[org.make.api.proposal.ProposalListResponse.Vote](ProposalListResponse.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] = ProposalListResponse.this.stringValueEncoder[org.make.core.proposal.ProposalId]; private[this] val circeGenericEncoderForauthor: io.circe.Codec[org.make.api.proposal.ProposalListResponse.Author] = ProposalListResponse.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](ProposalListResponse.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 circeGenericEncoderForrefusalReason: io.circe.Encoder[Option[String]] = circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString); 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] = ProposalListResponse.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.ProposalListResponse.Context] = ProposalListResponse.this.Context.codec; private[this] val circeGenericEncoderForvotes: io.circe.Encoder.AsArray[Seq[org.make.api.proposal.ProposalListResponse.Vote]] = circe.this.Encoder.encodeSeq[org.make.api.proposal.ProposalListResponse.Vote](ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("author"),org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForproposalType @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("refusalReason"),Option[String]], 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForrefusalReason @ _), (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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context], tail: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("context"),org.make.api.proposal.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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.ProposalListResponse.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]("refusalReason", $anon.this.circeGenericEncoderForrefusalReason.apply(circeGenericHListBindingForrefusalReason)), 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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"), Option[String], 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForrefusalReason.tryDecode(c.downField("refusalReason")), 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context, shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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))(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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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("refusalReason"), Option[String], 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForrefusalReason.tryDecodeAccumulating(c.downField("refusalReason")), 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.Context, shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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))(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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.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.ProposalListResponse.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("refusalReason"),Option[String]] :: 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.ProposalListResponse.Context] :: shapeless.labelled.FieldType[Symbol @@ String("votes"),Seq[org.make.api.proposal.ProposalListResponse.Vote]] :: shapeless.labelled.FieldType[Symbol @@ String("votesCount"),Int] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$59().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.proposal.ProposalListResponse]](inst$macro$60) })