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.tag
21 
22 import cats.implicits._
23 import akka.http.scaladsl.model.StatusCodes
24 import akka.http.scaladsl.server._
25 import io.circe.Decoder
26 import io.circe.generic.semiauto.deriveDecoder
27 import io.swagger.annotations._
28 import org.make.api.operation.{
29   OperationOfQuestionServiceComponent,
30   OperationServiceComponent,
31   SearchOperationsOfQuestions
32 }
33 
34 import javax.ws.rs.Path
35 import org.make.api.technical.directives.FutureDirectivesExtensions._
36 import org.make.api.question.QuestionServiceComponent
37 import org.make.api.tag.DefaultPersistentTagServiceComponent.PersistentTag
38 import org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps
39 import org.make.api.technical.MakeDirectives.MakeDirectivesDependencies
40 import org.make.api.technical.{`X-Total-Count`, MakeAuthenticationDirectives}
41 import org.make.core.auth.UserRights
42 import org.make.core.operation.OperationOfQuestion
43 import org.make.core.question.QuestionId
44 import org.make.core.tag.{TagDisplay, TagId, TagTypeId}
45 import org.make.core.{tag, HttpCodes, Order, ParameterExtractors, Validation}
46 import org.make.core.Validation.OptionWithParsers
47 import org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils
48 import scalaoauth2.provider.AuthInfo
49 
50 import scala.annotation.meta.field
51 import scala.concurrent.ExecutionContext.Implicits.global
52 import scala.concurrent.Future
53 import org.make.core.technical.Pagination._
54 
55 import java.time.ZonedDateTime
56 import org.make.core.technical.Pagination
57 import org.make.core.question.Question
58 
59 @Api(value = "Moderation Tags")
60 @Path(value = "/moderation/tags")
61 trait ModerationTagApi extends Directives {
62 
63   @Path(value = "/{tagId}")
64   @ApiOperation(
65     value = "get-tag",
66     httpMethod = "GET",
67     code = HttpCodes.OK,
68     authorizations = Array(
69       new Authorization(
70         value = "MakeApi",
71         scopes = Array(
72           new AuthorizationScope(scope = "admin", description = "BO Admin"),
73           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
74         )
75       )
76     )
77   )
78   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[TagResponse])))
79   @ApiImplicitParams(value = Array(new ApiImplicitParam(name = "tagId", paramType = "path", dataType = "string")))
80   def moderationGetTag: Route
81 
82   @ApiOperation(
83     value = "create-tag",
84     httpMethod = "POST",
85     code = HttpCodes.OK,
86     authorizations = Array(
87       new Authorization(
88         value = "MakeApi",
89         scopes = Array(
90           new AuthorizationScope(scope = "admin", description = "BO Admin"),
91           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
92         )
93       )
94     )
95   )
96   @ApiImplicitParams(
97     value =
98       Array(new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.tag.CreateTagRequest"))
99   )
100   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[TagResponse])))
101   @Path(value = "/")
102   def moderationCreateTag: Route
103 
104   @ApiOperation(
105     value = "list-tags",
106     httpMethod = "GET",
107     code = HttpCodes.OK,
108     authorizations = Array(
109       new Authorization(
110         value = "MakeApi",
111         scopes = Array(
112           new AuthorizationScope(scope = "admin", description = "BO Admin"),
113           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
114         )
115       )
116     )
117   )
118   @ApiImplicitParams(
119     value = Array(
120       new ApiImplicitParam(
121         name = "_start",
122         paramType = "query",
123         dataType = "int",
124         allowableValues = "range[0, infinity]"
125       ),
126       new ApiImplicitParam(
127         name = "_end",
128         paramType = "query",
129         dataType = "int",
130         allowableValues = "range[0, infinity]"
131       ),
132       new ApiImplicitParam(
133         name = "_sort",
134         paramType = "query",
135         dataType = "string",
136         allowableValues = PersistentTag.swaggerAllowableValues
137       ),
138       new ApiImplicitParam(
139         name = "_order",
140         paramType = "query",
141         dataType = "string",
142         allowableValues = Order.swaggerAllowableValues
143       ),
144       new ApiImplicitParam(name = "label", paramType = "query", dataType = "string"),
145       new ApiImplicitParam(name = "tagTypeId", paramType = "query", dataType = "string"),
146       new ApiImplicitParam(name = "questionId", paramType = "query", dataType = "string")
147     )
148   )
149   @ApiResponses(
150     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[Array[TagResponse]]))
151   )
152   @Path(value = "/")
153   def moderationlistTags: Route
154 
155   @ApiOperation(
156     value = "update-tag",
157     httpMethod = "PUT",
158     code = HttpCodes.OK,
159     authorizations = Array(
160       new Authorization(
161         value = "MakeApi",
162         scopes = Array(
163           new AuthorizationScope(scope = "admin", description = "BO Admin"),
164           new AuthorizationScope(scope = "moderator", description = "BO Moderator")
165         )
166       )
167     )
168   )
169   @ApiImplicitParams(
170     value = Array(
171       new ApiImplicitParam(name = "tagId", paramType = "path", dataType = "string"),
172       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.tag.UpdateTagRequest")
173     )
174   )
175   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[tag.Tag])))
176   @Path(value = "/{tagId}")
177   def moderationUpdateTag: Route
178 
179   def routes: Route = moderationGetTag ~ moderationCreateTag ~ moderationlistTags ~ moderationUpdateTag
180 }
181 
182 trait ModerationTagApiComponent {
183   def moderationTagApi: ModerationTagApi
184 }
185 
186 trait DefaultModerationTagApiComponent
187     extends ModerationTagApiComponent
188     with MakeAuthenticationDirectives
189     with ParameterExtractors {
190   this: MakeDirectivesDependencies
191     with TagServiceComponent
192     with QuestionServiceComponent
193     with OperationServiceComponent
194     with OperationOfQuestionServiceComponent =>
195 
196   override lazy val moderationTagApi: ModerationTagApi = new DefaultModerationTagApi
197 
198   class DefaultModerationTagApi extends ModerationTagApi {
199 
200     val moderationTagId: PathMatcher1[TagId] = Segment.map(id => TagId(id))
201 
202     override def moderationGetTag: Route = {
203       get {
204         path("moderation" / "tags" / moderationTagId) { tagId =>
205           makeOperation("ModerationGetTag") { _ =>
206             makeOAuth2 { userAuth: AuthInfo[UserRights] =>
207               requireModerationRole(userAuth.user) {
208                 tagService.getTag(tagId).asDirectiveOrNotFound { tag =>
209                   complete(TagResponse(tag))
210                 }
211               }
212             }
213           }
214         }
215       }
216     }
217 
218     override def moderationCreateTag: Route = post {
219       path("moderation" / "tags") {
220         makeOperation("ModerationRegisterTag") { _ =>
221           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
222             requireAdminRole(userAuth.user) {
223               decodeRequest {
224                 entity(as[CreateTagRequest]) { request: CreateTagRequest =>
225                   (
226                     tagService.findByLabel(request.label, like = false).asDirective,
227                     request.questionId
228                       .fold(Future.successful(Option.empty[Question]))(questionService.getQuestion(_))
229                       .asDirectiveOrNotFound
230                   ).tupled.flatMap({
231                     case (tagList, question) =>
232                       val duplicateLabel = tagList.find { tag =>
233                         tag.questionId.isDefined && tag.questionId == request.questionId
234                       }
235                       Validation.validate(
236                         Validation.requireNotPresent(
237                           fieldName = "label",
238                           fieldValue = duplicateLabel,
239                           message = Some("Tag label already exist in this context. Duplicates are not allowed")
240                         ),
241                         Validation.validateUserInput("label", request.label, None)
242                       )
243                       onSuccess(
244                         tagService.createTag(
245                           label = request.label,
246                           tagTypeId = request.tagTypeId,
247                           question = question,
248                           display = request.display.getOrElse(TagDisplay.Inherit),
249                           weight = request.weight.getOrElse(0f)
250                         )
251                       )
252                   })(tag => complete(StatusCodes.Created -> TagResponse(tag)))
253                 }
254               }
255             }
256           }
257         }
258       }
259     }
260 
261     override def moderationlistTags: Route = {
262       get {
263         path("moderation" / "tags") {
264           makeOperation("ModerationSearchTag") { _ =>
265             parameters(
266               "_start".as[Pagination.Offset].?,
267               "_end".as[End].?,
268               "_sort".?,
269               "_order".as[Order].?,
270               "tagId".csv[TagId],
271               "label".?,
272               "tagTypeId".as[TagTypeId].?,
273               "questionId".as[QuestionId].?,
274               "questionEndAfter".as[ZonedDateTime].?
275             ) {
276               (
277                 offset: Option[Pagination.Offset],
278                 end: Option[Pagination.End],
279                 sort: Option[String],
280                 order: Option[Order],
281                 tagIds: Option[Seq[TagId]],
282                 maybeLabel: Option[String],
283                 maybeTagTypeId: Option[TagTypeId],
284                 maybeQuestionId: Option[QuestionId],
285                 questionEndAfter: Option[ZonedDateTime]
286               ) =>
287                 makeOAuth2 { userAuth: AuthInfo[UserRights] =>
288                   requireModerationRole(userAuth.user) {
289                     val futureQuestions =
290                       (maybeQuestionId, questionEndAfter) match {
291                         case (None, None) => Future.successful(Option.empty[Seq[OperationOfQuestion]])
292                         case _ =>
293                           operationOfQuestionService
294                             .find(
295                               offset = Pagination.Offset.zero,
296                               end = None,
297                               sort = None,
298                               order = None,
299                               SearchOperationsOfQuestions(
300                                 questionIds = maybeQuestionId.map(Seq(_)),
301                                 endAfter = questionEndAfter
302                               )
303                             )
304                             .map(Option(_))
305                       }
306                     futureQuestions.asDirective
307                       .flatMap(questions => {
308                         val filter = TagFilter(
309                           tagIds = tagIds,
310                           label = maybeLabel,
311                           tagTypeId = maybeTagTypeId,
312                           questionIds = questions.map(_.map(_.questionId))
313                         )
314                         (
315                           tagService.count(filter).asDirective,
316                           tagService
317                             .find(offset = offset.orZero, end = end, sort = sort, order = order, tagFilter = filter)
318                             .asDirective
319                         ).mapN(
320                           (count, filteredTags) =>
321                             (StatusCodes.OK, List(`X-Total-Count`(count.toString)), filteredTags.map(TagResponse.apply))
322                         )
323                       })
324                       .apply(complete(_))
325                   }
326                 }
327             }
328           }
329         }
330       }
331     }
332 
333     override def moderationUpdateTag: Route = put {
334       path("moderation" / "tags" / moderationTagId) { tagId =>
335         makeOperation("ModerationUpdateTag") { requestContext =>
336           makeOAuth2 { auth: AuthInfo[UserRights] =>
337             requireAdminRole(auth.user) {
338               decodeRequest {
339                 entity(as[UpdateTagRequest]) { request: UpdateTagRequest =>
340                   (
341                     tagService
342                       .findByLabel(request.label, like = false)
343                       .asDirective,
344                     request.questionId
345                       .map(questionId => questionService.getQuestion(questionId))
346                       .getOrElse(Future.successful(None))
347                       .asDirectiveOrNotFound
348                   ).mapN({
349                       case (tagList, question) =>
350                         val duplicateLabel = tagList.find { tag =>
351                           tag.tagId != tagId && tag.questionId.isDefined && tag.questionId == request.questionId
352                         }
353                         Validation.validate(
354                           Validation.requireNotPresent(
355                             fieldName = "label",
356                             fieldValue = duplicateLabel,
357                             message = Some("Tag label already exist in this context. Duplicates are not allowed")
358                           )
359                         )
360                         tagService
361                           .updateTag(
362                             tagId = tagId,
363                             label = request.label,
364                             display = request.display,
365                             tagTypeId = request.tagTypeId,
366                             weight = request.weight,
367                             question = question,
368                             requestContext = requestContext
369                           )
370                           .asDirectiveOrNotFound
371                     })
372                     .flatten
373                     .apply(tag => complete(TagResponse(tag)))
374                 }
375               }
376             }
377           }
378         }
379       }
380     }
381   }
382 }
383 
384 final case class CreateTagRequest(
385   label: String,
386   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
387   tagTypeId: TagTypeId,
388   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555")
389   questionId: Option[QuestionId],
390   @(ApiModelProperty @field)(dataType = "string", allowableValues = TagDisplay.swaggerAllowableValues)
391   display: Option[TagDisplay],
392   @(ApiModelProperty @field)(dataType = "float") weight: Option[Float]
393 ) {
394 
395   questionId.getValidated("question", None, Some("question should not be empty")).throwIfInvalid()
396 }
397 
398 object CreateTagRequest {
399   implicit val decoder: Decoder[CreateTagRequest] = deriveDecoder[CreateTagRequest]
400 }
401 
402 final case class UpdateTagRequest(
403   label: String,
404   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
405   tagTypeId: TagTypeId,
406   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555")
407   questionId: Option[QuestionId],
408   @(ApiModelProperty @field)(dataType = "string", allowableValues = TagDisplay.swaggerAllowableValues)
409   display: TagDisplay,
410   weight: Float
411 ) {
412 
413   questionId.getValidated("question", None, Some("question should not be empty")).throwIfInvalid()
414 }
415 
416 object UpdateTagRequest {
417   implicit val decoder: Decoder[UpdateTagRequest] = deriveDecoder[UpdateTagRequest]
418 }
Line Stmt Id Pos Tree Symbol Tests Code
179 37361 6159 - 6175 Select org.make.api.tag.ModerationTagApi.moderationGetTag org.make.api.tag.moderationtagapitest ModerationTagApi.this.moderationGetTag
179 38710 6200 - 6218 Select org.make.api.tag.ModerationTagApi.moderationlistTags org.make.api.tag.moderationtagapitest ModerationTagApi.this.moderationlistTags
179 33816 6178 - 6197 Select org.make.api.tag.ModerationTagApi.moderationCreateTag org.make.api.tag.moderationtagapitest ModerationTagApi.this.moderationCreateTag
179 39800 6159 - 6240 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.tag.moderationtagapitest ModerationTagApi.this._enhanceRouteWithConcatenation(ModerationTagApi.this._enhanceRouteWithConcatenation(ModerationTagApi.this._enhanceRouteWithConcatenation(ModerationTagApi.this.moderationGetTag).~(ModerationTagApi.this.moderationCreateTag)).~(ModerationTagApi.this.moderationlistTags)).~(ModerationTagApi.this.moderationUpdateTag)
179 43894 6221 - 6240 Select org.make.api.tag.ModerationTagApi.moderationUpdateTag org.make.api.tag.moderationtagapitest ModerationTagApi.this.moderationUpdateTag
179 30553 6159 - 6218 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.tag.moderationtagapitest ModerationTagApi.this._enhanceRouteWithConcatenation(ModerationTagApi.this._enhanceRouteWithConcatenation(ModerationTagApi.this.moderationGetTag).~(ModerationTagApi.this.moderationCreateTag)).~(ModerationTagApi.this.moderationlistTags)
179 46561 6159 - 6197 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.tag.moderationtagapitest ModerationTagApi.this._enhanceRouteWithConcatenation(ModerationTagApi.this.moderationGetTag).~(ModerationTagApi.this.moderationCreateTag)
200 32195 6843 - 6850 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.Segment
200 45225 6861 - 6870 Apply org.make.core.tag.TagId.apply org.make.api.tag.moderationtagapitest org.make.core.tag.TagId.apply(id)
200 37116 6843 - 6871 Apply akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map org.make.api.tag.moderationtagapitest server.this.PathMatcher.PathMatcher1Ops[String](DefaultModerationTagApi.this.Segment).map[org.make.core.tag.TagId](((id: String) => org.make.core.tag.TagId.apply(id)))
203 31941 6924 - 7352 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.path[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.moderationTagId)(TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)])))(util.this.ApplyConverter.hac1[org.make.core.tag.TagId]).apply(((tagId: org.make.core.tag.TagId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationGetTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.getTag(tagId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))))))
203 33236 6924 - 6927 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.get
204 46037 6938 - 6983 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.path[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.moderationTagId)(TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)]))
204 36404 6938 - 7344 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.path[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.moderationTagId)(TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)])))(util.this.ApplyConverter.hac1[org.make.core.tag.TagId]).apply(((tagId: org.make.core.tag.TagId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationGetTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.getTag(tagId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))))))))))))
204 37157 6942 - 6942 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[org.make.core.tag.TagId]
204 31956 6943 - 6982 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.moderationTagId)(TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)])
204 38742 6958 - 6964 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this._segmentStringToPathMatcher("tags")
204 43643 6967 - 6982 Select org.make.api.tag.DefaultModerationTagApiComponent.DefaultModerationTagApi.moderationTagId org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.moderationTagId
204 40533 6965 - 6965 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.tag.moderationtagapitest TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)]
204 30586 6956 - 6956 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.tag.moderationtagapitest TupleOps.this.Join.join0P[Unit]
204 46325 6943 - 6955 Literal <nosymbol> org.make.api.tag.moderationtagapitest "moderation"
205 43680 7018 - 7018 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
205 44245 7005 - 7334 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationGetTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.getTag(tagId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))))))))))
205 31669 7005 - 7038 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation("ModerationGetTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3)
205 38499 7005 - 7005 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation$default$3
205 50183 7019 - 7037 Literal <nosymbol> org.make.api.tag.moderationtagapitest "ModerationGetTag"
205 47046 7005 - 7005 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation$default$2
206 32685 7058 - 7058 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
206 30839 7058 - 7322 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.getTag(tagId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))))))))
206 40283 7058 - 7068 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOAuth2
207 38734 7119 - 7308 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.getTag(tagId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))))))
207 46072 7141 - 7154 Select scalaoauth2.provider.AuthInfo.user userAuth.user
207 38212 7119 - 7155 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)
208 50986 7174 - 7198 Apply org.make.api.tag.TagService.getTag DefaultModerationTagApiComponent.this.tagService.getTag(tagId)
208 46837 7174 - 7292 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.getTag(tagId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))
208 46801 7174 - 7220 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.getTag(tagId)).asDirectiveOrNotFound
208 38696 7199 - 7199 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.tag.Tag]
209 45214 7268 - 7268 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))
209 32725 7268 - 7268 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])
209 31702 7257 - 7273 Apply org.make.api.tag.TagResponse.apply TagResponse.apply(tag)
209 44738 7268 - 7268 Select org.make.api.tag.TagResponse.encoder tag.this.TagResponse.encoder
209 38254 7257 - 7273 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))
209 50743 7248 - 7274 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))
209 40319 7268 - 7268 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]
218 45252 7406 - 7410 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.post
218 35101 7406 - 9303 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.path[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationRegisterTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.CreateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.CreateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.CreateTagRequest]).apply(((request: org.make.api.tag.CreateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } })))(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))))))))
219 50780 7439 - 7445 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this._segmentStringToPathMatcher("tags")
219 38485 7424 - 7445 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])
219 42686 7419 - 9297 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.path[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationRegisterTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.CreateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.CreateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.CreateTagRequest]).apply(((request: org.make.api.tag.CreateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } })))(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))))))))))))))
219 37404 7424 - 7436 Literal <nosymbol> org.make.api.tag.moderationtagapitest "moderation"
219 30878 7419 - 7446 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.path[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit]))
219 46875 7437 - 7437 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.tag.moderationtagapitest TupleOps.this.Join.join0P[Unit]
220 44691 7471 - 7494 Literal <nosymbol> org.make.api.tag.moderationtagapitest "ModerationRegisterTag"
220 31978 7457 - 7457 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation$default$3
220 36443 7457 - 7457 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation$default$2
220 38203 7470 - 7470 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
220 45009 7457 - 7495 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation("ModerationRegisterTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3)
220 50817 7457 - 9289 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationRegisterTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.CreateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.CreateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.CreateTagRequest]).apply(((request: org.make.api.tag.CreateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } })))(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))))))
221 37782 7513 - 9279 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.CreateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.CreateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.CreateTagRequest]).apply(((request: org.make.api.tag.CreateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } })))(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))))
221 47408 7513 - 7513 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
221 50212 7513 - 7523 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOAuth2
222 38524 7589 - 7602 Select scalaoauth2.provider.AuthInfo.user userAuth.user
222 45903 7572 - 9267 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.CreateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.CreateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.CreateTagRequest]).apply(((request: org.make.api.tag.CreateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } })))(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))
222 30636 7572 - 7603 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultModerationTagApiComponent.this.requireAdminRole(userAuth.user)
223 49454 7620 - 9253 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.CreateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.CreateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.CreateTagRequest]).apply(((request: org.make.api.tag.CreateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } })))(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))))))))
223 44729 7620 - 7633 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationTagApi.this.decodeRequest
224 51273 7652 - 7680 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationTagApi.this.entity[org.make.api.tag.CreateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder))))
224 35865 7661 - 7661 Select org.make.api.tag.CreateTagRequest.decoder tag.this.CreateTagRequest.decoder
224 43150 7658 - 7658 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.tag.CreateTagRequest]
224 36711 7652 - 9237 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.tag.CreateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.CreateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.CreateTagRequest]).apply(((request: org.make.api.tag.CreateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } })))(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))
224 33053 7661 - 7661 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)
224 45048 7661 - 7661 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder))
224 37963 7659 - 7679 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationTagApi.this.as[org.make.api.tag.CreateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.CreateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.CreateTagRequest](tag.this.CreateTagRequest.decoder)))
225 39022 7730 - 8023 Apply scala.Tuple2.apply scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)
226 39589 7775 - 7788 Select org.make.api.tag.CreateTagRequest.label request.label
226 44765 7752 - 7803 Apply org.make.api.tag.TagService.findByLabel DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)
226 36922 7752 - 7815 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective
226 31452 7797 - 7802 Literal <nosymbol> false
228 37999 7927 - 7957 Apply org.make.api.question.QuestionService.getQuestion DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)
228 32472 7902 - 7924 TypeApply scala.Option.empty scala.Option.empty[org.make.core.question.Question]
228 51307 7837 - 7958 Apply scala.Option.fold request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))
228 46115 7884 - 7925 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question])
229 42905 7837 - 8003 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound
230 42732 7730 - 9161 Apply cats.FlatMap.Ops.flatMap cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } }))
230 34618 8038 - 8038 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.tag.Tag]
230 31200 8024 - 8024 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
230 44528 8024 - 8024 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
230 36432 7730 - 8030 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.tupled cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
230 49432 8024 - 8024 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
232 42947 8132 - 8266 Apply scala.collection.IterableOnceOps.find tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId))))
233 38039 8206 - 8242 Apply java.lang.Object.== tag.questionId.==(request.questionId)
233 51066 8178 - 8242 Apply scala.Boolean.&& tag.questionId.isDefined.&&(tag.questionId.==(request.questionId))
233 44997 8224 - 8242 Select org.make.api.tag.CreateTagRequest.questionId request.questionId
235 50571 8289 - 8711 Apply org.make.core.Validation.validate org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None))
236 44563 8334 - 8603 Apply org.make.core.Validation.requireNotPresent org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))
237 38779 8402 - 8409 Literal <nosymbol> "label"
239 30624 8502 - 8577 Apply scala.Some.apply scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")
241 37187 8629 - 8687 Apply org.make.core.Validation.validateUserInput org.make.core.Validation.validateUserInput("label", request.label, scala.None)
241 49466 8667 - 8680 Select org.make.api.tag.CreateTagRequest.label request.label
241 36187 8658 - 8665 Literal <nosymbol> "label"
241 45039 8682 - 8686 Select scala.None scala.None
243 51022 8734 - 9140 Apply akka.http.scaladsl.server.directives.FutureDirectives.onSuccess DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag]))
244 46100 8789 - 8789 TypeApply akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef util.this.Tupler.forAnyRef[org.make.core.tag.Tag]
244 37222 8769 - 9116 ApplyToImplicitArgs akka.http.scaladsl.server.directives.OnSuccessMagnet.apply directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])
244 49220 8769 - 9116 Apply org.make.api.tag.TagService.createTag DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0))
245 42697 8825 - 8838 Select org.make.api.tag.CreateTagRequest.label request.label
246 39576 8878 - 8895 Select org.make.api.tag.CreateTagRequest.tagTypeId request.tagTypeId
248 43715 8980 - 9025 Apply scala.Option.getOrElse request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit)
248 30657 9006 - 9024 Select org.make.core.tag.TagDisplay.Inherit org.make.core.tag.TagDisplay.Inherit
249 36224 9062 - 9090 Apply scala.Option.getOrElse request.weight.getOrElse[Float](0.0)
252 31736 9178 - 9197 Select akka.http.scaladsl.model.StatusCodes.Created akka.http.scaladsl.model.StatusCodes.Created
252 31772 9169 - 9218 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))
252 50032 9198 - 9198 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
252 51055 9198 - 9198 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])
252 38285 9198 - 9198 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]
252 44278 7730 - 9219 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (Seq[org.make.core.tag.Tag], org.make.core.question.Question)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.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]))(((x$3: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(x$3)))).asDirectiveOrNotFound)).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.core.tag.Tag](((x0$1: (Seq[org.make.core.tag.Tag], org.make.core.question.Question)) => x0$1 match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.questionId.isDefined.&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")), org.make.core.Validation.validateUserInput("label", request.label, scala.None)); DefaultModerationTagApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.createTag(request.label, request.tagTypeId, question, request.display.getOrElse[org.make.core.tag.TagDisplay](org.make.core.tag.TagDisplay.Inherit), request.weight.getOrElse[Float](0.0)))(util.this.Tupler.forAnyRef[org.make.core.tag.Tag])) } })))(util.this.ApplyConverter.hac1[org.make.core.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))
252 44519 9201 - 9217 Apply org.make.api.tag.TagResponse.apply TagResponse.apply(tag)
252 43191 9198 - 9198 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))
252 35682 9178 - 9217 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.tag.TagResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))
252 36677 9178 - 9217 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.tag.TagResponse](TagResponse.apply(tag))
252 46139 9198 - 9198 Select org.make.api.tag.TagResponse.encoder tag.this.TagResponse.encoder
262 31536 9358 - 9361 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.get
262 35537 9358 - 12310 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.path[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationSearchTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])](DefaultModerationTagApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationTagApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationTagApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationTagApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationTagApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationTagApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationTagApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), technical.this.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultModerationTagApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("label").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.tag.TagTypeId](DefaultModerationTagApi.this._string2NR("tagTypeId").as[org.make.core.tag.TagTypeId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.tag.TagTypeId](DefaultModerationTagApiComponent.this.tagTypeIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationTagApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationTagApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationTagApi.this._string2NR("questionEndAfter").as[java.time.ZonedDateTime].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationTagApiComponent.this.zonedDateTimeFromStringUnmarshaller))))(util.this.ApplyConverter.hac9[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], tagIds: Option[Seq[org.make.core.tag.TagId]], maybeLabel: Option[String], maybeTagTypeId: Option[org.make.core.tag.TagTypeId], maybeQuestionId: Option[org.make.core.question.QuestionId], questionEndAfter: Option[java.time.ZonedDateTime]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply({ val futureQuestions: scala.concurrent.Future[Option[Seq[org.make.core.operation.OperationOfQuestion]]] = scala.Tuple2.apply[Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]](maybeQuestionId, questionEndAfter) match { case (_1: Option[org.make.core.question.QuestionId], _2: Option[java.time.ZonedDateTime]): (Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])(scala.None, scala.None) => scala.concurrent.Future.successful[Option[Seq[org.make.core.operation.OperationOfQuestion]]](scala.Option.empty[Seq[org.make.core.operation.OperationOfQuestion]]) case _ => DefaultModerationTagApiComponent.this.operationOfQuestionService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, { <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$5: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5))); <artifact> val x$2: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = questionEndAfter; <artifact> val x$3: Option[Seq[org.make.core.operation.OperationId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$2; <artifact> val x$4: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$3; <artifact> val x$5: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$4; <artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$6; org.make.api.operation.SearchOperationsOfQuestions.apply(x$1, x$3, x$4, x$5, x$2, x$6) }).map[Option[Seq[org.make.core.operation.OperationOfQuestion]]](((x$6: Seq[org.make.core.operation.OperationOfQuestion]) => scala.Option.apply[Seq[org.make.core.operation.OperationOfQuestion]](x$6)))(scala.concurrent.ExecutionContext.Implicits.global) }; server.this.Directive.addDirectiveApply[((akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]),)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Seq[org.make.core.operation.OperationOfQuestion]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((questions: Option[Seq[org.make.core.operation.OperationOfQuestion]]) => { val filter: org.make.api.tag.TagFilter = TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) })))(util.this.ApplyConverter.hac1[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])]).apply(((x$9: (akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]])))))) })))))))))
263 41637 9377 - 9398 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])
263 37537 9372 - 9399 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.path[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit]))
263 39340 9372 - 12302 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.path[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationSearchTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])](DefaultModerationTagApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationTagApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationTagApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationTagApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationTagApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationTagApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationTagApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), technical.this.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultModerationTagApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("label").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.tag.TagTypeId](DefaultModerationTagApi.this._string2NR("tagTypeId").as[org.make.core.tag.TagTypeId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.tag.TagTypeId](DefaultModerationTagApiComponent.this.tagTypeIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationTagApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationTagApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationTagApi.this._string2NR("questionEndAfter").as[java.time.ZonedDateTime].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationTagApiComponent.this.zonedDateTimeFromStringUnmarshaller))))(util.this.ApplyConverter.hac9[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], tagIds: Option[Seq[org.make.core.tag.TagId]], maybeLabel: Option[String], maybeTagTypeId: Option[org.make.core.tag.TagTypeId], maybeQuestionId: Option[org.make.core.question.QuestionId], questionEndAfter: Option[java.time.ZonedDateTime]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply({ val futureQuestions: scala.concurrent.Future[Option[Seq[org.make.core.operation.OperationOfQuestion]]] = scala.Tuple2.apply[Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]](maybeQuestionId, questionEndAfter) match { case (_1: Option[org.make.core.question.QuestionId], _2: Option[java.time.ZonedDateTime]): (Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])(scala.None, scala.None) => scala.concurrent.Future.successful[Option[Seq[org.make.core.operation.OperationOfQuestion]]](scala.Option.empty[Seq[org.make.core.operation.OperationOfQuestion]]) case _ => DefaultModerationTagApiComponent.this.operationOfQuestionService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, { <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$5: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5))); <artifact> val x$2: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = questionEndAfter; <artifact> val x$3: Option[Seq[org.make.core.operation.OperationId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$2; <artifact> val x$4: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$3; <artifact> val x$5: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$4; <artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$6; org.make.api.operation.SearchOperationsOfQuestions.apply(x$1, x$3, x$4, x$5, x$2, x$6) }).map[Option[Seq[org.make.core.operation.OperationOfQuestion]]](((x$6: Seq[org.make.core.operation.OperationOfQuestion]) => scala.Option.apply[Seq[org.make.core.operation.OperationOfQuestion]](x$6)))(scala.concurrent.ExecutionContext.Implicits.global) }; server.this.Directive.addDirectiveApply[((akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]),)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Seq[org.make.core.operation.OperationOfQuestion]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((questions: Option[Seq[org.make.core.operation.OperationOfQuestion]]) => { val filter: org.make.api.tag.TagFilter = TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) })))(util.this.ApplyConverter.hac1[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])]).apply(((x$9: (akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]])))))) }))))))))
263 36744 9392 - 9398 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this._segmentStringToPathMatcher("tags")
263 44315 9377 - 9389 Literal <nosymbol> org.make.api.tag.moderationtagapitest "moderation"
263 49210 9390 - 9390 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.tag.moderationtagapitest TupleOps.this.Join.join0P[Unit]
264 34861 9412 - 9412 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation$default$3
264 44075 9425 - 9425 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
264 50851 9426 - 9447 Literal <nosymbol> org.make.api.tag.moderationtagapitest "ModerationSearchTag"
264 42719 9412 - 9412 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation$default$2
264 31725 9412 - 9448 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation("ModerationSearchTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3)
264 47189 9412 - 12292 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationSearchTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])](DefaultModerationTagApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationTagApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationTagApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationTagApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationTagApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationTagApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationTagApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), technical.this.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultModerationTagApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("label").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.tag.TagTypeId](DefaultModerationTagApi.this._string2NR("tagTypeId").as[org.make.core.tag.TagTypeId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.tag.TagTypeId](DefaultModerationTagApiComponent.this.tagTypeIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationTagApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationTagApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationTagApi.this._string2NR("questionEndAfter").as[java.time.ZonedDateTime].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationTagApiComponent.this.zonedDateTimeFromStringUnmarshaller))))(util.this.ApplyConverter.hac9[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], tagIds: Option[Seq[org.make.core.tag.TagId]], maybeLabel: Option[String], maybeTagTypeId: Option[org.make.core.tag.TagTypeId], maybeQuestionId: Option[org.make.core.question.QuestionId], questionEndAfter: Option[java.time.ZonedDateTime]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply({ val futureQuestions: scala.concurrent.Future[Option[Seq[org.make.core.operation.OperationOfQuestion]]] = scala.Tuple2.apply[Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]](maybeQuestionId, questionEndAfter) match { case (_1: Option[org.make.core.question.QuestionId], _2: Option[java.time.ZonedDateTime]): (Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])(scala.None, scala.None) => scala.concurrent.Future.successful[Option[Seq[org.make.core.operation.OperationOfQuestion]]](scala.Option.empty[Seq[org.make.core.operation.OperationOfQuestion]]) case _ => DefaultModerationTagApiComponent.this.operationOfQuestionService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, { <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$5: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5))); <artifact> val x$2: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = questionEndAfter; <artifact> val x$3: Option[Seq[org.make.core.operation.OperationId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$2; <artifact> val x$4: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$3; <artifact> val x$5: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$4; <artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$6; org.make.api.operation.SearchOperationsOfQuestions.apply(x$1, x$3, x$4, x$5, x$2, x$6) }).map[Option[Seq[org.make.core.operation.OperationOfQuestion]]](((x$6: Seq[org.make.core.operation.OperationOfQuestion]) => scala.Option.apply[Seq[org.make.core.operation.OperationOfQuestion]](x$6)))(scala.concurrent.ExecutionContext.Implicits.global) }; server.this.Directive.addDirectiveApply[((akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]),)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Seq[org.make.core.operation.OperationOfQuestion]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((questions: Option[Seq[org.make.core.operation.OperationOfQuestion]]) => { val filter: org.make.api.tag.TagFilter = TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) })))(util.this.ApplyConverter.hac1[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])]).apply(((x$9: (akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]])))))) })))))))
265 36299 9478 - 9478 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac9 util.this.ApplyConverter.hac9[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]]
265 43859 9468 - 9834 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters DefaultModerationTagApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationTagApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationTagApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationTagApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationTagApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationTagApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationTagApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), technical.this.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultModerationTagApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("label").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.tag.TagTypeId](DefaultModerationTagApi.this._string2NR("tagTypeId").as[org.make.core.tag.TagTypeId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.tag.TagTypeId](DefaultModerationTagApiComponent.this.tagTypeIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationTagApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationTagApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationTagApi.this._string2NR("questionEndAfter").as[java.time.ZonedDateTime].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationTagApiComponent.this.zonedDateTimeFromStringUnmarshaller)))
266 50890 9494 - 9526 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationTagApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationTagApiComponent.this.startFromIntUnmarshaller))
266 41401 9525 - 9525 Select org.make.core.ParameterExtractors.startFromIntUnmarshaller DefaultModerationTagApiComponent.this.startFromIntUnmarshaller
266 36514 9494 - 9502 Literal <nosymbol> "_start"
266 38275 9525 - 9525 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationTagApiComponent.this.startFromIntUnmarshaller)
266 49246 9494 - 9526 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationTagApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
267 42484 9542 - 9548 Literal <nosymbol> "_end"
267 44801 9557 - 9557 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationTagApiComponent.this.endFromIntUnmarshaller)
267 48689 9557 - 9557 Select org.make.core.ParameterExtractors.endFromIntUnmarshaller DefaultModerationTagApiComponent.this.endFromIntUnmarshaller
267 36005 9542 - 9558 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationTagApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationTagApiComponent.this.endFromIntUnmarshaller))
267 34898 9542 - 9558 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationTagApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
268 49015 9574 - 9581 Literal <nosymbol> "_sort"
268 42198 9574 - 9583 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationTagApi.this._string2NR("_sort").?
268 38316 9582 - 9582 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
268 51343 9582 - 9582 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
268 42517 9574 - 9583 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
269 36467 9618 - 9618 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationTagApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
269 44837 9618 - 9618 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller DefaultModerationTagApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
269 34662 9599 - 9607 Literal <nosymbol> "_order"
269 48723 9599 - 9619 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationTagApi.this._string2NR("_order").as[org.make.core.Order].?
269 49049 9599 - 9619 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationTagApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationTagApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
270 38069 9635 - 9653 TypeApply org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId]
270 42982 9635 - 9653 ApplyToImplicitArgs org.make.api.technical.CsvReceptacle.paramSpec technical.this.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultModerationTagApiComponent.this.tagIdFromStringUnmarshaller)
270 41953 9635 - 9642 Literal <nosymbol> "tagId"
270 50841 9646 - 9646 Select org.make.core.ParameterExtractors.tagIdFromStringUnmarshaller DefaultModerationTagApiComponent.this.tagIdFromStringUnmarshaller
271 48760 9669 - 9678 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationTagApi.this._string2NR("label").?
271 36507 9677 - 9677 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
271 49495 9669 - 9678 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("label").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
271 35460 9669 - 9676 Literal <nosymbol> "label"
271 44593 9677 - 9677 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
272 34409 9694 - 9721 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationTagApi.this._string2NR("tagTypeId").as[org.make.core.tag.TagTypeId].?
272 50606 9720 - 9720 Select org.make.core.ParameterExtractors.tagTypeIdFromStringUnmarshaller DefaultModerationTagApiComponent.this.tagTypeIdFromStringUnmarshaller
272 41995 9694 - 9705 Literal <nosymbol> "tagTypeId"
272 43018 9720 - 9720 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.tag.TagTypeId](DefaultModerationTagApiComponent.this.tagTypeIdFromStringUnmarshaller)
272 34619 9694 - 9721 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.tag.TagTypeId](DefaultModerationTagApi.this._string2NR("tagTypeId").as[org.make.core.tag.TagTypeId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.tag.TagTypeId](DefaultModerationTagApiComponent.this.tagTypeIdFromStringUnmarshaller))
273 36260 9765 - 9765 Select org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller DefaultModerationTagApiComponent.this.questionIdFromStringUnmarshaller
273 48521 9737 - 9749 Literal <nosymbol> "questionId"
273 49005 9765 - 9765 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationTagApiComponent.this.questionIdFromStringUnmarshaller)
273 44103 9737 - 9766 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationTagApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?
273 41423 9737 - 9766 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationTagApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationTagApiComponent.this.questionIdFromStringUnmarshaller))
274 34651 9819 - 9819 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationTagApiComponent.this.zonedDateTimeFromStringUnmarshaller)
274 47959 9782 - 9820 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationTagApi.this._string2NR("questionEndAfter").as[java.time.ZonedDateTime].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationTagApiComponent.this.zonedDateTimeFromStringUnmarshaller))
274 34171 9782 - 9800 Literal <nosymbol> "questionEndAfter"
274 42766 9819 - 9819 Select org.make.core.ParameterExtractors.zonedDateTimeFromStringUnmarshaller DefaultModerationTagApiComponent.this.zonedDateTimeFromStringUnmarshaller
274 50640 9782 - 9820 Select akka.http.scaladsl.common.NameReceptacle.? DefaultModerationTagApi.this._string2NR("questionEndAfter").as[java.time.ZonedDateTime].?
275 33124 9468 - 12280 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])](DefaultModerationTagApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationTagApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationTagApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationTagApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationTagApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationTagApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationTagApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), technical.this.CsvReceptacle.paramSpec[org.make.core.tag.TagId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("tagId").csv[org.make.core.tag.TagId])(DefaultModerationTagApiComponent.this.tagIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationTagApi.this._string2NR("label").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.tag.TagTypeId](DefaultModerationTagApi.this._string2NR("tagTypeId").as[org.make.core.tag.TagTypeId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.tag.TagTypeId](DefaultModerationTagApiComponent.this.tagTypeIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationTagApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationTagApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[java.time.ZonedDateTime](DefaultModerationTagApi.this._string2NR("questionEndAfter").as[java.time.ZonedDateTime].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, java.time.ZonedDateTime](DefaultModerationTagApiComponent.this.zonedDateTimeFromStringUnmarshaller))))(util.this.ApplyConverter.hac9[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.tag.TagId]], Option[String], Option[org.make.core.tag.TagTypeId], Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], tagIds: Option[Seq[org.make.core.tag.TagId]], maybeLabel: Option[String], maybeTagTypeId: Option[org.make.core.tag.TagTypeId], maybeQuestionId: Option[org.make.core.question.QuestionId], questionEndAfter: Option[java.time.ZonedDateTime]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply({ val futureQuestions: scala.concurrent.Future[Option[Seq[org.make.core.operation.OperationOfQuestion]]] = scala.Tuple2.apply[Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]](maybeQuestionId, questionEndAfter) match { case (_1: Option[org.make.core.question.QuestionId], _2: Option[java.time.ZonedDateTime]): (Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])(scala.None, scala.None) => scala.concurrent.Future.successful[Option[Seq[org.make.core.operation.OperationOfQuestion]]](scala.Option.empty[Seq[org.make.core.operation.OperationOfQuestion]]) case _ => DefaultModerationTagApiComponent.this.operationOfQuestionService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, { <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$5: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5))); <artifact> val x$2: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = questionEndAfter; <artifact> val x$3: Option[Seq[org.make.core.operation.OperationId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$2; <artifact> val x$4: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$3; <artifact> val x$5: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$4; <artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$6; org.make.api.operation.SearchOperationsOfQuestions.apply(x$1, x$3, x$4, x$5, x$2, x$6) }).map[Option[Seq[org.make.core.operation.OperationOfQuestion]]](((x$6: Seq[org.make.core.operation.OperationOfQuestion]) => scala.Option.apply[Seq[org.make.core.operation.OperationOfQuestion]](x$6)))(scala.concurrent.ExecutionContext.Implicits.global) }; server.this.Directive.addDirectiveApply[((akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]),)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Seq[org.make.core.operation.OperationOfQuestion]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((questions: Option[Seq[org.make.core.operation.OperationOfQuestion]]) => { val filter: org.make.api.tag.TagFilter = TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) })))(util.this.ApplyConverter.hac1[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])]).apply(((x$9: (akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]])))))) })))))
287 49038 10308 - 10318 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultModerationTagApiComponent.this.makeOAuth2
287 41188 10308 - 10308 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
287 41010 10308 - 12266 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply({ val futureQuestions: scala.concurrent.Future[Option[Seq[org.make.core.operation.OperationOfQuestion]]] = scala.Tuple2.apply[Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]](maybeQuestionId, questionEndAfter) match { case (_1: Option[org.make.core.question.QuestionId], _2: Option[java.time.ZonedDateTime]): (Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])(scala.None, scala.None) => scala.concurrent.Future.successful[Option[Seq[org.make.core.operation.OperationOfQuestion]]](scala.Option.empty[Seq[org.make.core.operation.OperationOfQuestion]]) case _ => DefaultModerationTagApiComponent.this.operationOfQuestionService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, { <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$5: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5))); <artifact> val x$2: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = questionEndAfter; <artifact> val x$3: Option[Seq[org.make.core.operation.OperationId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$2; <artifact> val x$4: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$3; <artifact> val x$5: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$4; <artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$6; org.make.api.operation.SearchOperationsOfQuestions.apply(x$1, x$3, x$4, x$5, x$2, x$6) }).map[Option[Seq[org.make.core.operation.OperationOfQuestion]]](((x$6: Seq[org.make.core.operation.OperationOfQuestion]) => scala.Option.apply[Seq[org.make.core.operation.OperationOfQuestion]](x$6)))(scala.concurrent.ExecutionContext.Implicits.global) }; server.this.Directive.addDirectiveApply[((akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]),)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Seq[org.make.core.operation.OperationOfQuestion]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((questions: Option[Seq[org.make.core.operation.OperationOfQuestion]]) => { val filter: org.make.api.tag.TagFilter = TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) })))(util.this.ApplyConverter.hac1[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])]).apply(((x$9: (akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]])))))) })))
288 50394 10373 - 10409 Apply org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)
288 49885 10373 - 12248 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireModerationRole(userAuth.user)).apply({ val futureQuestions: scala.concurrent.Future[Option[Seq[org.make.core.operation.OperationOfQuestion]]] = scala.Tuple2.apply[Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime]](maybeQuestionId, questionEndAfter) match { case (_1: Option[org.make.core.question.QuestionId], _2: Option[java.time.ZonedDateTime]): (Option[org.make.core.question.QuestionId], Option[java.time.ZonedDateTime])(scala.None, scala.None) => scala.concurrent.Future.successful[Option[Seq[org.make.core.operation.OperationOfQuestion]]](scala.Option.empty[Seq[org.make.core.operation.OperationOfQuestion]]) case _ => DefaultModerationTagApiComponent.this.operationOfQuestionService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, { <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$5: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5))); <artifact> val x$2: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = questionEndAfter; <artifact> val x$3: Option[Seq[org.make.core.operation.OperationId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$2; <artifact> val x$4: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$3; <artifact> val x$5: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$4; <artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$6; org.make.api.operation.SearchOperationsOfQuestions.apply(x$1, x$3, x$4, x$5, x$2, x$6) }).map[Option[Seq[org.make.core.operation.OperationOfQuestion]]](((x$6: Seq[org.make.core.operation.OperationOfQuestion]) => scala.Option.apply[Seq[org.make.core.operation.OperationOfQuestion]](x$6)))(scala.concurrent.ExecutionContext.Implicits.global) }; server.this.Directive.addDirectiveApply[((akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]),)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Seq[org.make.core.operation.OperationOfQuestion]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((questions: Option[Seq[org.make.core.operation.OperationOfQuestion]]) => { val filter: org.make.api.tag.TagFilter = TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) })))(util.this.ApplyConverter.hac1[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])]).apply(((x$9: (akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]])))))) })
288 34365 10395 - 10408 Select scalaoauth2.provider.AuthInfo.user userAuth.user
291 42803 10583 - 10621 TypeApply scala.Option.empty scala.Option.empty[Seq[org.make.core.operation.OperationOfQuestion]]
291 34688 10565 - 10622 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[Option[Seq[org.make.core.operation.OperationOfQuestion]]](scala.Option.empty[Seq[org.make.core.operation.OperationOfQuestion]])
295 47708 10784 - 10806 Select org.make.core.technical.Pagination.Offset.zero org.make.core.technical.Pagination.Offset.zero
296 40895 10844 - 10848 Select scala.None scala.None
297 36745 10887 - 10891 Select scala.None scala.None
298 48806 10931 - 10935 Select scala.None scala.None
299 34451 10967 - 10967 Select org.make.api.operation.SearchOperationsOfQuestions.apply$default$4 org.make.api.operation.SearchOperationsOfQuestions.apply$default$4
299 40647 10967 - 11162 Apply org.make.api.operation.SearchOperationsOfQuestions.apply org.make.api.operation.SearchOperationsOfQuestions.apply(x$1, x$3, x$4, x$5, x$2, x$6)
299 51125 10967 - 10967 Select org.make.api.operation.SearchOperationsOfQuestions.apply$default$2 org.make.api.operation.SearchOperationsOfQuestions.apply$default$2
299 43011 10967 - 10967 Select org.make.api.operation.SearchOperationsOfQuestions.apply$default$3 org.make.api.operation.SearchOperationsOfQuestions.apply$default$3
299 48511 10967 - 10967 Select org.make.api.operation.SearchOperationsOfQuestions.apply$default$6 org.make.api.operation.SearchOperationsOfQuestions.apply$default$6
300 41219 11062 - 11068 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5)
300 34126 11042 - 11069 Apply scala.Option.map maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$5: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5)))
304 36778 11226 - 11235 Apply scala.Option.apply scala.Option.apply[Seq[org.make.core.operation.OperationOfQuestion]](x$6)
304 49523 11225 - 11225 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
304 40981 10683 - 11236 ApplyToImplicitArgs scala.concurrent.Future.map DefaultModerationTagApiComponent.this.operationOfQuestionService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, { <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$5: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5))); <artifact> val x$2: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = questionEndAfter; <artifact> val x$3: Option[Seq[org.make.core.operation.OperationId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$2; <artifact> val x$4: Option[Seq[org.make.core.operation.OperationKind]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$3; <artifact> val x$5: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$4; <artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.operation.SearchOperationsOfQuestions.apply$default$6; org.make.api.operation.SearchOperationsOfQuestions.apply(x$1, x$3, x$4, x$5, x$2, x$6) }).map[Option[Seq[org.make.core.operation.OperationOfQuestion]]](((x$6: Seq[org.make.core.operation.OperationOfQuestion]) => scala.Option.apply[Seq[org.make.core.operation.OperationOfQuestion]](x$6)))(scala.concurrent.ExecutionContext.Implicits.global)
306 34160 11281 - 11308 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective
306 47163 11297 - 11297 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
307 49084 11339 - 11339 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])]
307 32333 11281 - 12186 Apply cats.FlatMap.Ops.flatMap cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Seq[org.make.core.operation.OperationOfQuestion]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((questions: Option[Seq[org.make.core.operation.OperationOfQuestion]]) => { val filter: org.make.api.tag.TagFilter = TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))
308 40684 11392 - 11646 Apply org.make.api.tag.TagFilter.apply TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId)))))
312 42753 11606 - 11618 Select org.make.core.operation.OperationOfQuestion.questionId x$8.questionId
312 48276 11586 - 11620 Apply scala.Option.map questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))
312 35177 11600 - 11619 Apply scala.collection.IterableOps.map x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))
314 47700 11671 - 11957 Apply scala.Tuple2.apply scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)
315 49280 11699 - 11735 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective
315 36288 11699 - 11723 Apply org.make.api.tag.TagService.count DefaultModerationTagApiComponent.this.tagService.count(filter)
316 41178 11763 - 11773 Select org.make.api.tag.TagServiceComponent.tagService DefaultModerationTagApiComponent.this.tagService
317 33919 11817 - 11830 Select org.make.core.technical.Pagination.RichOptionOffset.orZero org.make.core.technical.Pagination.RichOptionOffset(offset).orZero
317 42792 11763 - 11890 Apply org.make.api.tag.TagService.find qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11)
317 47199 11803 - 11803 Select org.make.api.tag.TagService.find$default$5 qual$1.find$default$5
318 34928 11763 - 11931 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective
319 34439 11962 - 11962 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
319 48762 11962 - 11962 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
319 39877 11671 - 12161 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.mapN cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
321 42236 12060 - 12097 Apply scala.collection.IterableFactory.apply scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString()))
321 36036 12081 - 12095 Apply scala.Any.toString count.toString()
321 46703 12099 - 12134 Apply scala.collection.IterableOps.map filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag)))
321 33338 12116 - 12133 Apply org.make.api.tag.TagResponse.apply TagResponse.apply(tag)
321 49316 12065 - 12096 Apply akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply org.make.api.technical.X-Total-Count.apply(count.toString())
321 42548 12043 - 12135 Apply scala.Tuple3.apply scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))
321 40720 12044 - 12058 Select akka.http.scaladsl.model.StatusCodes.OK akka.http.scaladsl.model.StatusCodes.OK
324 35498 12225 - 12225 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]]))
324 47493 12225 - 12226 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]])))
324 42591 12225 - 12225 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]])
324 40970 12225 - 12225 Select org.make.api.tag.TagResponse.encoder tag.this.TagResponse.encoder
324 40671 12216 - 12227 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]]))))
324 32793 11281 - 12228 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[((akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]),)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Option[Seq[org.make.core.operation.OperationOfQuestion]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[Seq[org.make.core.operation.OperationOfQuestion]]](futureQuestions).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((questions: Option[Seq[org.make.core.operation.OperationOfQuestion]]) => { val filter: org.make.api.tag.TagFilter = TagFilter.apply(tagIds, maybeLabel, maybeTagTypeId, questions.map[Seq[org.make.core.question.QuestionId]](((x$7: Seq[org.make.core.operation.OperationOfQuestion]) => x$7.map[org.make.core.question.QuestionId](((x$8: org.make.core.operation.OperationOfQuestion) => x$8.questionId))))); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.tag.Tag]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultModerationTagApiComponent.this.tagService.count(filter)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]]({ <artifact> val qual$1: org.make.api.tag.TagService = DefaultModerationTagApiComponent.this.tagService; <artifact> val x$7: org.make.core.technical.Pagination.Offset = org.make.core.technical.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$8: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$10: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$11: org.make.api.tag.TagFilter = filter; <artifact> val x$12: Boolean = qual$1.find$default$5; qual$1.find(x$7, x$8, x$9, x$10, x$12, x$11) }).asDirective)).mapN[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](((count: Int, filteredTags: Seq[org.make.core.tag.Tag]) => scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), filteredTags.map[org.make.api.tag.TagResponse](((tag: org.make.core.tag.Tag) => TagResponse.apply(tag))))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) })))(util.this.ApplyConverter.hac1[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])]).apply(((x$9: (akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.tag.TagResponse])](x$9)(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.tag.TagResponse]](DefaultModerationTagApiComponent.this.marshaller[Seq[org.make.api.tag.TagResponse]](circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder), DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]]))))))
324 47153 12225 - 12225 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationTagApiComponent.this.marshaller$default$2[Seq[org.make.api.tag.TagResponse]]
324 33375 12225 - 12225 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder)
333 30518 12364 - 14449 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.path[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.moderationTagId)(TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)])))(util.this.ApplyConverter.hac1[org.make.core.tag.TagId]).apply(((tagId: org.make.core.tag.TagId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationUpdateTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.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],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.UpdateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.UpdateTagRequest]).apply(((request: org.make.api.tag.UpdateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))))))))))))))))
333 47528 12364 - 12367 Select akka.http.scaladsl.server.directives.MethodDirectives.put org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.put
334 33946 12403 - 12403 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.tag.moderationtagapitest TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)]
334 49039 12394 - 12394 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.tag.moderationtagapitest TupleOps.this.Join.join0P[Unit]
334 46940 12381 - 12420 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.moderationTagId)(TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)])
334 39373 12376 - 12421 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.path[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.moderationTagId)(TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)]))
334 32832 12396 - 12402 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this._segmentStringToPathMatcher("tags")
334 38954 12376 - 14443 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.path[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationTagApi.this._segmentStringToPathMatcher("tags"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.tag.TagId,)](DefaultModerationTagApi.this.moderationTagId)(TupleOps.this.Join.join0P[(org.make.core.tag.TagId,)])))(util.this.ApplyConverter.hac1[org.make.core.tag.TagId]).apply(((tagId: org.make.core.tag.TagId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationUpdateTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.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],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.UpdateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.UpdateTagRequest]).apply(((request: org.make.api.tag.UpdateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))))))))
334 40428 12381 - 12393 Literal <nosymbol> org.make.api.tag.moderationtagapitest "moderation"
334 42070 12405 - 12420 Select org.make.api.tag.DefaultModerationTagApiComponent.DefaultModerationTagApi.moderationTagId org.make.api.tag.moderationtagapitest DefaultModerationTagApi.this.moderationTagId
334 34963 12380 - 12380 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[org.make.core.tag.TagId]
335 41497 12454 - 12454 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
335 48594 12455 - 12476 Literal <nosymbol> org.make.api.tag.moderationtagapitest "ModerationUpdateTag"
335 49071 12441 - 12477 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation("ModerationUpdateTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.this.makeOperation$default$3)
335 32581 12441 - 12441 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation$default$3
335 40464 12441 - 12441 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOperation$default$2
335 46531 12441 - 14435 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationTagApiComponent.this.makeOperation("ModerationUpdateTag", DefaultModerationTagApiComponent.this.makeOperation$default$2, DefaultModerationTagApiComponent.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],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.UpdateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.UpdateTagRequest]).apply(((request: org.make.api.tag.UpdateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))))))
336 34221 12508 - 14425 Apply scala.Function1.apply org.make.api.tag.moderationtagapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationTagApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.UpdateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.UpdateTagRequest]).apply(((request: org.make.api.tag.UpdateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))))
336 33701 12508 - 12518 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.tag.moderationtagapitest DefaultModerationTagApiComponent.this.makeOAuth2
336 46976 12508 - 12508 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.tag.moderationtagapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
337 37327 12563 - 14413 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationTagApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.UpdateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.UpdateTagRequest]).apply(((request: org.make.api.tag.UpdateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))))
337 38592 12580 - 12589 Select scalaoauth2.provider.AuthInfo.user auth.user
337 34719 12563 - 12590 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultModerationTagApiComponent.this.requireAdminRole(auth.user)
338 47482 12607 - 12620 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultModerationTagApi.this.decodeRequest
338 44895 12607 - 14399 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultModerationTagApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.tag.UpdateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.UpdateTagRequest]).apply(((request: org.make.api.tag.UpdateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))))))))
339 40223 12648 - 12648 Select org.make.api.tag.UpdateTagRequest.decoder tag.this.UpdateTagRequest.decoder
339 32402 12639 - 14383 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.tag.UpdateTagRequest,)](DefaultModerationTagApi.this.entity[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.tag.UpdateTagRequest]).apply(((request: org.make.api.tag.UpdateTagRequest) => server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))))
339 45402 12648 - 12648 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder))
339 33119 12639 - 12667 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultModerationTagApi.this.entity[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder))))
339 32616 12648 - 12648 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)
339 46740 12645 - 12645 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.tag.UpdateTagRequest]
339 41252 12646 - 12666 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultModerationTagApi.this.as[org.make.api.tag.UpdateTagRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.tag.UpdateTagRequest](DefaultModerationTagApiComponent.this.unmarshaller[org.make.api.tag.UpdateTagRequest](tag.this.UpdateTagRequest.decoder)))
340 38666 12717 - 13093 Apply scala.Tuple2.apply scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)
342 48549 12739 - 12813 Apply org.make.api.tag.TagService.findByLabel DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)
342 34759 12807 - 12812 Literal <nosymbol> false
342 38628 12785 - 12798 Select org.make.api.tag.UpdateTagRequest.label request.label
343 39657 12739 - 12848 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective
345 32121 12930 - 12969 Apply org.make.api.question.QuestionService.getQuestion DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId)
346 45148 13022 - 13026 Select scala.None scala.None
346 42056 13004 - 13027 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[None.type](scala.None)
346 34193 12870 - 13028 Apply scala.Option.getOrElse request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))
347 46175 12870 - 13073 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound
348 39155 12717 - 14274 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.mapN cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
348 34268 13098 - 13098 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
348 46730 13098 - 13098 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
348 30724 13098 - 13098 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
350 45187 13196 - 13356 Apply scala.collection.IterableOnceOps.find tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId))))
351 32570 13244 - 13330 Apply scala.Boolean.&& tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId))
351 48581 13312 - 13330 Select org.make.api.tag.UpdateTagRequest.questionId request.questionId
351 40721 13294 - 13330 Apply java.lang.Object.== tag.questionId.==(request.questionId)
351 34515 13266 - 13290 Select scala.Option.isDefined tag.questionId.isDefined
353 39124 13381 - 13731 Apply org.make.core.Validation.validate org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")))
354 46964 13428 - 13705 Apply org.make.core.Validation.requireNotPresent org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))
355 41812 13498 - 13505 Literal <nosymbol> "label"
357 34232 13602 - 13677 Apply scala.Some.apply scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed")
361 45652 13756 - 14202 Apply org.make.api.tag.TagService.updateTag DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)
363 31594 13884 - 13897 Select org.make.api.tag.UpdateTagRequest.label request.label
364 48346 13937 - 13952 Select org.make.api.tag.UpdateTagRequest.display request.display
365 40758 13994 - 14011 Select org.make.api.tag.UpdateTagRequest.tagTypeId request.tagTypeId
366 32605 14050 - 14064 Select org.make.api.tag.UpdateTagRequest.weight request.weight
370 41849 13756 - 14251 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound
372 40243 12717 - 14303 ApplyToImplicitArgs cats.syntax.FlattenOps.flatten cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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)
372 32365 14296 - 14296 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.tag.Tag]
372 48379 14296 - 14296 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
373 37292 14358 - 14358 Select org.make.api.tag.TagResponse.encoder tag.this.TagResponse.encoder
373 47816 14338 - 14364 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))
373 30761 14347 - 14363 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])))
373 38919 14358 - 14358 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))
373 40007 12717 - 14365 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.tag.Tag,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.tag.Tag](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.tag.Tag], org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.tag.Tag]], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.tag.Tag]](DefaultModerationTagApiComponent.this.tagService.findByLabel(request.label, false)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationTagApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.tag.Tag]](((x0$1: Seq[org.make.core.tag.Tag], x1$1: org.make.core.question.Question) => scala.Tuple2.apply[Seq[org.make.core.tag.Tag], org.make.core.question.Question](x0$1, x1$1) match { case (_1: Seq[org.make.core.tag.Tag], _2: org.make.core.question.Question): (Seq[org.make.core.tag.Tag], org.make.core.question.Question)((tagList @ _), (question @ _)) => { val duplicateLabel: Option[org.make.core.tag.Tag] = tagList.find(((tag: org.make.core.tag.Tag) => tag.tagId.!=(tagId).&&(tag.questionId.isDefined).&&(tag.questionId.==(request.questionId)))); org.make.core.Validation.validate(org.make.core.Validation.requireNotPresent("label", duplicateLabel, scala.Some.apply[String]("Tag label already exist in this context. Duplicates are not allowed"))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.tag.Tag](DefaultModerationTagApiComponent.this.tagService.updateTag(tagId, request.label, request.display, request.tagTypeId, request.weight, question, requestContext)).asDirectiveOrNotFound } }))(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.tag.Tag]).apply(((tag: org.make.core.tag.Tag) => DefaultModerationTagApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.tag.TagResponse](TagResponse.apply(tag))(marshalling.this.Marshaller.liftMarshaller[org.make.api.tag.TagResponse](DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]))))))
373 34028 14358 - 14358 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse]
373 46762 14358 - 14358 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultModerationTagApiComponent.this.marshaller[org.make.api.tag.TagResponse](tag.this.TagResponse.encoder, DefaultModerationTagApiComponent.this.marshaller$default$2[org.make.api.tag.TagResponse])
373 45693 14347 - 14363 Apply org.make.api.tag.TagResponse.apply TagResponse.apply(tag)
395 47563 14996 - 15092 Apply org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](CreateTagRequest.this.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid()
399 40749 15174 - 15205 ApplyToImplicitArgs io.circe.generic.semiauto.deriveDecoder io.circe.generic.semiauto.deriveDecoder[org.make.api.tag.CreateTagRequest]({ val inst$macro$24: io.circe.generic.decoding.DerivedDecoder[org.make.api.tag.CreateTagRequest] = { final class anon$lazy$macro$23 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$23 = { anon$lazy$macro$23.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.tag.CreateTagRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.tag.CreateTagRequest, shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.tag.CreateTagRequest, (Symbol @@ String("label")) :: (Symbol @@ String("tagTypeId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil, String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.tag.CreateTagRequest, (Symbol @@ String("label")) :: (Symbol @@ String("tagTypeId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil](::.apply[Symbol @@ String("label"), (Symbol @@ String("tagTypeId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil.type](scala.Symbol.apply("label").asInstanceOf[Symbol @@ String("label")], ::.apply[Symbol @@ String("tagTypeId"), (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil.type](scala.Symbol.apply("tagTypeId").asInstanceOf[Symbol @@ String("tagTypeId")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("display"), (Symbol @@ String("weight")) :: shapeless.HNil.type](scala.Symbol.apply("display").asInstanceOf[Symbol @@ String("display")], ::.apply[Symbol @@ String("weight"), shapeless.HNil.type](scala.Symbol.apply("weight").asInstanceOf[Symbol @@ String("weight")], HNil)))))), Generic.instance[org.make.api.tag.CreateTagRequest, String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil](((x0$3: org.make.api.tag.CreateTagRequest) => x0$3 match { case (label: String, tagTypeId: org.make.core.tag.TagTypeId, questionId: Option[org.make.core.question.QuestionId], display: Option[org.make.core.tag.TagDisplay], weight: Option[Float]): org.make.api.tag.CreateTagRequest((label$macro$17 @ _), (tagTypeId$macro$18 @ _), (questionId$macro$19 @ _), (display$macro$20 @ _), (weight$macro$21 @ _)) => ::.apply[String, org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil.type](label$macro$17, ::.apply[org.make.core.tag.TagTypeId, Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil.type](tagTypeId$macro$18, ::.apply[Option[org.make.core.question.QuestionId], Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil.type](questionId$macro$19, ::.apply[Option[org.make.core.tag.TagDisplay], Option[Float] :: shapeless.HNil.type](display$macro$20, ::.apply[Option[Float], shapeless.HNil.type](weight$macro$21, HNil))))).asInstanceOf[String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil] }), ((x0$4: String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil) => x0$4 match { case (head: String, tail: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil): String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil((label$macro$12 @ _), (head: org.make.core.tag.TagTypeId, tail: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil): org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil((tagTypeId$macro$13 @ _), (head: Option[org.make.core.question.QuestionId], tail: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil): Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil((questionId$macro$14 @ _), (head: Option[org.make.core.tag.TagDisplay], tail: Option[Float] :: shapeless.HNil): Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil((display$macro$15 @ _), (head: Option[Float], tail: shapeless.HNil): Option[Float] :: shapeless.HNil((weight$macro$16 @ _), HNil))))) => tag.this.CreateTagRequest.apply(label$macro$12, tagTypeId$macro$13, questionId$macro$14, display$macro$15, weight$macro$16) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("label"), String, (Symbol @@ String("tagTypeId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil, org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("tagTypeId"), org.make.core.tag.TagTypeId, (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil, Option[org.make.core.question.QuestionId] :: Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil, Option[org.make.core.tag.TagDisplay] :: Option[Float] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("display"), Option[org.make.core.tag.TagDisplay], (Symbol @@ String("weight")) :: shapeless.HNil, Option[Float] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("weight"), Option[Float], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("weight")]](scala.Symbol.apply("weight").asInstanceOf[Symbol @@ String("weight")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("weight")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("display")]](scala.Symbol.apply("display").asInstanceOf[Symbol @@ String("display")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("display")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("tagTypeId")]](scala.Symbol.apply("tagTypeId").asInstanceOf[Symbol @@ String("tagTypeId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("tagTypeId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("label")]](scala.Symbol.apply("label").asInstanceOf[Symbol @@ String("label")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("label")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.tag.CreateTagRequest]]; <stable> <accessor> lazy val inst$macro$22: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForlabel: io.circe.Decoder[String] = circe.this.Decoder.decodeString; private[this] val circeGenericDecoderFortagTypeId: io.circe.Decoder[org.make.core.tag.TagTypeId] = tag.this.TagTypeId.tagIdDecoder; private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[Option[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeOption[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder); private[this] val circeGenericDecoderFordisplay: io.circe.Decoder[Option[org.make.core.tag.TagDisplay]] = circe.this.Decoder.decodeOption[org.make.core.tag.TagDisplay](tag.this.TagDisplay.decoder(circe.this.Decoder.decodeString)); private[this] val circeGenericDecoderForweight: io.circe.Decoder[Option[Float]] = circe.this.Decoder.decodeOption[Float](circe.this.Decoder.decodeFloat); final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("label"), String, shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlabel.tryDecode(c.downField("label")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("tagTypeId"), org.make.core.tag.TagTypeId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortagTypeId.tryDecode(c.downField("tagTypeId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("display"), Option[org.make.core.tag.TagDisplay], shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFordisplay.tryDecode(c.downField("display")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("weight"), Option[Float], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForweight.tryDecode(c.downField("weight")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("label"), String, shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlabel.tryDecodeAccumulating(c.downField("label")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("tagTypeId"), org.make.core.tag.TagTypeId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortagTypeId.tryDecodeAccumulating(c.downField("tagTypeId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("display"), Option[org.make.core.tag.TagDisplay], shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFordisplay.tryDecodeAccumulating(c.downField("display")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("weight"), Option[Float], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForweight.tryDecodeAccumulating(c.downField("weight")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),Option[org.make.core.tag.TagDisplay]] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Option[Float]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$23().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.tag.CreateTagRequest]](inst$macro$24) })
413 32168 15685 - 15781 Apply org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](UpdateTagRequest.this.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid()
417 44929 15863 - 15894 ApplyToImplicitArgs io.circe.generic.semiauto.deriveDecoder io.circe.generic.semiauto.deriveDecoder[org.make.api.tag.UpdateTagRequest]({ val inst$macro$24: io.circe.generic.decoding.DerivedDecoder[org.make.api.tag.UpdateTagRequest] = { final class anon$lazy$macro$23 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$23 = { anon$lazy$macro$23.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.tag.UpdateTagRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.tag.UpdateTagRequest, shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.tag.UpdateTagRequest, (Symbol @@ String("label")) :: (Symbol @@ String("tagTypeId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil, String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.tag.UpdateTagRequest, (Symbol @@ String("label")) :: (Symbol @@ String("tagTypeId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil](::.apply[Symbol @@ String("label"), (Symbol @@ String("tagTypeId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil.type](scala.Symbol.apply("label").asInstanceOf[Symbol @@ String("label")], ::.apply[Symbol @@ String("tagTypeId"), (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil.type](scala.Symbol.apply("tagTypeId").asInstanceOf[Symbol @@ String("tagTypeId")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("display"), (Symbol @@ String("weight")) :: shapeless.HNil.type](scala.Symbol.apply("display").asInstanceOf[Symbol @@ String("display")], ::.apply[Symbol @@ String("weight"), shapeless.HNil.type](scala.Symbol.apply("weight").asInstanceOf[Symbol @@ String("weight")], HNil)))))), Generic.instance[org.make.api.tag.UpdateTagRequest, String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil](((x0$3: org.make.api.tag.UpdateTagRequest) => x0$3 match { case (label: String, tagTypeId: org.make.core.tag.TagTypeId, questionId: Option[org.make.core.question.QuestionId], display: org.make.core.tag.TagDisplay, weight: Float): org.make.api.tag.UpdateTagRequest((label$macro$17 @ _), (tagTypeId$macro$18 @ _), (questionId$macro$19 @ _), (display$macro$20 @ _), (weight$macro$21 @ _)) => ::.apply[String, org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil.type](label$macro$17, ::.apply[org.make.core.tag.TagTypeId, Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil.type](tagTypeId$macro$18, ::.apply[Option[org.make.core.question.QuestionId], org.make.core.tag.TagDisplay :: Float :: shapeless.HNil.type](questionId$macro$19, ::.apply[org.make.core.tag.TagDisplay, Float :: shapeless.HNil.type](display$macro$20, ::.apply[Float, shapeless.HNil.type](weight$macro$21, HNil))))).asInstanceOf[String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil] }), ((x0$4: String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil) => x0$4 match { case (head: String, tail: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil): String :: org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil((label$macro$12 @ _), (head: org.make.core.tag.TagTypeId, tail: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil): org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil((tagTypeId$macro$13 @ _), (head: Option[org.make.core.question.QuestionId], tail: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil): Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil((questionId$macro$14 @ _), (head: org.make.core.tag.TagDisplay, tail: Float :: shapeless.HNil): org.make.core.tag.TagDisplay :: Float :: shapeless.HNil((display$macro$15 @ _), (head: Float, tail: shapeless.HNil): Float :: shapeless.HNil((weight$macro$16 @ _), HNil))))) => tag.this.UpdateTagRequest.apply(label$macro$12, tagTypeId$macro$13, questionId$macro$14, display$macro$15, weight$macro$16) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("label"), String, (Symbol @@ String("tagTypeId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil, org.make.core.tag.TagTypeId :: Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("tagTypeId"), org.make.core.tag.TagTypeId, (Symbol @@ String("questionId")) :: (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil, Option[org.make.core.question.QuestionId] :: org.make.core.tag.TagDisplay :: Float :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], (Symbol @@ String("display")) :: (Symbol @@ String("weight")) :: shapeless.HNil, org.make.core.tag.TagDisplay :: Float :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("display"), org.make.core.tag.TagDisplay, (Symbol @@ String("weight")) :: shapeless.HNil, Float :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("weight"), Float, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("weight")]](scala.Symbol.apply("weight").asInstanceOf[Symbol @@ String("weight")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("weight")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("display")]](scala.Symbol.apply("display").asInstanceOf[Symbol @@ String("display")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("display")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("tagTypeId")]](scala.Symbol.apply("tagTypeId").asInstanceOf[Symbol @@ String("tagTypeId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("tagTypeId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("label")]](scala.Symbol.apply("label").asInstanceOf[Symbol @@ String("label")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("label")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.tag.UpdateTagRequest]]; <stable> <accessor> lazy val inst$macro$22: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForlabel: io.circe.Decoder[String] = circe.this.Decoder.decodeString; private[this] val circeGenericDecoderFortagTypeId: io.circe.Decoder[org.make.core.tag.TagTypeId] = tag.this.TagTypeId.tagIdDecoder; private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[Option[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeOption[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder); private[this] val circeGenericDecoderFordisplay: io.circe.Decoder[org.make.core.tag.TagDisplay] = tag.this.TagDisplay.decoder(circe.this.Decoder.decodeString); private[this] val circeGenericDecoderForweight: io.circe.Decoder[Float] = circe.this.Decoder.decodeFloat; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("label"), String, shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlabel.tryDecode(c.downField("label")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("tagTypeId"), org.make.core.tag.TagTypeId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortagTypeId.tryDecode(c.downField("tagTypeId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("display"), org.make.core.tag.TagDisplay, shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFordisplay.tryDecode(c.downField("display")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("weight"), Float, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForweight.tryDecode(c.downField("weight")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("label"), String, shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlabel.tryDecodeAccumulating(c.downField("label")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("tagTypeId"), org.make.core.tag.TagTypeId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortagTypeId.tryDecodeAccumulating(c.downField("tagTypeId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("display"), org.make.core.tag.TagDisplay, shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFordisplay.tryDecodeAccumulating(c.downField("display")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("weight"), Float, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForweight.tryDecodeAccumulating(c.downField("weight")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("label"),String] :: shapeless.labelled.FieldType[Symbol @@ String("tagTypeId"),org.make.core.tag.TagTypeId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("display"),org.make.core.tag.TagDisplay] :: shapeless.labelled.FieldType[Symbol @@ String("weight"),Float] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$23().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.tag.UpdateTagRequest]](inst$macro$24) })