1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2018 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.api.proposal
21 
22 import akka.http.scaladsl.model._
23 import akka.http.scaladsl.server._
24 import akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq
25 import cats.data.Validated.{Invalid, Valid}
26 import cats.implicits._
27 import grizzled.slf4j.Logging
28 import io.swagger.annotations._
29 import org.make.api.operation.OperationServiceComponent
30 import org.make.api.question.QuestionServiceComponent
31 import org.make.api.sequence.SequenceConfigurationComponent
32 import org.make.api.technical.CsvReceptacle._
33 import org.make.api.technical.MakeDirectives.MakeDirectivesDependencies
34 import org.make.api.technical.directives.FutureDirectivesExtensions._
35 import org.make.api.technical.{EventBusServiceComponent, MakeAuthenticationDirectives}
36 import org.make.api.user.UserServiceComponent
37 import org.make.core.Validation._
38 import org.make.core.auth.UserRights
39 import org.make.core.idea.IdeaId
40 import org.make.core.operation.{OperationId, OperationKind, SortAlgorithm}
41 import org.make.core.proposal._
42 import org.make.core.proposal.indexed.ProposalElasticsearchFieldName
43 import org.make.core.question.{Question, QuestionId}
44 import org.make.core.reference.{Country, Language}
45 import org.make.core.tag.TagId
46 import org.make.core.technical.Pagination
47 import org.make.core.user.UserType
48 import org.make.core._
49 import scalaoauth2.provider.AuthInfo
50 
51 import javax.ws.rs.Path
52 import scala.concurrent.ExecutionContext.Implicits.global
53 import scala.concurrent.Future
54 
55 @Api(value = "Proposal")
56 @Path(value = "/")
57 trait ProposalApi extends Directives {
58 
59   @ApiOperation(value = "get-proposal", httpMethod = "GET", code = HttpCodes.OK)
60   @ApiResponses(
61     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ProposalResponse]))
62   )
63   @ApiImplicitParams(
64     value = Array(
65       new ApiImplicitParam(name = "questionId", paramType = "path", dataType = "string"),
66       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string"),
67       new ApiImplicitParam(name = "preferredLanguage", paramType = "query", dataType = "string", example = "fr")
68     )
69   )
70   @Path(value = "/questions/{questionId}/proposals/{proposalId}")
71   def getProposal: Route
72 
73   @ApiOperation(value = "search-proposals", httpMethod = "GET", code = HttpCodes.OK)
74   @ApiResponses(
75     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ProposalsResultResponse]))
76   )
77   @ApiImplicitParams(
78     value = Array(
79       new ApiImplicitParam(name = "proposalIds", paramType = "query", dataType = "string"),
80       new ApiImplicitParam(name = "questionId", paramType = "query", dataType = "string"),
81       new ApiImplicitParam(name = "tagsIds", paramType = "query", dataType = "string"),
82       new ApiImplicitParam(name = "operationId", paramType = "query", dataType = "string"),
83       new ApiImplicitParam(name = "content", paramType = "query", dataType = "string"),
84       new ApiImplicitParam(name = "slug", paramType = "query", dataType = "string"),
85       new ApiImplicitParam(name = "seed", paramType = "query", dataType = "int"),
86       new ApiImplicitParam(name = "source", paramType = "query", dataType = "string"),
87       new ApiImplicitParam(name = "context", paramType = "query", dataType = "string"),
88       new ApiImplicitParam(name = "location", paramType = "query", dataType = "string"),
89       new ApiImplicitParam(name = "question", paramType = "query", dataType = "string"),
90       new ApiImplicitParam(name = "language", paramType = "query", dataType = "string"),
91       new ApiImplicitParam(name = "country", paramType = "query", dataType = "string"),
92       new ApiImplicitParam(
93         name = "sort",
94         paramType = "query",
95         dataType = "string",
96         allowableValues = ProposalElasticsearchFieldName.swaggerAllowableValues
97       ),
98       new ApiImplicitParam(
99         name = "order",
100         paramType = "query",
101         dataType = "string",
102         allowableValues = Order.swaggerAllowableValues
103       ),
104       new ApiImplicitParam(
105         name = "limit",
106         paramType = "query",
107         dataType = "int",
108         allowableValues = "range[0, infinity]"
109       ),
110       new ApiImplicitParam(
111         name = "skip",
112         paramType = "query",
113         dataType = "int",
114         allowableValues = "range[0, infinity]"
115       ),
116       new ApiImplicitParam(name = "isRandom", paramType = "query", dataType = "boolean"),
117       new ApiImplicitParam(
118         name = "sortAlgorithm",
119         paramType = "query",
120         dataType = "string",
121         allowableValues = SortAlgorithm.swaggerAllowableValues
122       ),
123       new ApiImplicitParam(
124         name = "operationKinds",
125         paramType = "query",
126         dataType = "string",
127         allowableValues = OperationKind.swaggerAllowableValues,
128         allowMultiple = true
129       ),
130       new ApiImplicitParam(
131         name = "userType",
132         paramType = "query",
133         dataType = "string",
134         allowableValues = UserType.swaggerAllowableValues
135       ),
136       new ApiImplicitParam(name = "ideaIds", paramType = "query", dataType = "string"),
137       new ApiImplicitParam(name = "keywords", paramType = "query", dataType = "string"),
138       new ApiImplicitParam(name = "isNotVoted", paramType = "query", dataType = "boolean")
139     )
140   )
141   @Path(value = "/proposals")
142   def search: Route
143 
144   @ApiOperation(
145     value = "propose-proposal",
146     httpMethod = "POST",
147     code = HttpCodes.OK,
148     authorizations = Array(
149       new Authorization(
150         value = "MakeApi",
151         scopes = Array(
152           new AuthorizationScope(scope = "user", description = "application user"),
153           new AuthorizationScope(scope = "admin", description = "BO Admin")
154         )
155       )
156     )
157   )
158   @ApiImplicitParams(
159     value = Array(
160       new ApiImplicitParam(name = "questionId", paramType = "path", dataType = "string"),
161       new ApiImplicitParam(
162         value = "body",
163         paramType = "body",
164         dataType = "org.make.api.proposal.ProposeProposalRequest"
165       )
166     )
167   )
168   @ApiResponses(
169     value = Array(new ApiResponse(code = HttpCodes.Created, message = "Ok", response = classOf[ProposalIdResponse]))
170   )
171   @Path(value = "/questions/{questionId}/proposals")
172   def postProposal: Route
173 
174   @ApiOperation(value = "vote-proposal", httpMethod = "POST", code = HttpCodes.OK)
175   @ApiImplicitParams(
176     value = Array(
177       new ApiImplicitParam(name = "questionId", paramType = "path", dataType = "string"),
178       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string"),
179       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.VoteProposalRequest")
180     )
181   )
182   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[VoteResponse])))
183   @Path(value = "/questions/{questionId}/proposals/{proposalId}/vote")
184   def vote: Route
185 
186   @ApiOperation(value = "unvote-proposal", httpMethod = "POST", code = HttpCodes.OK)
187   @ApiImplicitParams(
188     value = Array(
189       new ApiImplicitParam(name = "questionId", paramType = "path", dataType = "string"),
190       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string"),
191       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.VoteProposalRequest")
192     )
193   )
194   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[VoteResponse])))
195   @Path(value = "/questions/{questionId}/proposals/{proposalId}/unvote")
196   def unvote: Route
197 
198   @ApiOperation(value = "qualification-vote", httpMethod = "POST", code = HttpCodes.OK)
199   @ApiImplicitParams(
200     value = Array(
201       new ApiImplicitParam(name = "questionId", paramType = "path", dataType = "string"),
202       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string"),
203       new ApiImplicitParam(
204         value = "body",
205         paramType = "body",
206         dataType = "org.make.api.proposal.QualificationProposalRequest"
207       )
208     )
209   )
210   @ApiResponses(
211     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[QualificationResponse]))
212   )
213   @Path(value = "/questions/{questionId}/proposals/{proposalId}/qualification")
214   def qualification: Route
215 
216   @ApiOperation(value = "unqualification-vote", httpMethod = "POST", code = HttpCodes.OK)
217   @ApiImplicitParams(
218     value = Array(
219       new ApiImplicitParam(name = "questionId", paramType = "path", dataType = "string"),
220       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string"),
221       new ApiImplicitParam(
222         value = "body",
223         paramType = "body",
224         dataType = "org.make.api.proposal.QualificationProposalRequest"
225       )
226     )
227   )
228   @ApiResponses(
229     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[QualificationResponse]))
230   )
231   @Path(value = "/questions/{questionId}/proposals/{proposalId}/unqualification")
232   def unqualification: Route
233 
234   @ApiOperation(value = "report-proposal", httpMethod = "POST", code = HttpCodes.OK)
235   @ApiImplicitParams(
236     value = Array(
237       new ApiImplicitParam(name = "questionId", paramType = "path", dataType = "string"),
238       new ApiImplicitParam(name = "proposalId", paramType = "path", dataType = "string"),
239       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.proposal.ReportProposalRequest")
240     )
241   )
242   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.NoContent, message = "Ok")))
243   @Path(value = "/questions/{questionId}/proposals/{proposalId}/report")
244   def reportProposal: Route
245 
246   def routes: Route =
247     postProposal ~
248       getProposal ~
249       search ~
250       vote ~
251       unvote ~
252       qualification ~
253       unqualification ~
254       reportProposal
255 
256 }
257 
258 trait ProposalApiComponent {
259   def proposalApi: ProposalApi
260 }
261 
262 trait DefaultProposalApiComponent
263     extends ProposalApiComponent
264     with MakeAuthenticationDirectives
265     with Logging
266     with ParameterExtractors {
267 
268   this: MakeDirectivesDependencies
269     with EventBusServiceComponent
270     with ProposalServiceComponent
271     with UserServiceComponent
272     with OperationServiceComponent
273     with SequenceConfigurationComponent
274     with QuestionServiceComponent =>
275 
276   override lazy val proposalApi: DefaultProposalApi = new DefaultProposalApi
277 
278   class DefaultProposalApi extends ProposalApi {
279     val questionId: PathMatcher1[QuestionId] = Segment.map(id => QuestionId(id))
280     val proposalId: PathMatcher1[ProposalId] = Segment.map(id => ProposalId(id))
281 
282     def getProposal: Route = {
283       get {
284         path("questions" / questionId / "proposals" / proposalId) { (questionId, proposalId) =>
285           makeOperation("GetProposal") { requestContext =>
286             optionalOidcAuth(questionId) { _ =>
287               parameters("preferredLanguage".as[Language].?) {
288                 (
289                   preferredLanguage: Option[Language]
290                 ) =>
291                   proposalService
292                     .getProposalById(proposalId, requestContext)
293                     .asDirectiveOrNotFound
294                     .flatMap(
295                       proposal =>
296                         (
297                           proposal.question
298                             .fold(Future.successful(Option.empty[Question]))(
299                               question => questionService.getQuestion(question.questionId)
300                             )
301                             .asDirectiveOrNotFound,
302                           proposal.question
303                             .fold(Future.successful(Option.empty[Int]))(
304                               question =>
305                                 sequenceConfigurationService
306                                   .getSequenceConfigurationByQuestionId(question.questionId)
307                                   .map(config => Some(config.newProposalsVoteThreshold))
308                             )
309                             .asDirectiveOrBadRequest(
310                               ValidationError(
311                                 "questionId",
312                                 "not_found",
313                                 Some(s"Question not found for proposal $proposalId.")
314                               )
315                             ),
316                           sessionHistoryCoordinatorService
317                             .retrieveVoteAndQualifications(requestContext.sessionId, Seq(proposalId))
318                             .asDirective
319                         ).mapN((question, newProposalsVoteThreshold, votes) => {
320                           val proposalKey =
321                             proposalService.generateProposalKeyHash(
322                               proposalId,
323                               requestContext.sessionId,
324                               requestContext.location,
325                               securityConfiguration.secureVoteSalt
326                             )
327                           ProposalResponse(
328                             proposal,
329                             requestContext.userId.contains(proposal.author.userId),
330                             votes.get(proposalId),
331                             proposalKey,
332                             newProposalsVoteThreshold,
333                             preferredLanguage,
334                             Some(question.defaultLanguage)
335                           )
336                         })
337                     )
338                     .apply(complete(_))
339               }
340             }
341           }
342         }
343       }
344     }
345 
346     def search: Route = {
347       get {
348         path("proposals") {
349           makeOperation("Search") { requestContext =>
350             optionalMakeOAuth2 { userAuth: Option[AuthInfo[UserRights]] =>
351               parameters(
352                 "proposalIds".as[Seq[ProposalId]].?,
353                 "questionId".as[Seq[QuestionId]].?,
354                 "tagsIds".as[Seq[TagId]].?,
355                 "operationId".as[OperationId].?,
356                 "content".?,
357                 "slug".?,
358                 "source".?,
359                 "location".?,
360                 "question".?,
361                 "language".as[Language].?,
362                 "country".as[Country].?,
363                 "operationKinds".csv[OperationKind],
364                 "userType".as[Seq[UserType]].?,
365                 "ideaIds".as[Seq[IdeaId]].?,
366                 "keywords".as[Seq[ProposalKeywordKey]].?,
367                 "isNotVoted".as[Boolean].?
368               ) {
369                 (
370                   proposalIds: Option[Seq[ProposalId]],
371                   questionIds: Option[Seq[QuestionId]],
372                   tagsIds: Option[Seq[TagId]],
373                   operationId: Option[OperationId],
374                   content: Option[String],
375                   slug: Option[String],
376                   source: Option[String],
377                   location: Option[String],
378                   question: Option[String],
379                   language: Option[Language],
380                   country: Option[Country],
381                   operationKinds: Option[Seq[OperationKind]],
382                   userType: Option[Seq[UserType]],
383                   ideaIds: Option[Seq[IdeaId]],
384                   keywords: Option[Seq[ProposalKeywordKey]],
385                   isNotVoted: Option[Boolean]
386                 ) =>
387                   parameters(
388                     "sort".as[ProposalElasticsearchFieldName].?,
389                     "order".as[Order].?,
390                     "limit".as[Pagination.Limit].?,
391                     "skip".as[Pagination.Offset].?,
392                     "sortAlgorithm".as[AlgorithmSelector].?,
393                     "seed".as[Int].?,
394                     "preferredLanguage".as[Language].?
395                   ) {
396                     (
397                       sort: Option[ProposalElasticsearchFieldName],
398                       order: Option[Order],
399                       limit: Option[Pagination.Limit],
400                       offset: Option[Pagination.Offset],
401                       sortAlgorithm: Option[AlgorithmSelector],
402                       seed: Option[Int],
403                       preferredLanguage: Option[Language]
404                     ) =>
405                       Validation.validate(country.map { countryValue =>
406                         Validation.validChoices(
407                           fieldName = "country",
408                           message = Some(
409                             s"Invalid country. Expected one of ${BusinessConfig.supportedCountries.map(_.countryCode)}"
410                           ),
411                           Seq(countryValue),
412                           BusinessConfig.supportedCountries.map(_.countryCode)
413                         )
414                       }.toList: _*)
415 
416                       val futureExcludedProposalIds = isNotVoted match {
417                         case Some(true) =>
418                           sessionHistoryCoordinatorService
419                             .retrieveVotedProposals(requestContext.sessionId)
420                             .map {
421                               case Seq() => None
422                               case voted => Some(voted)
423                             }
424                         case _ => Future.successful(None)
425                       }
426                       val maybeQuestionId = questionIds match {
427                         case Some(Seq(questionId)) => Some(questionId)
428                         case _                     => None
429                       }
430                       (
431                         maybeQuestionId.flatTraverse(questionService.getQuestion(_)).asDirective,
432                         futureExcludedProposalIds.asDirective
433                       ).tupled.flatMap {
434                         case (maybeQuestion, excludedProposalIds) =>
435                           val contextFilterRequest: Option[ContextFilterRequest] =
436                             ContextFilterRequest.parse(operationId, source, location, question)
437                           val searchRequest: SearchRequest = SearchRequest(
438                             proposalIds = proposalIds,
439                             questionIds = questionIds,
440                             tagsIds = tagsIds,
441                             operationId = operationId,
442                             content = content,
443                             slug = slug,
444                             seed = seed,
445                             context = contextFilterRequest,
446                             language = language,
447                             country = country,
448                             sort = sort.map(_.field),
449                             order = order,
450                             limit = limit,
451                             offset = offset,
452                             sortAlgorithm = sortAlgorithm.map(_.value),
453                             operationKinds = operationKinds.orElse {
454                               if (questionIds.exists(_.nonEmpty)) {
455                                 Some(OperationKind.unsecuredKinds)
456                               } else {
457                                 Some(OperationKind.publicKinds)
458                               }
459                             },
460                             userTypes = userType,
461                             ideaIds = ideaIds,
462                             keywords = keywords,
463                             excludedProposalIds = excludedProposalIds
464                           )
465                           proposalService
466                             .searchForUser(
467                               userId = userAuth.map(_.user.userId),
468                               query = searchRequest.toSearchQuery(requestContext),
469                               requestContext = requestContext,
470                               preferredLanguage = preferredLanguage,
471                               questionDefaultLanguage = maybeQuestion.map(_.defaultLanguage)
472                             )
473                             .asDirective
474                       }.apply { proposals =>
475                         complete(proposals)
476                       }
477                   }
478               }
479             }
480           }
481         }
482       }
483     }
484 
485     private val maxProposalLength = BusinessConfig.defaultProposalMaxLength
486     private val minProposalLength = FrontConfiguration.defaultProposalMinLength
487 
488     def postProposal: Route =
489       post {
490         path("questions" / questionId / "proposals") { questionId =>
491           makeOperation("PostProposal") { requestContext =>
492             oidcAuth(questionId) { auth: AuthInfo[UserRights] =>
493               decodeRequest {
494                 entity(as[ProposeProposalRequest]) { request: ProposeProposalRequest =>
495                   (
496                     userService.getUser(auth.user.userId).asDirectiveOrNotFound,
497                     questionService
498                       .getQuestion(questionId)
499                       .asDirectiveOrBadRequest(
500                         ValidationError("question", "mandatory", Some("This proposal refers to no known question"))
501                       )
502                   ).mapN((user, question) => {
503                       (
504                         request.content.withMaxLength(maxProposalLength, "content"),
505                         request.content.withMinLength(minProposalLength, "content"),
506                         request.content.toSanitizedInput("content"),
507                         request.language
508                           .predicateValidated(
509                             question.languages.toList.contains,
510                             "language",
511                             "unsupported_language",
512                             Some(s"Language ${request.language.value} is not supported by question ${questionId.value}")
513                           )
514                       ).tupled match {
515                         case Invalid(errsNec) =>
516                           failWith(ValidationFailedError(errsNec.toList)): Directive1[ProposalId]
517                         case Valid(a) =>
518                           proposalService
519                             .propose(
520                               user = user,
521                               requestContext = requestContext,
522                               createdAt = DateHelper.now(),
523                               content = request.content,
524                               question = question,
525                               initialProposal = false,
526                               submittedAsLanguage = request.language,
527                               isAnonymous = request.isAnonymous,
528                               proposalType = ProposalType.ProposalTypeSubmitted
529                             )
530                             .asDirective
531                       }
532                     })
533                     .flatten
534                     .apply(proposalId => complete(StatusCodes.Created -> ProposalIdResponse(proposalId)))
535                 }
536               }
537             }
538           }
539         }
540       }
541 
542     def vote: Route = post {
543       path("questions" / questionId / "proposals" / proposalId / "vote") { (questionId, proposalId) =>
544         makeOperation("VoteProposal") { requestContext =>
545           optionalOidcAuth(questionId) { maybeAuth: Option[AuthInfo[UserRights]] =>
546             decodeRequest {
547               entity(as[VoteProposalRequest]) { request =>
548                 proposalService
549                   .voteProposal(
550                     proposalId = proposalId,
551                     maybeUserId = maybeAuth.map(_.user.userId),
552                     requestContext = requestContext,
553                     voteKey = request.voteKey,
554                     proposalKey = request.proposalKey
555                   )
556                   .asDirectiveOrNotFound
557                   .apply(
558                     votes =>
559                       complete(
560                         VotesResponse
561                           .parseVotes(
562                             votes = votes,
563                             hasVoted = Map(request.voteKey -> true),
564                             votedKey = request.voteKey
565                           )
566                       )
567                   )
568               }
569             }
570           }
571         }
572       }
573     }
574 
575     def unvote: Route = post {
576       path("questions" / questionId / "proposals" / proposalId / "unvote") { (questionId, proposalId) =>
577         makeOperation("UnvoteProposal") { requestContext =>
578           optionalOidcAuth(questionId) { maybeAuth: Option[AuthInfo[UserRights]] =>
579             decodeRequest {
580               entity(as[VoteProposalRequest]) { request =>
581                 proposalService
582                   .unvoteProposal(
583                     proposalId = proposalId,
584                     maybeUserId = maybeAuth.map(_.user.userId),
585                     requestContext = requestContext,
586                     voteKey = request.voteKey,
587                     proposalKey = request.proposalKey
588                   )
589                   .asDirectiveOrNotFound
590                   .apply(
591                     votes =>
592                       complete(
593                         VotesResponse.parseVotes(votes = votes, hasVoted = Map.empty, votedKey = request.voteKey)
594                       )
595                   )
596               }
597             }
598           }
599         }
600       }
601     }
602 
603     def qualification: Route = post {
604       path("questions" / questionId / "proposals" / proposalId / "qualification") { (questionId, proposalId) =>
605         makeOperation("QualificationProposal") { requestContext =>
606           optionalOidcAuth(questionId) { maybeAuth: Option[AuthInfo[UserRights]] =>
607             decodeRequest {
608               entity(as[QualificationProposalRequest]) { request =>
609                 proposalService
610                   .qualifyVote(
611                     proposalId = proposalId,
612                     maybeUserId = maybeAuth.map(_.user.userId),
613                     requestContext = requestContext,
614                     voteKey = request.voteKey,
615                     qualificationKey = request.qualificationKey,
616                     proposalKey = request.proposalKey
617                   )
618                   .asDirectiveOrNotFound { qualification: Qualification =>
619                     complete(
620                       QualificationResponse.parseQualification(qualification = qualification, hasQualified = true)
621                     )
622                   }
623               }
624             }
625           }
626         }
627       }
628     }
629 
630     def unqualification: Route = post {
631       path("questions" / questionId / "proposals" / proposalId / "unqualification") { (questionId, proposalId) =>
632         makeOperation("UnqualificationProposal") { requestContext =>
633           optionalOidcAuth(questionId) { maybeAuth: Option[AuthInfo[UserRights]] =>
634             decodeRequest {
635               entity(as[QualificationProposalRequest]) { request =>
636                 proposalService
637                   .unqualifyVote(
638                     proposalId = proposalId,
639                     maybeUserId = maybeAuth.map(_.user.userId),
640                     requestContext = requestContext,
641                     voteKey = request.voteKey,
642                     qualificationKey = request.qualificationKey,
643                     proposalKey = request.proposalKey
644                   )
645                   .asDirectiveOrNotFound { qualification: Qualification =>
646                     complete(
647                       QualificationResponse.parseQualification(qualification = qualification, hasQualified = false)
648                     )
649                   }
650               }
651             }
652           }
653         }
654       }
655     }
656 
657     def reportProposal: Route =
658       post {
659         path("questions" / questionId / "proposals" / proposalId / "report") { (questionId, proposalId) =>
660           makeOperation("PostProposal") { requestContext =>
661             optionalOidcAuth(questionId) { _ =>
662               decodeRequest {
663                 entity(as[ReportProposalRequest]) { request: ReportProposalRequest =>
664                   Future(
665                     eventBusService.publish(
666                       PublishedProposalEvent.ProposalReportedNotice(
667                         id = proposalId,
668                         proposalLanguage = request.proposalLanguage,
669                         reason = request.reason,
670                         eventDate = DateHelper.now(),
671                         requestContext = requestContext
672                       )
673                     )
674                   ).asDirective
675                     .apply(_ => complete(StatusCodes.OK))
676                 }
677               }
678             }
679           }
680         }
681       }
682   }
683 }
Line Stmt Id Pos Tree Symbol Tests Code
247 40253 10347 - 10359 Select org.make.api.proposal.ProposalApi.postProposal org.make.api.proposal.proposalapitest ProposalApi.this.postProposal
247 49752 10347 - 10379 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.proposalapitest ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this.postProposal).~(ProposalApi.this.getProposal)
248 32718 10368 - 10379 Select org.make.api.proposal.ProposalApi.getProposal org.make.api.proposal.proposalapitest ProposalApi.this.getProposal
248 33776 10347 - 10394 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.proposalapitest ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this.postProposal).~(ProposalApi.this.getProposal)).~(ProposalApi.this.search)
249 39269 10347 - 10407 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.proposalapitest ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this.postProposal).~(ProposalApi.this.getProposal)).~(ProposalApi.this.search)).~(ProposalApi.this.vote)
249 41358 10388 - 10394 Select org.make.api.proposal.ProposalApi.search org.make.api.proposal.proposalapitest ProposalApi.this.search
250 47889 10347 - 10422 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.proposalapitest ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this.postProposal).~(ProposalApi.this.getProposal)).~(ProposalApi.this.search)).~(ProposalApi.this.vote)).~(ProposalApi.this.unvote)
250 46241 10403 - 10407 Select org.make.api.proposal.ProposalApi.vote org.make.api.proposal.proposalapitest ProposalApi.this.vote
251 35399 10416 - 10422 Select org.make.api.proposal.ProposalApi.unvote org.make.api.proposal.proposalapitest ProposalApi.this.unvote
251 32154 10347 - 10444 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.proposalapitest ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this.postProposal).~(ProposalApi.this.getProposal)).~(ProposalApi.this.search)).~(ProposalApi.this.vote)).~(ProposalApi.this.unvote)).~(ProposalApi.this.qualification)
252 40286 10431 - 10444 Select org.make.api.proposal.ProposalApi.qualification org.make.api.proposal.proposalapitest ProposalApi.this.qualification
252 41395 10347 - 10468 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.proposalapitest ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this.postProposal).~(ProposalApi.this.getProposal)).~(ProposalApi.this.search)).~(ProposalApi.this.vote)).~(ProposalApi.this.unvote)).~(ProposalApi.this.qualification)).~(ProposalApi.this.unqualification)
253 46282 10347 - 10491 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.proposal.proposalapitest ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this._enhanceRouteWithConcatenation(ProposalApi.this.postProposal).~(ProposalApi.this.getProposal)).~(ProposalApi.this.search)).~(ProposalApi.this.vote)).~(ProposalApi.this.unvote)).~(ProposalApi.this.qualification)).~(ProposalApi.this.unqualification)).~(ProposalApi.this.reportProposal)
253 45799 10453 - 10468 Select org.make.api.proposal.ProposalApi.unqualification org.make.api.proposal.proposalapitest ProposalApi.this.unqualification
254 33523 10477 - 10491 Select org.make.api.proposal.ProposalApi.reportProposal org.make.api.proposal.proposalapitest ProposalApi.this.reportProposal
279 38701 11133 - 11140 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.proposal.proposalapitest DefaultProposalApi.this.Segment
279 34623 11151 - 11165 Apply org.make.core.question.QuestionId.apply org.make.api.proposal.proposalapitest org.make.core.question.QuestionId.apply(id)
279 47928 11133 - 11166 Apply akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map org.make.api.proposal.proposalapitest server.this.PathMatcher.PathMatcher1Ops[String](DefaultProposalApi.this.Segment).map[org.make.core.question.QuestionId](((id: String) => org.make.core.question.QuestionId.apply(id)))
280 31912 11232 - 11246 Apply org.make.core.proposal.ProposalId.apply org.make.api.proposal.proposalapitest org.make.core.proposal.ProposalId.apply(id)
280 40825 11214 - 11221 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.proposal.proposalapitest DefaultProposalApi.this.Segment
280 45218 11214 - 11247 Apply akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map org.make.api.proposal.proposalapitest server.this.PathMatcher.PathMatcher1Ops[String](DefaultProposalApi.this.Segment).map[org.make.core.proposal.ProposalId](((id: String) => org.make.core.proposal.ProposalId.apply(id)))
283 41156 11286 - 11289 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.proposal.proposalapitest DefaultProposalApi.this.get
283 46390 11286 - 14192 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("GetProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$1: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.proposal.indexed.IndexedProposal](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.indexed.IndexedProposal](DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Int, Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)).mapN[org.make.api.proposal.ProposalResponse](((question: org.make.core.question.Question, newProposalsVoteThreshold: Int, votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => { val proposalKey: String = DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt); ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalResponse]).apply(((x$2: org.make.api.proposal.ProposalResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse])))))))))))))))
284 46315 11319 - 11329 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.questionId org.make.api.proposal.proposalapitest DefaultProposalApi.this.questionId
284 38456 11317 - 11317 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.proposalapitest TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
284 48417 11304 - 11304 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac2 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
284 47379 11344 - 11344 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])))
284 35353 11332 - 11343 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("proposals")
284 33559 11305 - 11316 Literal <nosymbol> org.make.api.proposal.proposalapitest "questions"
284 34369 11344 - 11344 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleFoldInstances.t1 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))
284 31947 11346 - 11356 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.proposalId org.make.api.proposal.proposalapitest DefaultProposalApi.this.proposalId
284 38490 11305 - 11356 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))
284 41884 11344 - 11344 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.Join.Fold.step org.make.api.proposal.proposalapitest Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])
284 47674 11330 - 11330 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
284 40867 11330 - 11330 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
284 50284 11300 - 14184 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("GetProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$1: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.proposal.indexed.IndexedProposal](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.indexed.IndexedProposal](DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Int, Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)).mapN[org.make.api.proposal.ProposalResponse](((question: org.make.core.question.Question, newProposalsVoteThreshold: Int, votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => { val proposalKey: String = DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt); ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalResponse]).apply(((x$2: org.make.api.proposal.ProposalResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse]))))))))))))))
284 31383 11300 - 11357 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.proposalapitest DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])))))
284 45756 11344 - 11344 TypeApply akka.http.scaladsl.server.util.TupleAppendOneInstances.append1 org.make.api.proposal.proposalapitest TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
285 37505 11398 - 14174 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("GetProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$1: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.proposal.indexed.IndexedProposal](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.indexed.IndexedProposal](DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Int, Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)).mapN[org.make.api.proposal.ProposalResponse](((question: org.make.core.question.Question, newProposalsVoteThreshold: Int, votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => { val proposalKey: String = DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt); ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalResponse]).apply(((x$2: org.make.api.proposal.ProposalResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse]))))))))))))
285 40899 11412 - 11425 Literal <nosymbol> "GetProposal"
285 33512 11411 - 11411 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
285 41643 11398 - 11426 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultProposalApiComponent.this.makeOperation("GetProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3)
285 33018 11398 - 11398 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultProposalApiComponent.this.makeOperation$default$2
285 45790 11398 - 11398 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultProposalApiComponent.this.makeOperation$default$3
286 31422 11475 - 11475 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
286 47412 11459 - 11459 Select org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2 DefaultProposalApiComponent.this.optionalOidcAuth$default$2
286 39017 11459 - 11487 Apply org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2)
286 46065 11459 - 14162 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$1: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.proposal.indexed.IndexedProposal](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.indexed.IndexedProposal](DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Int, Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)).mapN[org.make.api.proposal.ProposalResponse](((question: org.make.core.question.Question, newProposalsVoteThreshold: Int, votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => { val proposalKey: String = DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt); ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalResponse]).apply(((x$2: org.make.api.proposal.ProposalResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse]))))))))))
287 33548 11509 - 11555 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)))
287 40040 11520 - 11554 Select akka.http.scaladsl.common.NameReceptacle.? DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
287 47917 11520 - 11539 Literal <nosymbol> "preferredLanguage"
287 45545 11553 - 11553 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)
287 37967 11520 - 11554 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))
287 33056 11553 - 11553 Select org.make.core.ParameterExtractors.languageFromStringUnmarshaller DefaultProposalApiComponent.this.languageFromStringUnmarshaller
287 31982 11509 - 14148 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((preferredLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.proposal.indexed.IndexedProposal](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.indexed.IndexedProposal](DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Int, Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)).mapN[org.make.api.proposal.ProposalResponse](((question: org.make.core.question.Question, newProposalsVoteThreshold: Int, votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => { val proposalKey: String = DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt); ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalResponse]).apply(((x$2: org.make.api.proposal.ProposalResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse]))))))))
287 46564 11519 - 11519 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]
292 38444 11669 - 11749 Apply org.make.api.proposal.ProposalService.getProposalById DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)
293 31164 11669 - 11792 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.indexed.IndexedProposal](DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)).asDirectiveOrNotFound
293 47665 11771 - 11771 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
294 45327 11821 - 11821 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalResponse]
294 32225 11669 - 14092 Apply cats.FlatMap.Ops.flatMap cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.proposal.indexed.IndexedProposal](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.indexed.IndexedProposal](DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Int, Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)).mapN[org.make.api.proposal.ProposalResponse](((question: org.make.core.question.Question, newProposalsVoteThreshold: Int, votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => { val proposalKey: String = DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt); ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)))
296 47156 11881 - 13178 Apply scala.Tuple3.apply scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)
298 40076 11979 - 12001 TypeApply scala.Option.empty scala.Option.empty[org.make.core.question.Question]
298 33302 11909 - 12125 Apply scala.Option.fold proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))
298 32971 11961 - 12002 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question])
299 38005 12047 - 12095 Apply org.make.api.question.QuestionService.getQuestion DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)
299 44967 12075 - 12094 Select org.make.core.proposal.indexed.IndexedProposalQuestion.questionId question.questionId
301 46598 11909 - 12176 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound
303 33341 12204 - 12609 Apply scala.Option.fold proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))
303 30591 12256 - 12292 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int])
303 39509 12274 - 12291 TypeApply scala.Option.empty scala.Option.empty[Int]
306 47702 12470 - 12489 Select org.make.core.proposal.indexed.IndexedProposalQuestion.questionId question.questionId
307 39840 12545 - 12577 Select org.make.core.sequence.SequenceConfiguration.newProposalsVoteThreshold config.newProposalsVoteThreshold
307 37920 12369 - 12579 ApplyToImplicitArgs scala.concurrent.Future.map DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)
307 33008 12540 - 12578 Apply scala.Some.apply scala.Some.apply[Int](config.newProposalsVoteThreshold)
307 45000 12529 - 12529 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
309 39880 12204 - 12949 Apply org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrBadRequest org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String))))
310 44450 12694 - 12919 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))
311 47116 12743 - 12755 Literal <nosymbol> "questionId"
312 39547 12789 - 12800 Literal <nosymbol> "not_found"
313 30628 12834 - 12887 Apply scala.Some.apply scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String))
317 37956 12977 - 13111 Apply org.make.api.sessionhistory.SessionHistoryCoordinatorService.retrieveVoteAndQualifications DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))
317 32758 13069 - 13093 Select org.make.core.RequestContext.sessionId requestContext.sessionId
317 46076 13095 - 13110 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId)
318 33809 12977 - 13152 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective
319 39831 11881 - 14070 ApplyToImplicitArgs cats.syntax.Tuple3SemigroupalOps.mapN cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Int, Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)).mapN[org.make.api.proposal.ProposalResponse](((question: org.make.core.question.Question, newProposalsVoteThreshold: Int, votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => { val proposalKey: String = DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt); ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
319 44249 13183 - 13183 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
319 31195 13183 - 13183 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
321 39791 13306 - 13596 Apply org.make.api.proposal.ProposalService.generateProposalKeyHash DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt)
323 39581 13419 - 13443 Select org.make.core.RequestContext.sessionId requestContext.sessionId
324 31157 13475 - 13498 Select org.make.core.RequestContext.location requestContext.location
325 44485 13530 - 13566 Select org.make.api.technical.security.SecurityConfiguration.secureVoteSalt DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt
327 39342 13623 - 14043 Apply org.make.api.proposal.ProposalResponse.apply ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage))
329 46105 13707 - 13761 Apply scala.Option.contains requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId)
329 32796 13738 - 13760 Select org.make.core.proposal.indexed.IndexedAuthor.userId proposal.author.userId
330 37713 13791 - 13812 Apply scala.collection.MapOps.get votes.get(proposalId)
334 46318 13985 - 14015 Apply scala.Some.apply scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)
334 33844 13990 - 14014 Select org.make.core.question.Question.defaultLanguage question.defaultLanguage
338 30949 14129 - 14130 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse])))
338 50244 14129 - 14129 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse]
338 39869 11669 - 14132 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.proposal.indexed.IndexedProposal](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.indexed.IndexedProposal](DefaultProposalApiComponent.this.proposalService.getProposalById(proposalId, requestContext)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalResponse](((proposal: org.make.core.proposal.indexed.IndexedProposal) => cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Int, Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](proposal.question.fold[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.questionService.getQuestion(question.questionId)))).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[Int](proposal.question.fold[scala.concurrent.Future[Option[Int]]](scala.concurrent.Future.successful[Option[Int]](scala.Option.empty[Int]))(((question: org.make.core.proposal.indexed.IndexedProposalQuestion) => DefaultProposalApiComponent.this.sequenceConfigurationService.getSequenceConfigurationByQuestionId(question.questionId).map[Some[Int]](((config: org.make.core.sequence.SequenceConfiguration) => scala.Some.apply[Int](config.newProposalsVoteThreshold)))(scala.concurrent.ExecutionContext.Implicits.global)))).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question not found for proposal ".+(proposalId).+("."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]](DefaultProposalApiComponent.this.sessionHistoryCoordinatorService.retrieveVoteAndQualifications(requestContext.sessionId, scala.`package`.Seq.apply[org.make.core.proposal.ProposalId](proposalId))).asDirective)).mapN[org.make.api.proposal.ProposalResponse](((question: org.make.core.question.Question, newProposalsVoteThreshold: Int, votes: Map[org.make.core.proposal.ProposalId,org.make.core.history.HistoryActions.VoteAndQualifications]) => { val proposalKey: String = DefaultProposalApiComponent.this.proposalService.generateProposalKeyHash(proposalId, requestContext.sessionId, requestContext.location, DefaultProposalApiComponent.this.securityConfiguration.secureVoteSalt); ProposalResponse.apply(proposal, requestContext.userId.contains[org.make.core.user.UserId](proposal.author.userId), votes.get(proposalId), proposalKey, newProposalsVoteThreshold, preferredLanguage, scala.Some.apply[org.make.core.reference.Language](question.defaultLanguage)) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalResponse]).apply(((x$2: org.make.api.proposal.ProposalResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse]))))))
338 44283 14120 - 14131 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse]))))
338 37751 14129 - 14129 Select org.make.api.proposal.ProposalResponse.codec proposal.this.ProposalResponse.codec
338 46355 14129 - 14129 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse])
338 38774 14129 - 14129 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalResponse](proposal.this.ProposalResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalResponse]))
347 46491 14232 - 20695 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.path[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("Search", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("location").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("question").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.operation.OperationKind](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("operationKinds").csv[org.make.core.operation.OperationKind])(DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.operation.OperationKind]((OperationKind: enumeratum.values.StringEnum[org.make.core.operation.OperationKind]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.user.UserType]](DefaultProposalApi.this._string2NR("userType").as[Seq[org.make.core.user.UserType]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.user.UserType]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultProposalApi.this._string2NR("ideaIds").as[Seq[org.make.core.idea.IdeaId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultProposalApi.this._string2NR("isNotVoted").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac16[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], content: Option[String], slug: Option[String], source: Option[String], location: Option[String], question: Option[String], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], operationKinds: Option[Seq[org.make.core.operation.OperationKind]], userType: Option[Seq[org.make.core.user.UserType]], ideaIds: Option[Seq[org.make.core.idea.IdeaId]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], isNotVoted: Option[Boolean]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.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](DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.AlgorithmSelector](DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector])))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultProposalApi.this._string2NR("seed").as[Int].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language]]).apply(((sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sortAlgorithm: Option[org.make.core.proposal.AlgorithmSelector], seed: Option[Int], preferredLanguage: Option[org.make.core.reference.Language]) => { org.make.core.Validation.validate((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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))))).toList: _*)); val futureExcludedProposalIds: scala.concurrent.Future[Option[Seq[org.make.core.proposal.ProposalId]]] = isNotVoted match { case (value: Boolean): Some[Boolean](true) => { <artifact> val qual$1: org.make.api.sessionhistory.SessionHistoryCoordinatorService = DefaultProposalApiComponent.this.sessionHistoryCoordinatorService; <artifact> val x$1: org.make.core.session.SessionId = requestContext.sessionId; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retrieveVotedProposals$default$2; qual$1.retrieveVotedProposals(x$1, x$2) }.map[Option[Seq[org.make.core.proposal.ProposalId]]](((x0$1: Seq[org.make.core.proposal.ProposalId]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.proposal.ProposalId](<unapply-selector>) <unapply> () => scala.None case (voted @ _) => scala.Some.apply[Seq[org.make.core.proposal.ProposalId]](voted) }))(scala.concurrent.ExecutionContext.Implicits.global) case _ => scala.concurrent.Future.successful[None.type](scala.None) }; val maybeQuestionId: Option[org.make.core.question.QuestionId] = questionIds match { case (value: Seq[org.make.core.question.QuestionId]): Some[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.unapplySeq[org.make.core.question.QuestionId](<unapply-selector>) <unapply> ((questionId @ _))) => scala.Some.apply[org.make.core.question.QuestionId](questionId) case _ => scala.None }; server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((x0$2: (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])) => x0$2 match { case (_1: Option[org.make.core.question.Question], _2: Option[Seq[org.make.core.proposal.ProposalId]]): (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])((maybeQuestion @ _), (excludedProposalIds @ _)) => { val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); val searchRequest: org.make.api.proposal.SearchRequest = { <artifact> val x$3: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagsIds; <artifact> val x$6: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = slug; <artifact> val x$9: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = seed; <artifact> val x$10: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field)); <artifact> val x$14: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$15: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$16: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value)); <artifact> val x$18: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)); <artifact> val x$19: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userType; <artifact> val x$20: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaIds; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = excludedProposalIds; <artifact> val x$23: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$2; <artifact> val x$24: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$4; SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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) }; org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((proposals: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])))))) }))))))))))
347 39295 14232 - 14235 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.proposal.proposalapitest DefaultProposalApi.this.get
348 44042 14246 - 14263 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.proposalapitest DefaultProposalApi.this.path[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))
348 31693 14251 - 14262 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("proposals")
348 33746 14246 - 20687 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.path[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("Search", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("location").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("question").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.operation.OperationKind](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("operationKinds").csv[org.make.core.operation.OperationKind])(DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.operation.OperationKind]((OperationKind: enumeratum.values.StringEnum[org.make.core.operation.OperationKind]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.user.UserType]](DefaultProposalApi.this._string2NR("userType").as[Seq[org.make.core.user.UserType]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.user.UserType]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultProposalApi.this._string2NR("ideaIds").as[Seq[org.make.core.idea.IdeaId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultProposalApi.this._string2NR("isNotVoted").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac16[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], content: Option[String], slug: Option[String], source: Option[String], location: Option[String], question: Option[String], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], operationKinds: Option[Seq[org.make.core.operation.OperationKind]], userType: Option[Seq[org.make.core.user.UserType]], ideaIds: Option[Seq[org.make.core.idea.IdeaId]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], isNotVoted: Option[Boolean]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.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](DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.AlgorithmSelector](DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector])))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultProposalApi.this._string2NR("seed").as[Int].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language]]).apply(((sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sortAlgorithm: Option[org.make.core.proposal.AlgorithmSelector], seed: Option[Int], preferredLanguage: Option[org.make.core.reference.Language]) => { org.make.core.Validation.validate((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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))))).toList: _*)); val futureExcludedProposalIds: scala.concurrent.Future[Option[Seq[org.make.core.proposal.ProposalId]]] = isNotVoted match { case (value: Boolean): Some[Boolean](true) => { <artifact> val qual$1: org.make.api.sessionhistory.SessionHistoryCoordinatorService = DefaultProposalApiComponent.this.sessionHistoryCoordinatorService; <artifact> val x$1: org.make.core.session.SessionId = requestContext.sessionId; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retrieveVotedProposals$default$2; qual$1.retrieveVotedProposals(x$1, x$2) }.map[Option[Seq[org.make.core.proposal.ProposalId]]](((x0$1: Seq[org.make.core.proposal.ProposalId]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.proposal.ProposalId](<unapply-selector>) <unapply> () => scala.None case (voted @ _) => scala.Some.apply[Seq[org.make.core.proposal.ProposalId]](voted) }))(scala.concurrent.ExecutionContext.Implicits.global) case _ => scala.concurrent.Future.successful[None.type](scala.None) }; val maybeQuestionId: Option[org.make.core.question.QuestionId] = questionIds match { case (value: Seq[org.make.core.question.QuestionId]): Some[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.unapplySeq[org.make.core.question.QuestionId](<unapply-selector>) <unapply> ((questionId @ _))) => scala.Some.apply[org.make.core.question.QuestionId](questionId) case _ => scala.None }; server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((x0$2: (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])) => x0$2 match { case (_1: Option[org.make.core.question.Question], _2: Option[Seq[org.make.core.proposal.ProposalId]]): (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])((maybeQuestion @ _), (excludedProposalIds @ _)) => { val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); val searchRequest: org.make.api.proposal.SearchRequest = { <artifact> val x$3: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagsIds; <artifact> val x$6: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = slug; <artifact> val x$9: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = seed; <artifact> val x$10: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field)); <artifact> val x$14: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$15: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$16: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value)); <artifact> val x$18: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)); <artifact> val x$19: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userType; <artifact> val x$20: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaIds; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = excludedProposalIds; <artifact> val x$23: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$2; <artifact> val x$24: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$4; SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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) }; org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((proposals: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])))))) })))))))))
349 50321 14289 - 14289 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
349 38245 14276 - 14299 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation("Search", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3)
349 45829 14276 - 14276 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation$default$3
349 35936 14290 - 14298 Literal <nosymbol> org.make.api.proposal.proposalapitest "Search"
349 32021 14276 - 14276 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation$default$2
349 41602 14276 - 20677 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("Search", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("location").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("question").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.operation.OperationKind](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("operationKinds").csv[org.make.core.operation.OperationKind])(DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.operation.OperationKind]((OperationKind: enumeratum.values.StringEnum[org.make.core.operation.OperationKind]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.user.UserType]](DefaultProposalApi.this._string2NR("userType").as[Seq[org.make.core.user.UserType]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.user.UserType]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultProposalApi.this._string2NR("ideaIds").as[Seq[org.make.core.idea.IdeaId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultProposalApi.this._string2NR("isNotVoted").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac16[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], content: Option[String], slug: Option[String], source: Option[String], location: Option[String], question: Option[String], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], operationKinds: Option[Seq[org.make.core.operation.OperationKind]], userType: Option[Seq[org.make.core.user.UserType]], ideaIds: Option[Seq[org.make.core.idea.IdeaId]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], isNotVoted: Option[Boolean]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.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](DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.AlgorithmSelector](DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector])))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultProposalApi.this._string2NR("seed").as[Int].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language]]).apply(((sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sortAlgorithm: Option[org.make.core.proposal.AlgorithmSelector], seed: Option[Int], preferredLanguage: Option[org.make.core.reference.Language]) => { org.make.core.Validation.validate((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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))))).toList: _*)); val futureExcludedProposalIds: scala.concurrent.Future[Option[Seq[org.make.core.proposal.ProposalId]]] = isNotVoted match { case (value: Boolean): Some[Boolean](true) => { <artifact> val qual$1: org.make.api.sessionhistory.SessionHistoryCoordinatorService = DefaultProposalApiComponent.this.sessionHistoryCoordinatorService; <artifact> val x$1: org.make.core.session.SessionId = requestContext.sessionId; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retrieveVotedProposals$default$2; qual$1.retrieveVotedProposals(x$1, x$2) }.map[Option[Seq[org.make.core.proposal.ProposalId]]](((x0$1: Seq[org.make.core.proposal.ProposalId]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.proposal.ProposalId](<unapply-selector>) <unapply> () => scala.None case (voted @ _) => scala.Some.apply[Seq[org.make.core.proposal.ProposalId]](voted) }))(scala.concurrent.ExecutionContext.Implicits.global) case _ => scala.concurrent.Future.successful[None.type](scala.None) }; val maybeQuestionId: Option[org.make.core.question.QuestionId] = questionIds match { case (value: Seq[org.make.core.question.QuestionId]): Some[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.unapplySeq[org.make.core.question.QuestionId](<unapply-selector>) <unapply> ((questionId @ _))) => scala.Some.apply[org.make.core.question.QuestionId](questionId) case _ => scala.None }; server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((x0$2: (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])) => x0$2 match { case (_1: Option[org.make.core.question.Question], _2: Option[Seq[org.make.core.proposal.ProposalId]]): (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])((maybeQuestion @ _), (excludedProposalIds @ _)) => { val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); val searchRequest: org.make.api.proposal.SearchRequest = { <artifact> val x$3: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagsIds; <artifact> val x$6: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = slug; <artifact> val x$9: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = seed; <artifact> val x$10: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field)); <artifact> val x$14: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$15: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$16: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value)); <artifact> val x$18: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)); <artifact> val x$19: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userType; <artifact> val x$20: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaIds; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = excludedProposalIds; <artifact> val x$23: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$2; <artifact> val x$24: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$4; SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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) }; org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((proposals: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])))))) }))))))))
350 49877 14332 - 20665 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("location").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("question").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.operation.OperationKind](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("operationKinds").csv[org.make.core.operation.OperationKind])(DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.operation.OperationKind]((OperationKind: enumeratum.values.StringEnum[org.make.core.operation.OperationKind]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.user.UserType]](DefaultProposalApi.this._string2NR("userType").as[Seq[org.make.core.user.UserType]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.user.UserType]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultProposalApi.this._string2NR("ideaIds").as[Seq[org.make.core.idea.IdeaId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultProposalApi.this._string2NR("isNotVoted").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac16[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], content: Option[String], slug: Option[String], source: Option[String], location: Option[String], question: Option[String], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], operationKinds: Option[Seq[org.make.core.operation.OperationKind]], userType: Option[Seq[org.make.core.user.UserType]], ideaIds: Option[Seq[org.make.core.idea.IdeaId]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], isNotVoted: Option[Boolean]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.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](DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.AlgorithmSelector](DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector])))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultProposalApi.this._string2NR("seed").as[Int].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language]]).apply(((sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sortAlgorithm: Option[org.make.core.proposal.AlgorithmSelector], seed: Option[Int], preferredLanguage: Option[org.make.core.reference.Language]) => { org.make.core.Validation.validate((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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))))).toList: _*)); val futureExcludedProposalIds: scala.concurrent.Future[Option[Seq[org.make.core.proposal.ProposalId]]] = isNotVoted match { case (value: Boolean): Some[Boolean](true) => { <artifact> val qual$1: org.make.api.sessionhistory.SessionHistoryCoordinatorService = DefaultProposalApiComponent.this.sessionHistoryCoordinatorService; <artifact> val x$1: org.make.core.session.SessionId = requestContext.sessionId; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retrieveVotedProposals$default$2; qual$1.retrieveVotedProposals(x$1, x$2) }.map[Option[Seq[org.make.core.proposal.ProposalId]]](((x0$1: Seq[org.make.core.proposal.ProposalId]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.proposal.ProposalId](<unapply-selector>) <unapply> () => scala.None case (voted @ _) => scala.Some.apply[Seq[org.make.core.proposal.ProposalId]](voted) }))(scala.concurrent.ExecutionContext.Implicits.global) case _ => scala.concurrent.Future.successful[None.type](scala.None) }; val maybeQuestionId: Option[org.make.core.question.QuestionId] = questionIds match { case (value: Seq[org.make.core.question.QuestionId]): Some[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.unapplySeq[org.make.core.question.QuestionId](<unapply-selector>) <unapply> ((questionId @ _))) => scala.Some.apply[org.make.core.question.QuestionId](questionId) case _ => scala.None }; server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((x0$2: (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])) => x0$2 match { case (_1: Option[org.make.core.question.Question], _2: Option[Seq[org.make.core.proposal.ProposalId]]): (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])((maybeQuestion @ _), (excludedProposalIds @ _)) => { val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); val searchRequest: org.make.api.proposal.SearchRequest = { <artifact> val x$3: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagsIds; <artifact> val x$6: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = slug; <artifact> val x$9: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = seed; <artifact> val x$10: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field)); <artifact> val x$14: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$15: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$16: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value)); <artifact> val x$18: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)); <artifact> val x$19: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userType; <artifact> val x$20: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaIds; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = excludedProposalIds; <artifact> val x$23: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$2; <artifact> val x$24: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$4; SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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) }; org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((proposals: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])))))) }))))))
350 47448 14332 - 14350 Select org.make.api.technical.auth.MakeAuthentication.optionalMakeOAuth2 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.optionalMakeOAuth2
350 39332 14332 - 14332 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
351 42240 14409 - 15108 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters org.make.api.proposal.proposalapitest DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("location").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("question").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.operation.OperationKind](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("operationKinds").csv[org.make.core.operation.OperationKind])(DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.operation.OperationKind]((OperationKind: enumeratum.values.StringEnum[org.make.core.operation.OperationKind]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.user.UserType]](DefaultProposalApi.this._string2NR("userType").as[Seq[org.make.core.user.UserType]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.user.UserType]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultProposalApi.this._string2NR("ideaIds").as[Seq[org.make.core.idea.IdeaId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultProposalApi.this._string2NR("isNotVoted").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller)))
351 37811 14419 - 14419 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac16 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac16[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean]]
352 44239 14437 - 14472 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?
352 38278 14437 - 14472 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller)))
352 35975 14471 - 14471 Select org.make.core.ParameterExtractors.proposalIdFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller
352 31456 14437 - 14450 Literal <nosymbol> org.make.api.proposal.proposalapitest "proposalIds"
352 32541 14471 - 14471 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq org.make.api.proposal.proposalapitest akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller)
352 45864 14471 - 14471 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller))
353 36437 14490 - 14524 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller)))
353 31493 14523 - 14523 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq org.make.api.proposal.proposalapitest akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller)
353 44269 14523 - 14523 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller))
353 50775 14490 - 14502 Literal <nosymbol> org.make.api.proposal.proposalapitest "questionId"
353 46178 14490 - 14524 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?
353 39090 14523 - 14523 Select org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller
354 32573 14542 - 14551 Literal <nosymbol> org.make.api.proposal.proposalapitest "tagsIds"
354 45618 14542 - 14568 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?
354 50809 14567 - 14567 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq org.make.api.proposal.proposalapitest akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller)
354 39127 14542 - 14568 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller)))
354 37499 14567 - 14567 Select org.make.core.ParameterExtractors.tagIdFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller
354 42407 14567 - 14567 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller))
355 44032 14586 - 14617 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?
355 33044 14616 - 14616 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller)
355 45655 14586 - 14617 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller))
355 36471 14616 - 14616 Select org.make.core.ParameterExtractors.operationIdFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller
355 31527 14586 - 14599 Literal <nosymbol> org.make.api.proposal.proposalapitest "operationId"
356 42445 14645 - 14645 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
356 39582 14645 - 14645 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
356 37532 14635 - 14644 Literal <nosymbol> org.make.api.proposal.proposalapitest "content"
356 50574 14635 - 14646 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("content").?
356 30728 14635 - 14646 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
357 44066 14664 - 14670 Literal <nosymbol> org.make.api.proposal.proposalapitest "slug"
357 45081 14671 - 14671 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
357 37296 14664 - 14672 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
357 33082 14671 - 14671 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
357 36979 14664 - 14672 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("slug").?
358 43824 14690 - 14700 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
358 39618 14699 - 14699 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
358 43503 14690 - 14700 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("source").?
358 31481 14699 - 14699 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
358 50610 14690 - 14698 Literal <nosymbol> org.make.api.proposal.proposalapitest "source"
359 38031 14729 - 14729 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
359 49009 14718 - 14730 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("location").?
359 45608 14729 - 14729 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
359 37016 14718 - 14728 Literal <nosymbol> org.make.api.proposal.proposalapitest "location"
359 51119 14718 - 14730 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("location").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
360 36771 14748 - 14760 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("question").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
360 31232 14759 - 14759 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
360 44555 14759 - 14759 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
360 38349 14748 - 14760 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("question").?
360 43538 14748 - 14758 Literal <nosymbol> org.make.api.proposal.proposalapitest "question"
361 37786 14802 - 14802 Select org.make.core.ParameterExtractors.languageFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.languageFromStringUnmarshaller
361 42277 14778 - 14803 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))
361 50564 14802 - 14802 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)
361 50076 14778 - 14788 Literal <nosymbol> org.make.api.proposal.proposalapitest "language"
361 45644 14778 - 14803 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?
362 35172 14821 - 14830 Literal <nosymbol> org.make.api.proposal.proposalapitest "country"
362 48811 14821 - 14844 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultProposalApiComponent.this.countryFromStringUnmarshaller))
362 36217 14843 - 14843 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultProposalApiComponent.this.countryFromStringUnmarshaller)
362 44321 14843 - 14843 Select org.make.core.ParameterExtractors.countryFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.countryFromStringUnmarshaller
362 31270 14821 - 14844 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?
363 37821 14862 - 14897 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.proposal.proposalapitest org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("operationKinds").csv[org.make.core.operation.OperationKind]
363 45405 14862 - 14878 Literal <nosymbol> org.make.api.proposal.proposalapitest "operationKinds"
363 42724 14862 - 14897 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec org.make.api.proposal.proposalapitest org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.operation.OperationKind](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("operationKinds").csv[org.make.core.operation.OperationKind])(DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.operation.OperationKind]((OperationKind: enumeratum.values.StringEnum[org.make.core.operation.OperationKind])))
363 50598 14882 - 14882 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.operation.OperationKind]((OperationKind: enumeratum.values.StringEnum[org.make.core.operation.OperationKind]))
364 35211 14915 - 14925 Literal <nosymbol> org.make.api.proposal.proposalapitest "userType"
364 45438 14915 - 14945 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.user.UserType]](DefaultProposalApi.this._string2NR("userType").as[Seq[org.make.core.user.UserType]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.user.UserType]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType])))))
364 50028 14944 - 14944 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.user.UserType]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))
364 43813 14944 - 14944 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))
364 31022 14915 - 14945 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("userType").as[Seq[org.make.core.user.UserType]].?
364 36252 14944 - 14944 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq org.make.api.proposal.proposalapitest akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType])))
365 50355 14963 - 14990 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("ideaIds").as[Seq[org.make.core.idea.IdeaId]].?
365 37576 14963 - 14972 Literal <nosymbol> org.make.api.proposal.proposalapitest "ideaIds"
365 43853 14963 - 14990 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultProposalApi.this._string2NR("ideaIds").as[Seq[org.make.core.idea.IdeaId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller)))
365 31056 14989 - 14989 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller))
365 42757 14989 - 14989 Select org.make.core.ParameterExtractors.ideaIdFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller
365 35675 14989 - 14989 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq org.make.api.proposal.proposalapitest akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller)
366 43291 15008 - 15048 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller)))
366 36009 15008 - 15018 Literal <nosymbol> org.make.api.proposal.proposalapitest "keywords"
366 50067 15008 - 15048 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?
366 50386 15047 - 15047 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))
366 37081 15047 - 15047 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.CsvSeq org.make.api.proposal.proposalapitest akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller)
366 42203 15047 - 15047 Select org.make.core.ParameterExtractors.proposalKeywordKeyFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller
367 49817 15066 - 15092 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultProposalApi.this._string2NR("isNotVoted").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))
367 36041 15091 - 15091 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller)
367 35715 15066 - 15078 Literal <nosymbol> org.make.api.proposal.proposalapitest "isNotVoted"
367 43604 15091 - 15091 Select akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.booleanFromStringUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller
367 31528 15066 - 15092 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("isNotVoted").as[Boolean].?
368 32088 14409 - 20651 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalId]](DefaultProposalApi.this._string2NR("proposalIds").as[Seq[org.make.core.proposal.ProposalId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalId](DefaultProposalApiComponent.this.proposalIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.question.QuestionId]](DefaultProposalApi.this._string2NR("questionId").as[Seq[org.make.core.question.QuestionId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.question.QuestionId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.question.QuestionId](DefaultProposalApiComponent.this.questionIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.tag.TagId]](DefaultProposalApi.this._string2NR("tagsIds").as[Seq[org.make.core.tag.TagId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.tag.TagId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.tag.TagId](DefaultProposalApiComponent.this.tagIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.operation.OperationId](DefaultProposalApi.this._string2NR("operationId").as[org.make.core.operation.OperationId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.operation.OperationId](DefaultProposalApiComponent.this.operationIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("content").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("source").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("location").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultProposalApi.this._string2NR("question").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultProposalApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultProposalApiComponent.this.countryFromStringUnmarshaller)), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.operation.OperationKind](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("operationKinds").csv[org.make.core.operation.OperationKind])(DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.operation.OperationKind]((OperationKind: enumeratum.values.StringEnum[org.make.core.operation.OperationKind]))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.user.UserType]](DefaultProposalApi.this._string2NR("userType").as[Seq[org.make.core.user.UserType]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.user.UserType]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.user.UserType](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.idea.IdeaId]](DefaultProposalApi.this._string2NR("ideaIds").as[Seq[org.make.core.idea.IdeaId]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.idea.IdeaId]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.idea.IdeaId](DefaultProposalApiComponent.this.ideaIdFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Seq[org.make.core.proposal.ProposalKeywordKey]](DefaultProposalApi.this._string2NR("keywords").as[Seq[org.make.core.proposal.ProposalKeywordKey]].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Seq[org.make.core.proposal.ProposalKeywordKey]](akka.http.scaladsl.unmarshalling.Unmarshaller.CsvSeq[org.make.core.proposal.ProposalKeywordKey](DefaultProposalApiComponent.this.proposalKeywordKeyFromStringUnmarshaller))), ParameterDirectives.this.ParamSpec.forNOR[Boolean](DefaultProposalApi.this._string2NR("isNotVoted").as[Boolean].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Boolean](unmarshalling.this.Unmarshaller.booleanFromStringUnmarshaller))))(util.this.ApplyConverter.hac16[Option[Seq[org.make.core.proposal.ProposalId]], Option[Seq[org.make.core.question.QuestionId]], Option[Seq[org.make.core.tag.TagId]], Option[org.make.core.operation.OperationId], Option[String], Option[String], Option[String], Option[String], Option[String], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[Seq[org.make.core.operation.OperationKind]], Option[Seq[org.make.core.user.UserType]], Option[Seq[org.make.core.idea.IdeaId]], Option[Seq[org.make.core.proposal.ProposalKeywordKey]], Option[Boolean]]).apply(((proposalIds: Option[Seq[org.make.core.proposal.ProposalId]], questionIds: Option[Seq[org.make.core.question.QuestionId]], tagsIds: Option[Seq[org.make.core.tag.TagId]], operationId: Option[org.make.core.operation.OperationId], content: Option[String], slug: Option[String], source: Option[String], location: Option[String], question: Option[String], language: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], operationKinds: Option[Seq[org.make.core.operation.OperationKind]], userType: Option[Seq[org.make.core.user.UserType]], ideaIds: Option[Seq[org.make.core.idea.IdeaId]], keywords: Option[Seq[org.make.core.proposal.ProposalKeywordKey]], isNotVoted: Option[Boolean]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.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](DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.AlgorithmSelector](DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector])))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultProposalApi.this._string2NR("seed").as[Int].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language]]).apply(((sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sortAlgorithm: Option[org.make.core.proposal.AlgorithmSelector], seed: Option[Int], preferredLanguage: Option[org.make.core.reference.Language]) => { org.make.core.Validation.validate((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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))))).toList: _*)); val futureExcludedProposalIds: scala.concurrent.Future[Option[Seq[org.make.core.proposal.ProposalId]]] = isNotVoted match { case (value: Boolean): Some[Boolean](true) => { <artifact> val qual$1: org.make.api.sessionhistory.SessionHistoryCoordinatorService = DefaultProposalApiComponent.this.sessionHistoryCoordinatorService; <artifact> val x$1: org.make.core.session.SessionId = requestContext.sessionId; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retrieveVotedProposals$default$2; qual$1.retrieveVotedProposals(x$1, x$2) }.map[Option[Seq[org.make.core.proposal.ProposalId]]](((x0$1: Seq[org.make.core.proposal.ProposalId]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.proposal.ProposalId](<unapply-selector>) <unapply> () => scala.None case (voted @ _) => scala.Some.apply[Seq[org.make.core.proposal.ProposalId]](voted) }))(scala.concurrent.ExecutionContext.Implicits.global) case _ => scala.concurrent.Future.successful[None.type](scala.None) }; val maybeQuestionId: Option[org.make.core.question.QuestionId] = questionIds match { case (value: Seq[org.make.core.question.QuestionId]): Some[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.unapplySeq[org.make.core.question.QuestionId](<unapply-selector>) <unapply> ((questionId @ _))) => scala.Some.apply[org.make.core.question.QuestionId](questionId) case _ => scala.None }; server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((x0$2: (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])) => x0$2 match { case (_1: Option[org.make.core.question.Question], _2: Option[Seq[org.make.core.proposal.ProposalId]]): (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])((maybeQuestion @ _), (excludedProposalIds @ _)) => { val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); val searchRequest: org.make.api.proposal.SearchRequest = { <artifact> val x$3: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagsIds; <artifact> val x$6: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = slug; <artifact> val x$9: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = seed; <artifact> val x$10: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field)); <artifact> val x$14: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$15: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$16: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value)); <artifact> val x$18: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)); <artifact> val x$19: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userType; <artifact> val x$20: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaIds; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = excludedProposalIds; <artifact> val x$23: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$2; <artifact> val x$24: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$4; SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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) }; org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((proposals: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])))))) }))))
387 51196 15960 - 15960 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac7 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac7[Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language]]
387 33705 15950 - 16345 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters org.make.api.proposal.proposalapitest DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.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](DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.AlgorithmSelector](DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector])))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultProposalApi.this._string2NR("seed").as[Int].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)))
388 44341 15982 - 16025 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]))))
388 35464 16024 - 16024 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]))
388 31011 16024 - 16024 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.indexed.ProposalElasticsearchFieldName]((ProposalElasticsearchFieldName: enumeratum.values.StringEnum[org.make.core.proposal.indexed.ProposalElasticsearchFieldName])))
388 50144 15982 - 15988 Literal <nosymbol> org.make.api.proposal.proposalapitest "sort"
388 43328 15982 - 16025 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?
389 36571 16047 - 16054 Literal <nosymbol> org.make.api.proposal.proposalapitest "order"
389 50883 16047 - 16066 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
389 49854 16047 - 16066 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?
389 40974 16065 - 16065 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
389 37565 16065 - 16065 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
390 43085 16088 - 16095 Literal <nosymbol> org.make.api.proposal.proposalapitest "limit"
390 35502 16088 - 16118 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?
390 44106 16117 - 16117 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller)
390 48269 16117 - 16117 Select org.make.core.ParameterExtractors.limitFromIntUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.limitFromIntUnmarshaller
390 35998 16088 - 16118 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller))
391 41491 16140 - 16170 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?
391 37606 16169 - 16169 Select org.make.core.ParameterExtractors.startFromIntUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.startFromIntUnmarshaller
391 42509 16140 - 16170 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller))
391 49602 16140 - 16146 Literal <nosymbol> org.make.api.proposal.proposalapitest "skip"
391 50646 16169 - 16169 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller)
392 35749 16230 - 16230 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector])))
392 48025 16192 - 16231 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?
392 49041 16192 - 16231 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.AlgorithmSelector](DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector]))))
392 35541 16192 - 16207 Literal <nosymbol> org.make.api.proposal.proposalapitest "sortAlgorithm"
392 44141 16230 - 16230 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector]))
393 42278 16268 - 16268 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller)
393 50133 16268 - 16268 Select akka.http.scaladsl.unmarshalling.PredefinedFromStringUnmarshallers.intFromStringUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.intFromStringUnmarshaller
393 33663 16253 - 16269 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("seed").as[Int].?
393 35454 16253 - 16269 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultProposalApi.this._string2NR("seed").as[Int].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller))
393 41531 16253 - 16259 Literal <nosymbol> org.make.api.proposal.proposalapitest "seed"
394 49074 16324 - 16324 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.proposal.proposalapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller)
394 43900 16291 - 16325 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.proposal.proposalapitest DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
394 48063 16291 - 16310 Literal <nosymbol> org.make.api.proposal.proposalapitest "preferredLanguage"
394 35783 16324 - 16324 Select org.make.core.ParameterExtractors.languageFromStringUnmarshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.languageFromStringUnmarshaller
394 41988 16291 - 16325 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.proposal.proposalapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))
395 39964 15950 - 20635 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language])](DefaultProposalApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApi.this._string2NR("sort").as[org.make.core.proposal.indexed.ProposalElasticsearchFieldName].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.indexed.ProposalElasticsearchFieldName](DefaultProposalApiComponent.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](DefaultProposalApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultProposalApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultProposalApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultProposalApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultProposalApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultProposalApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.proposal.AlgorithmSelector](DefaultProposalApi.this._string2NR("sortAlgorithm").as[org.make.core.proposal.AlgorithmSelector].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.proposal.AlgorithmSelector](DefaultProposalApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.AlgorithmSelector]((AlgorithmSelector: enumeratum.values.StringEnum[org.make.core.proposal.AlgorithmSelector])))), ParameterDirectives.this.ParamSpec.forNOR[Int](DefaultProposalApi.this._string2NR("seed").as[Int].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, Int](unmarshalling.this.Unmarshaller.intFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultProposalApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultProposalApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.proposal.AlgorithmSelector], Option[Int], Option[org.make.core.reference.Language]]).apply(((sort: Option[org.make.core.proposal.indexed.ProposalElasticsearchFieldName], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset], sortAlgorithm: Option[org.make.core.proposal.AlgorithmSelector], seed: Option[Int], preferredLanguage: Option[org.make.core.reference.Language]) => { org.make.core.Validation.validate((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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))))).toList: _*)); val futureExcludedProposalIds: scala.concurrent.Future[Option[Seq[org.make.core.proposal.ProposalId]]] = isNotVoted match { case (value: Boolean): Some[Boolean](true) => { <artifact> val qual$1: org.make.api.sessionhistory.SessionHistoryCoordinatorService = DefaultProposalApiComponent.this.sessionHistoryCoordinatorService; <artifact> val x$1: org.make.core.session.SessionId = requestContext.sessionId; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retrieveVotedProposals$default$2; qual$1.retrieveVotedProposals(x$1, x$2) }.map[Option[Seq[org.make.core.proposal.ProposalId]]](((x0$1: Seq[org.make.core.proposal.ProposalId]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.proposal.ProposalId](<unapply-selector>) <unapply> () => scala.None case (voted @ _) => scala.Some.apply[Seq[org.make.core.proposal.ProposalId]](voted) }))(scala.concurrent.ExecutionContext.Implicits.global) case _ => scala.concurrent.Future.successful[None.type](scala.None) }; val maybeQuestionId: Option[org.make.core.question.QuestionId] = questionIds match { case (value: Seq[org.make.core.question.QuestionId]): Some[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.unapplySeq[org.make.core.question.QuestionId](<unapply-selector>) <unapply> ((questionId @ _))) => scala.Some.apply[org.make.core.question.QuestionId](questionId) case _ => scala.None }; server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((x0$2: (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])) => x0$2 match { case (_1: Option[org.make.core.question.Question], _2: Option[Seq[org.make.core.proposal.ProposalId]]): (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])((maybeQuestion @ _), (excludedProposalIds @ _)) => { val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); val searchRequest: org.make.api.proposal.SearchRequest = { <artifact> val x$3: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagsIds; <artifact> val x$6: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = slug; <artifact> val x$9: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = seed; <artifact> val x$10: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field)); <artifact> val x$14: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$15: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$16: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value)); <artifact> val x$18: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)); <artifact> val x$19: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userType; <artifact> val x$20: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaIds; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = excludedProposalIds; <artifact> val x$23: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$2; <artifact> val x$24: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$4; SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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) }; org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((proposals: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])))))) }))
405 34164 16804 - 17328 Apply org.make.core.Validation.validate org.make.api.proposal.proposalapitest org.make.core.Validation.validate((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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))))).toList: _*))
406 49594 16878 - 17292 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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode)))
407 42312 16941 - 16950 Literal <nosymbol> "country"
408 35490 16988 - 17141 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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String))
411 48514 17169 - 17186 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue)
412 44688 17252 - 17265 Select org.make.core.CountryConfiguration.countryCode x$4.countryCode
412 35822 17214 - 17266 Apply scala.collection.IterableOps.map org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))
414 42025 16824 - 17323 Select scala.Option.toList org.make.api.proposal.proposalapitest 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$3: org.make.core.CountryConfiguration) => x$3.countryCode))): String)), scala.`package`.Seq.apply[org.make.core.reference.Country](countryValue), org.make.core.BusinessConfig.supportedCountries.map[org.make.core.reference.Country](((x$4: org.make.core.CountryConfiguration) => x$4.countryCode))))).toList
418 51231 17472 - 17504 Select org.make.api.sessionhistory.SessionHistoryCoordinatorServiceComponent.sessionHistoryCoordinatorService DefaultProposalApiComponent.this.sessionHistoryCoordinatorService
419 35246 17534 - 17534 Select org.make.api.sessionhistory.SessionHistoryCoordinatorService.retrieveVotedProposals$default$2 qual$1.retrieveVotedProposals$default$2
419 48554 17472 - 17582 Apply org.make.api.sessionhistory.SessionHistoryCoordinatorService.retrieveVotedProposals qual$1.retrieveVotedProposals(x$1, x$2)
419 42348 17557 - 17581 Select org.make.core.RequestContext.sessionId requestContext.sessionId
420 41781 17472 - 17752 ApplyToImplicitArgs scala.concurrent.Future.map { <artifact> val qual$1: org.make.api.sessionhistory.SessionHistoryCoordinatorService = DefaultProposalApiComponent.this.sessionHistoryCoordinatorService; <artifact> val x$1: org.make.core.session.SessionId = requestContext.sessionId; <artifact> val x$2: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.retrieveVotedProposals$default$2; qual$1.retrieveVotedProposals(x$1, x$2) }.map[Option[Seq[org.make.core.proposal.ProposalId]]](((x0$1: Seq[org.make.core.proposal.ProposalId]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.proposal.ProposalId](<unapply-selector>) <unapply> () => scala.None case (voted @ _) => scala.Some.apply[Seq[org.make.core.proposal.ProposalId]](voted) }))(scala.concurrent.ExecutionContext.Implicits.global)
420 49632 17616 - 17616 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
421 40139 17662 - 17666 Select scala.None scala.None
422 36885 17711 - 17722 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.proposal.ProposalId]](voted)
424 33656 17805 - 17809 Select scala.None org.make.api.proposal.proposalapitest scala.None
424 50671 17787 - 17810 Apply scala.concurrent.Future.successful org.make.api.proposal.proposalapitest scala.concurrent.Future.successful[None.type](scala.None)
427 42864 17953 - 17969 Apply scala.Some.apply scala.Some.apply[org.make.core.question.QuestionId](questionId)
428 35284 18024 - 18028 Select scala.None org.make.api.proposal.proposalapitest scala.None
430 35039 18075 - 18260 Apply scala.Tuple2.apply org.make.api.proposal.proposalapitest scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)
431 49389 18129 - 18129 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture org.make.api.proposal.proposalapitest cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
431 40178 18130 - 18160 Apply org.make.api.question.QuestionService.getQuestion DefaultProposalApiComponent.this.questionService.getQuestion(x$5)
431 50423 18101 - 18173 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.proposal.proposalapitest org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective
431 48314 18101 - 18101 Select cats.instances.OptionInstances.catsStdInstancesForOption org.make.api.proposal.proposalapitest cats.implicits.catsStdInstancesForOption
431 33690 18101 - 18161 ApplyToImplicitArgs cats.Traverse.Ops.flatTraverse org.make.api.proposal.proposalapitest cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)
431 41815 18129 - 18129 Select cats.instances.OptionInstances.catsStdInstancesForOption org.make.api.proposal.proposalapitest cats.implicits.catsStdInstancesForOption
431 36330 18129 - 18129 Select scala.concurrent.ExecutionContext.Implicits.global org.make.api.proposal.proposalapitest scala.concurrent.ExecutionContext.Implicits.global
432 42302 18199 - 18236 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.proposal.proposalapitest org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective
433 40468 18075 - 20526 Apply cats.FlatMap.Ops.flatMap org.make.api.proposal.proposalapitest cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((x0$2: (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])) => x0$2 match { case (_1: Option[org.make.core.question.Question], _2: Option[Seq[org.make.core.proposal.ProposalId]]): (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])((maybeQuestion @ _), (excludedProposalIds @ _)) => { val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); val searchRequest: org.make.api.proposal.SearchRequest = { <artifact> val x$3: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagsIds; <artifact> val x$6: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = slug; <artifact> val x$9: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = seed; <artifact> val x$10: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field)); <artifact> val x$14: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$15: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$16: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value)); <artifact> val x$18: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)); <artifact> val x$19: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userType; <artifact> val x$20: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaIds; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = excludedProposalIds; <artifact> val x$23: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$2; <artifact> val x$24: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$4; SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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) }; org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective } }))
433 48832 18261 - 18261 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.proposal.proposalapitest org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
433 36842 18075 - 18267 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.tupled org.make.api.proposal.proposalapitest cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
433 32936 18276 - 18276 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]
433 40215 18261 - 18261 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.proposal.proposalapitest org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
433 47808 18261 - 18261 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.proposal.proposalapitest org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
436 41573 18458 - 18525 Apply org.make.api.proposal.ContextFilterRequest.parse org.make.api.proposal.proposalapitest ContextFilterRequest.parse(operationId, source, location, question)
437 48303 18587 - 18587 Select org.make.api.proposal.SearchRequest.apply$default$2 org.make.api.proposal.proposalapitest SearchRequest.apply$default$2
437 40013 18587 - 18587 Select org.make.api.proposal.SearchRequest.apply$default$4 org.make.api.proposal.proposalapitest SearchRequest.apply$default$4
437 32900 18587 - 19969 Apply org.make.api.proposal.SearchRequest.apply org.make.api.proposal.proposalapitest SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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)
448 33446 19143 - 19150 Select org.make.core.elasticsearch.ElasticsearchFieldName.field x$6.field
448 46734 19134 - 19151 Apply scala.Option.map org.make.api.proposal.proposalapitest sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field))
452 34476 19328 - 19354 Apply scala.Option.map org.make.api.proposal.proposalapitest sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value))
452 43361 19346 - 19353 Select org.make.core.proposal.AlgorithmSelector.value x$7.value
453 35542 19401 - 19724 Apply scala.Option.orElse org.make.api.proposal.proposalapitest operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds))
454 47845 19478 - 19488 Select scala.collection.IterableOnceOps.nonEmpty x$8.nonEmpty
454 39973 19459 - 19489 Apply scala.Option.exists org.make.api.proposal.proposalapitest questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))
455 36875 19530 - 19558 Select org.make.core.operation.OperationKind.unsecuredKinds org.make.core.operation.OperationKind.unsecuredKinds
455 49890 19525 - 19559 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds)
455 41770 19525 - 19559 Block scala.Some.apply scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds)
457 43393 19631 - 19662 Block scala.Some.apply org.make.api.proposal.proposalapitest scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)
457 33479 19636 - 19661 Select org.make.core.operation.OperationKind.publicKinds org.make.api.proposal.proposalapitest org.make.core.operation.OperationKind.publicKinds
457 46502 19631 - 19662 Apply scala.Some.apply org.make.api.proposal.proposalapitest scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)
466 35028 19996 - 20461 Apply org.make.api.proposal.ProposalService.searchForUser org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))
467 49930 20108 - 20121 Select org.make.core.auth.UserRights.userId x$9.user.userId
467 41807 20095 - 20122 Apply scala.Option.map org.make.api.proposal.proposalapitest userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId))
468 33949 20162 - 20205 Apply org.make.api.proposal.SearchRequest.toSearchQuery org.make.api.proposal.proposalapitest searchRequest.toSearchQuery(requestContext)
471 43158 20395 - 20431 Apply scala.Option.map org.make.api.proposal.proposalapitest maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage))
471 47297 20413 - 20430 Select org.make.core.question.Question.defaultLanguage x$10.defaultLanguage
473 48335 19996 - 20502 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.proposal.proposalapitest org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective
474 48095 18075 - 20615 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]], akka.http.scaladsl.server.Directive1[Option[Seq[org.make.core.proposal.ProposalId]]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](cats.implicits.toTraverseOps[Option, org.make.core.question.QuestionId](maybeQuestionId)(cats.implicits.catsStdInstancesForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question](((x$5: org.make.core.question.QuestionId) => DefaultProposalApiComponent.this.questionService.getQuestion(x$5)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForOption)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.proposal.ProposalId]]](futureExcludedProposalIds).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.api.proposal.ProposalsResultSeededResponse](((x0$2: (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])) => x0$2 match { case (_1: Option[org.make.core.question.Question], _2: Option[Seq[org.make.core.proposal.ProposalId]]): (Option[org.make.core.question.Question], Option[Seq[org.make.core.proposal.ProposalId]])((maybeQuestion @ _), (excludedProposalIds @ _)) => { val contextFilterRequest: Option[org.make.api.proposal.ContextFilterRequest] = ContextFilterRequest.parse(operationId, source, location, question); val searchRequest: org.make.api.proposal.SearchRequest = { <artifact> val x$3: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = proposalIds; <artifact> val x$4: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = questionIds; <artifact> val x$5: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = tagsIds; <artifact> val x$6: Option[org.make.core.operation.OperationId] @scala.reflect.internal.annotations.uncheckedBounds = operationId; <artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = content; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = slug; <artifact> val x$9: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = seed; <artifact> val x$10: Option[org.make.api.proposal.ContextFilterRequest] @scala.reflect.internal.annotations.uncheckedBounds = contextFilterRequest; <artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = language; <artifact> val x$12: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = country; <artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort.map[String](((x$6: org.make.core.proposal.indexed.ProposalElasticsearchFieldName) => x$6.field)); <artifact> val x$14: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$15: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit; <artifact> val x$16: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset; <artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sortAlgorithm.map[String](((x$7: org.make.core.proposal.AlgorithmSelector) => x$7.value)); <artifact> val x$18: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = operationKinds.orElse[Seq[org.make.core.operation.OperationKind]](if (questionIds.exists(((x$8: Seq[org.make.core.question.QuestionId]) => x$8.nonEmpty))) scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.unsecuredKinds) else scala.Some.apply[Seq[org.make.core.operation.OperationKind]](org.make.core.operation.OperationKind.publicKinds)); <artifact> val x$19: Option[Seq[org.make.core.user.UserType]] @scala.reflect.internal.annotations.uncheckedBounds = userType; <artifact> val x$20: Option[Seq[org.make.core.idea.IdeaId]] @scala.reflect.internal.annotations.uncheckedBounds = ideaIds; <artifact> val x$21: Option[Seq[org.make.core.proposal.ProposalKeywordKey]] @scala.reflect.internal.annotations.uncheckedBounds = keywords; <artifact> val x$22: Option[Seq[org.make.core.proposal.ProposalId]] @scala.reflect.internal.annotations.uncheckedBounds = excludedProposalIds; <artifact> val x$23: Option[Seq[org.make.core.proposal.ProposalType]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$2; <artifact> val x$24: Option[Seq[org.make.core.reference.LabelId]] @scala.reflect.internal.annotations.uncheckedBounds = SearchRequest.apply$default$4; SearchRequest.apply(x$3, x$23, x$5, x$24, x$6, x$4, 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) }; org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.proposalService.searchForUser(userAuth.map[org.make.core.user.UserId](((x$9: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$9.user.userId)), searchRequest.toSearchQuery(requestContext), requestContext, preferredLanguage, maybeQuestion.map[org.make.core.reference.Language](((x$10: org.make.core.question.Question) => x$10.defaultLanguage)))).asDirective } })))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((proposals: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))))
475 49966 20581 - 20581 Select org.make.api.proposal.ProposalsResultSeededResponse.codec org.make.api.proposal.proposalapitest proposal.this.ProposalsResultSeededResponse.codec
475 41562 20581 - 20581 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]
475 43188 20581 - 20590 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply org.make.api.proposal.proposalapitest marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])))
475 35065 20572 - 20591 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete org.make.api.proposal.proposalapitest DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](proposals)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))
475 46453 20581 - 20581 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller org.make.api.proposal.proposalapitest marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))
475 33985 20581 - 20581 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])
485 38912 20739 - 20778 Select org.make.core.BusinessConfig.defaultProposalMaxLength org.make.api.proposal.proposalapitest org.make.core.BusinessConfig.defaultProposalMaxLength
486 35530 20815 - 20858 Select org.make.core.FrontConfiguration.defaultProposalMinLength org.make.api.proposal.proposalapitest org.make.core.FrontConfiguration.defaultProposalMinLength
489 48133 20896 - 20900 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.proposalapitest DefaultProposalApi.this.post
489 50983 20896 - 23471 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId,)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("PostProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.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],)](DefaultProposalApiComponent.this.oidcAuth(questionId, DefaultProposalApiComponent.this.oidcAuth$default$2))(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(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposeProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ProposeProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposeProposalRequest]).apply(((request: org.make.api.proposal.ProposeProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.proposal.ProposalId](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse]))))))))))))))))
490 35567 20911 - 20955 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.proposalapitest DefaultProposalApi.this.path[(org.make.core.question.QuestionId,)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
490 39726 20916 - 20927 Literal <nosymbol> org.make.api.proposal.proposalapitest "questions"
490 33224 20941 - 20941 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
490 46245 20941 - 20941 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
490 32126 20930 - 20940 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.questionId org.make.api.proposal.proposalapitest DefaultProposalApi.this.questionId
490 42061 20943 - 20954 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("proposals")
490 48586 20915 - 20915 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
490 37673 20911 - 23463 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId,)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("PostProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.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],)](DefaultProposalApiComponent.this.oidcAuth(questionId, DefaultProposalApiComponent.this.oidcAuth$default$2))(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(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposeProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ProposeProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposeProposalRequest]).apply(((request: org.make.api.proposal.ProposeProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.proposal.ProposalId](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse])))))))))))))))
490 49919 20928 - 20928 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.proposalapitest TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
490 39431 20916 - 20954 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
491 42098 20982 - 21011 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation("PostProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3)
491 32160 20982 - 20982 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation$default$2
491 39759 20996 - 21010 Literal <nosymbol> org.make.api.proposal.proposalapitest "PostProposal"
491 46071 20982 - 23453 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("PostProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.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],)](DefaultProposalApiComponent.this.oidcAuth(questionId, DefaultProposalApiComponent.this.oidcAuth$default$2))(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(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposeProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ProposeProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposeProposalRequest]).apply(((request: org.make.api.proposal.ProposeProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.proposal.ProposalId](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse])))))))))))))
491 33693 20995 - 20995 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
491 49668 20982 - 20982 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation$default$3
492 46286 21044 - 21044 Select org.make.api.technical.auth.MakeAuthentication.oidcAuth$default$2 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.oidcAuth$default$2
492 32753 21044 - 23441 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultProposalApiComponent.this.oidcAuth(questionId, DefaultProposalApiComponent.this.oidcAuth$default$2))(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(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposeProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ProposeProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposeProposalRequest]).apply(((request: org.make.api.proposal.ProposeProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.proposal.ProposalId](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse])))))))))))
492 35319 21052 - 21052 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
492 39467 21044 - 21064 Apply org.make.api.technical.auth.MakeAuthentication.oidcAuth org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.oidcAuth(questionId, DefaultProposalApiComponent.this.oidcAuth$default$2)
493 48088 21111 - 21124 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultProposalApi.this.decodeRequest
493 39874 21111 - 23427 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposeProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ProposeProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposeProposalRequest]).apply(((request: org.make.api.proposal.ProposeProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.proposal.ProposalId](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse])))))))))
494 46001 21152 - 21152 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder))
494 47008 21149 - 21149 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ProposeProposalRequest]
494 44445 21143 - 23411 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposeProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ProposeProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposeProposalRequest]).apply(((request: org.make.api.proposal.ProposeProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.proposal.ProposalId](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse]))))))))
494 31917 21152 - 21152 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder)
494 40494 21152 - 21152 Select org.make.api.proposal.ProposeProposalRequest.decoder proposal.this.ProposeProposalRequest.decoder
494 33732 21143 - 21177 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultProposalApi.this.entity[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ProposeProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder))))
494 41854 21150 - 21176 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultProposalApi.this.as[org.make.api.proposal.ProposeProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ProposeProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ProposeProposalRequest](proposal.this.ProposeProposalRequest.decoder)))
495 38658 21233 - 21606 Apply scala.Tuple2.apply scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))
496 47846 21255 - 21314 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound
496 39224 21275 - 21291 Select org.make.core.auth.UserRights.userId auth.user.userId
496 35357 21255 - 21292 Apply org.make.api.user.UserService.getUser DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)
498 40247 21336 - 21398 Apply org.make.api.question.QuestionService.getQuestion DefaultProposalApiComponent.this.questionService.getQuestion(questionId)
499 46765 21336 - 21586 Apply org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrBadRequest org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question")))
500 32112 21487 - 21497 Literal <nosymbol> "question"
500 33771 21471 - 21562 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))
500 45760 21499 - 21510 Literal <nosymbol> "mandatory"
500 41351 21512 - 21561 Apply scala.Some.apply scala.Some.apply[String]("This proposal refers to no known question")
502 39798 21611 - 21611 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
502 44961 21611 - 21611 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
502 32194 21233 - 23258 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.mapN cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
502 43959 21611 - 21611 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
503 47373 21656 - 22313 Apply scala.Tuple4.apply scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))
504 47882 21682 - 21697 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(request.content)
504 41389 21698 - 21698 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$4 qual$1.withMaxLength$default$4
504 45178 21698 - 21698 Select org.make.core.Validation.StringWithParsers.withMaxLength$default$3 qual$1.withMaxLength$default$3
504 40282 21712 - 21729 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.maxProposalLength DefaultProposalApi.this.maxProposalLength
504 33517 21682 - 21741 Apply org.make.core.Validation.StringWithParsers.withMaxLength qual$1.withMaxLength(x$1, "content", x$3, x$4)
504 31387 21682 - 21697 Select org.make.api.proposal.ProposeProposalRequest.content request.content
504 31871 21731 - 21740 Literal <nosymbol> "content"
505 40044 21783 - 21783 Select org.make.core.Validation.StringWithParsers.withMinLength$default$3 qual$2.withMinLength$default$3
505 46276 21767 - 21782 Select org.make.api.proposal.ProposeProposalRequest.content request.content
505 31906 21783 - 21783 Select org.make.core.Validation.StringWithParsers.withMinLength$default$4 qual$2.withMinLength$default$4
505 44933 21767 - 21826 Apply org.make.core.Validation.StringWithParsers.withMinLength qual$2.withMinLength(x$5, "content", x$7, x$8)
505 38416 21767 - 21782 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(request.content)
505 47923 21816 - 21825 Literal <nosymbol> "content"
505 31588 21797 - 21814 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.minProposalLength DefaultProposalApi.this.minProposalLength
506 41841 21852 - 21867 Select org.make.api.proposal.ProposeProposalRequest.content request.content
506 33554 21852 - 21867 ApplyImplicitView org.make.core.Validation.StringWithParsers org.make.core.Validation.StringWithParsers(request.content)
506 47336 21885 - 21894 Literal <nosymbol> "content"
506 31623 21852 - 21895 Apply org.make.core.Validation.StringWithParsers.toSanitizedInput qual$3.toSanitizedInput("content", x$10)
506 38450 21868 - 21868 Select org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2 qual$3.toSanitizedInput$default$2
507 48372 21921 - 21937 Select org.make.api.proposal.ProposeProposalRequest.language request.language
508 34022 21921 - 22289 Apply org.make.core.Validation.AnyWithParsers.predicateValidated org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String)))
509 40861 22013 - 22047 Apply scala.collection.immutable.List.contains eta$0$1.contains[Any](elem)
510 32976 22077 - 22087 Literal <nosymbol> "language"
511 45750 22117 - 22139 Literal <nosymbol> "unsupported_language"
512 38165 22169 - 22261 Apply scala.Some.apply scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))
514 39514 22314 - 22314 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
514 39998 22314 - 22314 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
514 31378 22314 - 22314 ApplyToImplicitArgs cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
514 33013 21656 - 22320 ApplyToImplicitArgs cats.syntax.Tuple4SemigroupalOps.tupled cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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]))
514 48412 22314 - 22314 TypeApply cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
516 45785 22435 - 22435 Select cats.data.NonEmptyChainInstances.catsDataInstancesForNonEmptyChainBinCompat1 data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1
516 33508 22413 - 22450 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)
516 37925 22435 - 22449 Select cats.Foldable.Ops.toList cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList
516 31417 22404 - 22451 ApplyToImplicitArgs akka.http.scaladsl.server.StandardRoute.toDirective server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId])
516 46522 22404 - 22451 Apply akka.http.scaladsl.server.directives.RouteDirectives.failWith DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList))
516 39551 22412 - 22412 TypeApply akka.http.scaladsl.server.util.Tuple.forTuple1 util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]
518 48171 22543 - 22558 Select org.make.api.proposal.ProposalServiceComponent.proposalService DefaultProposalApiComponent.this.proposalService
519 38437 22543 - 23170 Apply org.make.api.proposal.ProposalService.propose qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19)
522 40035 22745 - 22761 Apply org.make.core.DefaultDateHelper.now org.make.core.DateHelper.now()
523 32435 22803 - 22818 Select org.make.api.proposal.ProposeProposalRequest.content request.content
525 45542 22919 - 22924 Literal <nosymbol> false
526 37961 22978 - 22994 Select org.make.api.proposal.ProposeProposalRequest.language request.language
527 33261 23040 - 23059 Select org.make.api.proposal.ProposeProposalRequest.isAnonymous request.isAnonymous
528 46560 23106 - 23140 Select org.make.core.proposal.ProposalType.ProposalTypeSubmitted org.make.core.proposal.ProposalType.ProposalTypeSubmitted
530 31160 22543 - 23211 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective
533 46593 23280 - 23280 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]
533 33296 21233 - 23287 ApplyToImplicitArgs cats.syntax.FlattenOps.flatten cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.proposal.ProposalId](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
533 37718 23280 - 23280 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
534 37914 23358 - 23358 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse])
534 30584 23361 - 23391 Apply org.make.api.proposal.ProposalIdResponse.apply ProposalIdResponse.apply(proposalId)
534 43704 23338 - 23391 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId))
534 33000 23358 - 23358 Select org.make.api.proposal.ProposalIdResponse.codec proposal.this.ProposalIdResponse.codec
534 46036 23358 - 23358 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse]
534 50531 23358 - 23358 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse]))
534 39543 23329 - 23392 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse]))))
534 31668 21233 - 23393 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.ProposalId,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.proposal.ProposalId](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultProposalApiComponent.this.userService.getUser(auth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultProposalApiComponent.this.questionService.getQuestion(questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("question", "mandatory", scala.Some.apply[String]("This proposal refers to no known question"))))).mapN[akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]](((user: org.make.core.user.User, question: org.make.core.question.Question) => cats.implicits.catsSyntaxTuple4Semigroupal[[+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], org.make.core.reference.Language](scala.Tuple4.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]], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.reference.Language]]({ <artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$1: Int = DefaultProposalApi.this.maxProposalLength; <artifact> val x$2: String("content") = "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, "content", x$3, x$4) }, { <artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$5: Int = DefaultProposalApi.this.minProposalLength; <artifact> val x$6: String("content") = "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, "content", x$7, x$8) }, { <artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.content); <artifact> val x$9: String("content") = "content"; <artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2; qual$3.toSanitizedInput("content", x$10) }, org.make.core.Validation.AnyWithParsers[org.make.core.reference.Language](request.language).predicateValidated({ <synthetic> val eta$0$1: List[org.make.core.reference.Language] = question.languages.toList; ((elem: Any) => eta$0$1.contains[Any](elem)) }, "language", "unsupported_language", scala.Some.apply[String](("Language ".+(request.language.value).+(" is not supported by question ").+(questionId.value): String))))).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 @ _)) => (server.this.StandardRoute.toDirective[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.failWith(org.make.core.ValidationFailedError.apply(cats.implicits.toFoldableOps[cats.data.NonEmptyChain, org.make.core.ValidationError](errsNec)(data.this.NonEmptyChainImpl.catsDataInstancesForNonEmptyChainBinCompat1).toList)))(util.this.Tuple.forTuple1[org.make.core.proposal.ProposalId]): akka.http.scaladsl.server.Directive1[org.make.core.proposal.ProposalId]) case (a: (org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)): cats.data.Validated.Valid[(org.make.core.Validation.StringWithMaxLength, org.make.core.Validation.StringWithMinLength, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml], org.make.core.reference.Language)]((a @ _)) => org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.proposal.ProposalId]({ <artifact> val qual$4: org.make.api.proposal.ProposalService = DefaultProposalApiComponent.this.proposalService; <artifact> val x$11: org.make.core.user.User = user; <artifact> val x$12: org.make.core.RequestContext = requestContext; <artifact> val x$13: java.time.ZonedDateTime = org.make.core.DateHelper.now(); <artifact> val x$14: String = request.content; <artifact> val x$15: org.make.core.question.Question = question; <artifact> val x$16: Boolean(false) = false; <artifact> val x$17: org.make.core.reference.Language = request.language; <artifact> val x$18: Boolean = request.isAnonymous; <artifact> val x$19: org.make.core.proposal.ProposalType.ProposalTypeSubmitted.type = org.make.core.proposal.ProposalType.ProposalTypeSubmitted; qual$4.propose(x$11, x$12, x$13, x$14, x$15, x$18, false, x$17, x$19) }).asDirective }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.proposal.ProposalId]).apply(((proposalId: org.make.core.proposal.ProposalId) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse]))))))
534 46358 23338 - 23391 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.proposal.ProposalIdResponse](ProposalIdResponse.apply(proposalId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.proposal.ProposalIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.ProposalIdResponse](proposal.this.ProposalIdResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalIdResponse])))
534 39835 23358 - 23358 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
534 39503 23338 - 23357 Select akka.http.scaladsl.model.StatusCodes.Created akka.http.scaladsl.model.StatusCodes.Created
542 47149 23495 - 23499 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.proposalapitest DefaultProposalApi.this.post
542 31237 23495 - 24691 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("vote"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("VoteProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))))))))))))))))
543 37708 23554 - 23564 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.proposalId org.make.api.proposal.proposalapitest DefaultProposalApi.this.proposalId
543 39119 23508 - 24685 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("vote"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("VoteProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))))))))))))))
543 31152 23527 - 23537 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.questionId org.make.api.proposal.proposalapitest DefaultProposalApi.this.questionId
543 36137 23565 - 23565 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
543 50779 23512 - 23512 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac2 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
543 40318 23540 - 23551 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("proposals")
543 44244 23567 - 23573 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("vote")
543 39336 23552 - 23552 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleFoldInstances.t1 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))
543 46310 23552 - 23552 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.Join.Fold.step org.make.api.proposal.proposalapitest Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])
543 31940 23565 - 23565 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
543 30908 23552 - 23552 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])))
543 39300 23513 - 23524 Literal <nosymbol> org.make.api.proposal.proposalapitest "questions"
543 45320 23513 - 23573 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("vote"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
543 45834 23538 - 23538 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
543 51020 23552 - 23552 TypeApply akka.http.scaladsl.server.util.TupleAppendOneInstances.append1 org.make.api.proposal.proposalapitest TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
543 44479 23525 - 23525 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.proposalapitest TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
543 32789 23538 - 23538 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
543 37744 23508 - 23574 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.proposalapitest DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("vote"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
544 35890 23626 - 23626 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
544 38483 23613 - 23613 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultProposalApiComponent.this.makeOperation$default$2
544 30943 23613 - 23613 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultProposalApiComponent.this.makeOperation$default$3
544 46350 23627 - 23641 Literal <nosymbol> "VoteProposal"
544 42945 23613 - 24677 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("VoteProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))))))))))))
544 44276 23613 - 23642 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultProposalApiComponent.this.makeOperation("VoteProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3)
545 50532 23673 - 24667 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))))))))))
545 37501 23689 - 23689 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
545 31977 23673 - 23673 Select org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2 DefaultProposalApiComponent.this.optionalOidcAuth$default$2
545 46059 23673 - 23701 Apply org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2)
546 50280 23759 - 23772 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultProposalApi.this.decodeRequest
546 37493 23759 - 24655 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))))))))
547 45612 23789 - 24641 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))))))))
547 35931 23789 - 23820 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder))))
547 47406 23798 - 23798 Select org.make.api.proposal.VoteProposalRequest.decoder proposal.this.VoteProposalRequest.decoder
547 33051 23795 - 23795 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]
547 38523 23798 - 23798 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)
547 44037 23796 - 23819 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))
547 31688 23798 - 23798 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder))
549 39325 23850 - 24181 Apply org.make.api.proposal.ProposalService.voteProposal DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)
551 38238 23978 - 24006 Apply scala.Option.map maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId))
551 45822 23992 - 24005 Select org.make.core.auth.UserRights.userId x$11.user.userId
553 51334 24091 - 24106 Select org.make.api.proposal.VoteProposalRequest.voteKey request.voteKey
554 42449 24142 - 24161 Select org.make.api.proposal.VoteProposalRequest.proposalKey request.proposalKey
556 44233 24201 - 24201 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]
556 31451 23850 - 24222 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound
557 49780 23850 - 24625 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.voteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$11: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$11.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))))))
559 36430 24300 - 24605 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))))
561 39084 24385 - 24385 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])
561 37998 24334 - 24581 Apply org.make.api.proposal.VotesResponse.parseVotes VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey)
561 50768 24385 - 24385 Select org.make.api.proposal.VotesResponse.codec proposal.this.VotesResponse.codec
561 31487 24385 - 24385 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))
561 43506 24385 - 24385 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]
561 43993 24334 - 24581 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)), request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))
563 36982 24473 - 24496 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true)
563 33085 24469 - 24497 Apply scala.collection.MapFactory.apply scala.Predef.Map.apply[org.make.core.proposal.VoteKey, Boolean](scala.Predef.ArrowAssoc[org.make.core.proposal.VoteKey](request.voteKey).->[Boolean](true))
564 45856 24538 - 24553 Select org.make.api.proposal.VoteProposalRequest.voteKey request.voteKey
575 36003 24717 - 25761 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("unvote"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("UnvoteProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))))))))))))))))
575 44026 24717 - 24721 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.proposalapitest DefaultProposalApi.this.post
576 36222 24774 - 24774 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleFoldInstances.t1 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))
576 43498 24735 - 24797 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("unvote"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
576 31188 24734 - 24734 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac2 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
576 48973 24774 - 24774 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])))
576 30721 24774 - 24774 TypeApply akka.http.scaladsl.server.util.TupleAppendOneInstances.append1 org.make.api.proposal.proposalapitest TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
576 43784 24774 - 24774 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.Join.Fold.step org.make.api.proposal.proposalapitest Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])
576 36466 24735 - 24746 Literal <nosymbol> org.make.api.proposal.proposalapitest "questions"
576 43565 24730 - 25755 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("unvote"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("UnvoteProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))))))))))))))
576 37288 24787 - 24787 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
576 46098 24789 - 24797 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("unvote")
576 50569 24760 - 24760 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
576 34617 24730 - 24798 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.proposalapitest DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("unvote"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
576 42437 24760 - 24760 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
576 45649 24747 - 24747 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.proposalapitest TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
576 39575 24776 - 24786 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.proposalId org.make.api.proposal.proposalapitest DefaultProposalApi.this.proposalId
576 50604 24787 - 24787 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
576 37251 24762 - 24773 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("proposals")
576 48932 24749 - 24759 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.questionId org.make.api.proposal.proposalapitest DefaultProposalApi.this.questionId
577 37011 24837 - 24837 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultProposalApiComponent.this.makeOperation$default$2
577 46138 24837 - 24868 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultProposalApiComponent.this.makeOperation("UnvoteProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3)
577 48275 24837 - 25747 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("UnvoteProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))))))))))))
577 38026 24850 - 24850 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
577 50030 24837 - 24837 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultProposalApiComponent.this.makeOperation$default$3
577 43818 24851 - 24867 Literal <nosymbol> "UnvoteProposal"
578 50358 24899 - 24899 Select org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2 DefaultProposalApiComponent.this.optionalOidcAuth$default$2
578 43533 24899 - 24927 Apply org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2)
578 35670 24899 - 25737 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))))))))))
578 35681 24915 - 24915 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
579 42483 24985 - 25725 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))))))))
579 31226 24985 - 24998 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultProposalApi.this.decodeRequest
580 50559 25021 - 25021 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]
580 36769 25024 - 25024 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)
580 50349 25015 - 25711 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.VoteProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.VoteProposalRequest]).apply(((request: org.make.api.proposal.VoteProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))))))))
580 37781 25015 - 25046 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultProposalApi.this.entity[org.make.api.proposal.VoteProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder))))
580 45359 25022 - 25045 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultProposalApi.this.as[org.make.api.proposal.VoteProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder)))
580 50072 25024 - 25024 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.VoteProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.VoteProposalRequest](proposal.this.VoteProposalRequest.decoder))
580 44551 25024 - 25024 Select org.make.api.proposal.VoteProposalRequest.decoder proposal.this.VoteProposalRequest.decoder
582 36212 25076 - 25409 Apply org.make.api.proposal.ProposalService.unvoteProposal DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)
584 43294 25220 - 25233 Select org.make.core.auth.UserRights.userId x$12.user.userId
584 35721 25206 - 25234 Apply scala.Option.map maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId))
586 31263 25319 - 25334 Select org.make.api.proposal.VoteProposalRequest.voteKey request.voteKey
587 44314 25370 - 25389 Select org.make.api.proposal.VoteProposalRequest.proposalKey request.proposalKey
589 49820 25076 - 25450 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound
589 41704 25429 - 25429 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]
590 37569 25076 - 25695 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalActorResponse.VotesActorResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.api.proposal.ProposalActorResponse.VotesActorResponse](DefaultProposalApiComponent.this.proposalService.unvoteProposal(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$12: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$12.user.userId)), requestContext, request.voteKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalActorResponse.VotesActorResponse]).apply(((votes: org.make.api.proposal.ProposalActorResponse.VotesActorResponse) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))))))
592 41740 25528 - 25675 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))))
593 31015 25586 - 25586 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]
593 42717 25562 - 25651 Apply org.make.api.proposal.VotesResponse.parseVotes VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey)
593 43808 25586 - 25586 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])
593 37815 25613 - 25622 TypeApply scala.collection.immutable.Map.empty scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing]
593 50315 25635 - 25650 Select org.make.api.proposal.VoteProposalRequest.voteKey request.voteKey
593 49244 25562 - 25651 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.VotesResponse](VotesResponse.parseVotes(votes, scala.Predef.Map.empty[org.make.core.proposal.VoteKey, Nothing], request.voteKey))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse])))
593 34918 25586 - 25586 Select org.make.api.proposal.VotesResponse.codec proposal.this.VotesResponse.codec
593 35968 25586 - 25586 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.VotesResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.VotesResponse](proposal.this.VotesResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.VotesResponse]))
603 50059 25794 - 25798 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.proposalapitest DefaultProposalApi.this.post
603 48837 25794 - 26899 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("qualification"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("QualificationProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))))))))))))))))
604 37074 25826 - 25836 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.questionId org.make.api.proposal.proposalapitest DefaultProposalApi.this.questionId
604 42197 25812 - 25823 Literal <nosymbol> org.make.api.proposal.proposalapitest "questions"
604 35788 25811 - 25811 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac2 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
604 35707 25837 - 25837 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
604 43324 25864 - 25864 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
604 42235 25851 - 25851 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleFoldInstances.t1 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))
604 35754 25851 - 25851 TypeApply akka.http.scaladsl.server.util.TupleAppendOneInstances.append1 org.make.api.proposal.proposalapitest TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
604 49813 25851 - 25851 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.Join.Fold.step org.make.api.proposal.proposalapitest Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])
604 35458 25864 - 25864 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
604 48721 25837 - 25837 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
604 50103 25824 - 25824 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.proposalapitest TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
604 50139 25866 - 25881 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("qualification")
604 43598 25853 - 25863 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.proposalId org.make.api.proposal.proposalapitest DefaultProposalApi.this.proposalId
604 48230 25812 - 25881 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("qualification"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
604 42515 25839 - 25850 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("proposals")
604 44061 25807 - 25882 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.proposalapitest DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("qualification"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
604 37526 25851 - 25851 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])))
604 36847 25807 - 26893 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("qualification"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("QualificationProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))))))))))))))
605 41993 25921 - 25921 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultProposalApiComponent.this.makeOperation$default$2
605 33876 25921 - 25921 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultProposalApiComponent.this.makeOperation$default$3
605 40380 25921 - 26885 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("QualificationProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))))))))))))
605 43081 25934 - 25934 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
605 49848 25935 - 25958 Literal <nosymbol> "QualificationProposal"
605 50879 25921 - 25959 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultProposalApiComponent.this.makeOperation("QualificationProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3)
606 44102 26006 - 26006 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
606 48509 25990 - 26875 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))))))))))
606 47985 25990 - 26018 Apply org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2)
606 35496 25990 - 25990 Select org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2 DefaultProposalApiComponent.this.optionalOidcAuth$default$2
607 35993 26076 - 26089 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultProposalApi.this.decodeRequest
607 35205 26076 - 26863 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))))))))
608 33620 26115 - 26115 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder))
608 49598 26115 - 26115 Select org.make.api.proposal.QualificationProposalRequest.decoder proposal.this.QualificationProposalRequest.decoder
608 50639 26113 - 26145 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))
608 42307 26106 - 26849 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))))))))
608 42031 26115 - 26115 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)
608 34650 26112 - 26112 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]
608 42503 26106 - 26146 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder))))
610 33659 26176 - 26571 Apply org.make.api.proposal.ProposalService.qualifyVote DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)
612 40426 26303 - 26331 Apply scala.Option.map maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId))
612 48021 26317 - 26330 Select org.make.core.auth.UserRights.userId x$13.user.userId
614 35742 26416 - 26431 Select org.make.api.proposal.QualificationProposalRequest.voteKey request.voteKey
615 49037 26472 - 26496 Select org.make.api.proposal.QualificationProposalRequest.qualificationKey request.qualificationKey
616 41943 26532 - 26551 Select org.make.api.proposal.QualificationProposalRequest.proposalKey request.proposalKey
618 42271 26591 - 26591 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]
618 50127 26176 - 26612 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound
618 51191 26176 - 26833 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.qualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$13: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$13.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))))))
619 34399 26667 - 26813 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))))
620 35779 26739 - 26739 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])
620 48477 26739 - 26739 Select org.make.api.proposal.QualificationResponse.codec proposal.this.QualificationResponse.codec
620 41984 26699 - 26791 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, true))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))
620 34686 26699 - 26791 Apply org.make.api.proposal.QualificationResponse.parseQualification QualificationResponse.parseQualification(qualification, true)
620 48804 26739 - 26739 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))
620 40182 26739 - 26739 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]
630 42019 26934 - 26938 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.proposalapitest DefaultProposalApi.this.post
630 41557 26934 - 28046 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("unqualification"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("UnqualificationProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))))))))))))))))
631 46656 26991 - 26991 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])))
631 46895 26966 - 26976 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.questionId org.make.api.proposal.proposalapitest DefaultProposalApi.this.questionId
631 41775 26991 - 26991 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.Join.Fold.step org.make.api.proposal.proposalapitest Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])
631 34158 26952 - 26963 Literal <nosymbol> org.make.api.proposal.proposalapitest "questions"
631 49347 26991 - 26991 TypeApply akka.http.scaladsl.server.util.TupleAppendOneInstances.append1 org.make.api.proposal.proposalapitest TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
631 49673 26947 - 28040 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("unqualification"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("UnqualificationProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))))))))))))))
631 36287 26993 - 27003 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.proposalId org.make.api.proposal.proposalapitest DefaultProposalApi.this.proposalId
631 35240 26979 - 26990 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("proposals")
631 48548 26977 - 26977 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
631 42791 27006 - 27023 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("unqualification")
631 36035 26947 - 27024 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.proposalapitest DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("unqualification"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
631 43368 26964 - 26964 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.proposalapitest TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
631 48308 27004 - 27004 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
631 48789 26951 - 26951 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac2 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
631 40134 26977 - 26977 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
631 40173 26952 - 27023 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("unqualification"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
631 33650 26991 - 26991 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleFoldInstances.t1 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))
631 35277 27004 - 27004 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
632 41810 27077 - 27102 Literal <nosymbol> "UnqualificationProposal"
632 34438 27076 - 27076 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
632 46702 27063 - 27063 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultProposalApiComponent.this.makeOperation$default$3
632 33406 27063 - 27063 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultProposalApiComponent.this.makeOperation$default$2
632 32320 27063 - 28032 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("UnqualificationProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))))))))))))
632 43325 27063 - 27103 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultProposalApiComponent.this.makeOperation("UnqualificationProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3)
633 39938 27134 - 27162 Apply org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2)
633 48344 27134 - 27134 Select org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2 DefaultProposalApiComponent.this.optionalOidcAuth$default$2
633 32332 27150 - 27150 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
633 40463 27134 - 28022 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((maybeAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))))))))))
634 48827 27220 - 27233 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultProposalApi.this.decodeRequest
634 48056 27220 - 28010 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))))))))
635 48262 27256 - 27256 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]
635 34472 27250 - 27290 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder))))
635 46458 27259 - 27259 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder))
635 33442 27259 - 27259 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)
635 40969 27259 - 27259 Select org.make.api.proposal.QualificationProposalRequest.decoder proposal.this.QualificationProposalRequest.decoder
635 35571 27250 - 27996 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.QualificationProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.QualificationProposalRequest]).apply(((request: org.make.api.proposal.QualificationProposalRequest) => server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))))))))
635 43355 27257 - 27289 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultProposalApi.this.as[org.make.api.proposal.QualificationProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.QualificationProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.QualificationProposalRequest](proposal.this.QualificationProposalRequest.decoder)))
637 46496 27320 - 27717 Apply org.make.api.proposal.ProposalService.unqualifyVote DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)
639 31825 27449 - 27477 Apply scala.Option.map maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId))
639 39969 27463 - 27476 Select org.make.core.auth.UserRights.userId x$14.user.userId
641 49884 27562 - 27577 Select org.make.api.proposal.QualificationProposalRequest.voteKey request.voteKey
642 41009 27618 - 27642 Select org.make.api.proposal.QualificationProposalRequest.qualificationKey request.qualificationKey
643 33908 27678 - 27697 Select org.make.api.proposal.QualificationProposalRequest.proposalKey request.proposalKey
645 39436 27320 - 27980 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.proposal.Qualification,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]).apply(((qualification: org.make.core.proposal.Qualification) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))))))
645 35536 27737 - 27737 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.proposal.Qualification]
645 38374 27320 - 27758 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.proposal.Qualification](DefaultProposalApiComponent.this.proposalService.unqualifyVote(proposalId, maybeAuth.map[org.make.core.user.UserId](((x$14: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$14.user.userId)), requestContext, request.voteKey, request.qualificationKey, request.proposalKey)).asDirectiveOrNotFound
646 46686 27813 - 27960 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))))
647 41524 27885 - 27885 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]))
647 33945 27845 - 27938 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.QualificationResponse](QualificationResponse.parseQualification(qualification, false))(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.QualificationResponse](DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])))
647 48299 27845 - 27938 Apply org.make.api.proposal.QualificationResponse.parseQualification QualificationResponse.parseQualification(qualification, false)
647 32897 27885 - 27885 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse]
647 49925 27885 - 27885 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultProposalApiComponent.this.marshaller[org.make.api.proposal.QualificationResponse](proposal.this.QualificationResponse.codec, DefaultProposalApiComponent.this.marshaller$default$2[org.make.api.proposal.QualificationResponse])
647 40427 27885 - 27885 Select org.make.api.proposal.QualificationResponse.codec proposal.this.QualificationResponse.codec
658 33980 28086 - 28090 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.proposal.proposalapitest DefaultProposalApi.this.post
658 37386 28086 - 29046 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("report"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("PostProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$15: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ReportProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ReportProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ReportProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ReportProposalRequest]).apply(((request: org.make.api.proposal.ReportProposalRequest) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$16: Unit) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
659 41318 28145 - 28145 TypeApply akka.http.scaladsl.server.util.TupleAppendOneInstances.append1 org.make.api.proposal.proposalapitest TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
659 45400 28147 - 28157 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.proposalId org.make.api.proposal.proposalapitest DefaultProposalApi.this.proposalId
659 48091 28133 - 28144 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("proposals")
659 48127 28158 - 28158 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
659 38871 28120 - 28130 Select org.make.api.proposal.DefaultProposalApiComponent.DefaultProposalApi.questionId org.make.api.proposal.proposalapitest DefaultProposalApi.this.questionId
659 32082 28131 - 28131 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
659 42055 28105 - 28105 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac2 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]
659 39956 28131 - 28131 TypeApply akka.http.scaladsl.server.util.TupleFoldInstances.t0 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
659 34782 28118 - 28118 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.proposal.proposalapitest TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)]
659 46484 28145 - 28145 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleFoldInstances.t1 org.make.api.proposal.proposalapitest TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))
659 45174 28101 - 29038 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("report"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac2[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]).apply(((questionId: org.make.core.question.QuestionId, proposalId: org.make.core.proposal.ProposalId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("PostProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$15: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ReportProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ReportProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ReportProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ReportProposalRequest]).apply(((request: org.make.api.proposal.ReportProposalRequest) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$16: Unit) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))))
659 46448 28106 - 28117 Literal <nosymbol> org.make.api.proposal.proposalapitest "questions"
659 32120 28106 - 28168 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("report"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
659 35523 28160 - 28168 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.proposal.proposalapitest DefaultProposalApi.this._segmentStringToPathMatcher("report")
659 39722 28158 - 28158 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
659 38627 28145 - 28145 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join org.make.api.proposal.proposalapitest TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])))
659 33737 28145 - 28145 ApplyToImplicitArgs akka.http.scaladsl.server.util.TupleOps.Join.Fold.step org.make.api.proposal.proposalapitest Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId])
659 45921 28101 - 28169 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.proposal.proposalapitest DefaultProposalApi.this.path[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId)](DefaultProposalApi.this._segmentStringToPathMatcher("questions")./[(org.make.core.question.QuestionId,)](DefaultProposalApi.this.questionId)(TupleOps.this.Join.join0P[(org.make.core.question.QuestionId,)])./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(org.make.core.proposal.ProposalId,)](DefaultProposalApi.this.proposalId)(TupleOps.this.Join.join[(org.make.core.question.QuestionId,), (org.make.core.proposal.ProposalId,)](TupleOps.this.FoldLeft.t1[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.question.QuestionId,), org.make.core.proposal.ProposalId](TupleOps.this.AppendOne.append1[org.make.core.question.QuestionId, org.make.core.proposal.ProposalId]))))./[Unit](DefaultProposalApi.this._segmentStringToPathMatcher("report"))(TupleOps.this.Join.join[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.question.QuestionId, org.make.core.proposal.ProposalId), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
660 38665 28210 - 28210 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation$default$3
660 46240 28210 - 28210 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation$default$2
660 33218 28224 - 28238 Literal <nosymbol> org.make.api.proposal.proposalapitest "PostProposal"
660 35278 28210 - 28239 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.proposal.proposalapitest DefaultProposalApiComponent.this.makeOperation("PostProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3)
660 48580 28223 - 28223 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.proposal.proposalapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
660 31865 28210 - 29028 Apply scala.Function1.apply org.make.api.proposal.proposalapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultProposalApiComponent.this.makeOperation("PostProposal", DefaultProposalApiComponent.this.makeOperation$default$2, DefaultProposalApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$15: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ReportProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ReportProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ReportProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ReportProposalRequest]).apply(((request: org.make.api.proposal.ReportProposalRequest) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$16: Unit) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))
661 39757 28272 - 28272 Select org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth$default$2 DefaultProposalApiComponent.this.optionalOidcAuth$default$2
661 31876 28272 - 28300 Apply org.make.api.technical.auth.MakeAuthentication.optionalOidcAuth DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2)
661 45962 28288 - 28288 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
661 40005 28272 - 29016 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultProposalApiComponent.this.optionalOidcAuth(questionId, DefaultProposalApiComponent.this.optionalOidcAuth$default$2))(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((x$15: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ReportProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ReportProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ReportProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ReportProposalRequest]).apply(((request: org.make.api.proposal.ReportProposalRequest) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$16: Unit) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))
662 42094 28322 - 28335 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultProposalApi.this.decodeRequest
662 47877 28322 - 29002 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultProposalApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.proposal.ReportProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ReportProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ReportProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ReportProposalRequest]).apply(((request: org.make.api.proposal.ReportProposalRequest) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$16: Unit) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
663 40208 28360 - 28360 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.proposal.ReportProposalRequest]
663 33685 28363 - 28363 Select org.make.api.proposal.ReportProposalRequest.codec proposal.this.ReportProposalRequest.codec
663 31382 28354 - 28986 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.proposal.ReportProposalRequest,)](DefaultProposalApi.this.entity[org.make.api.proposal.ReportProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ReportProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.proposal.ReportProposalRequest]).apply(((request: org.make.api.proposal.ReportProposalRequest) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$16: Unit) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))
663 46281 28363 - 28363 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec)
663 48619 28354 - 28387 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultProposalApi.this.entity[org.make.api.proposal.ReportProposalRequest](DefaultProposalApi.this.as[org.make.api.proposal.ReportProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec))))
663 31593 28361 - 28386 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultProposalApi.this.as[org.make.api.proposal.ReportProposalRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec)))
663 39183 28363 - 28363 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.proposal.ReportProposalRequest](DefaultProposalApiComponent.this.unmarshaller[org.make.api.proposal.ReportProposalRequest](proposal.this.ReportProposalRequest.codec))
664 31627 28448 - 28448 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
664 47839 28442 - 28898 ApplyToImplicitArgs scala.concurrent.Future.apply scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)
665 39220 28470 - 28878 Apply org.make.api.technical.EventBusService.publish DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6))
666 46728 28517 - 28856 Apply org.make.api.proposal.PublishedProposalEvent.ProposalReportedNotice.apply PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)
666 33727 28540 - 28540 Select org.make.api.proposal.PublishedProposalEvent.ProposalReportedNotice.apply$default$6 PublishedProposalEvent.ProposalReportedNotice.apply$default$6
668 31911 28648 - 28672 Select org.make.api.proposal.ReportProposalRequest.proposalLanguage request.proposalLanguage
669 45993 28707 - 28721 Select org.make.api.proposal.ReportProposalRequest.reason request.reason
670 41847 28759 - 28775 Apply org.make.core.DefaultDateHelper.now org.make.core.DateHelper.now()
674 40242 28442 - 28910 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective
674 31826 28899 - 28899 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Unit]
675 33473 28952 - 28966 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
675 38650 28442 - 28968 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](scala.concurrent.Future.apply[Unit](DefaultProposalApiComponent.this.eventBusService.publish(PublishedProposalEvent.ProposalReportedNotice.apply(proposalId, request.proposalLanguage, request.reason, org.make.core.DateHelper.now(), requestContext, PublishedProposalEvent.ProposalReportedNotice.apply$default$6)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$16: Unit) => DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
675 45755 28952 - 28966 Select akka.http.scaladsl.model.StatusCodes.OK akka.http.scaladsl.model.StatusCodes.OK
675 38170 28964 - 28964 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
675 46761 28943 - 28967 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultProposalApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))