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.feature
21 
22 import cats.implicits._
23 import akka.http.scaladsl.model.StatusCodes
24 import akka.http.scaladsl.server._
25 import io.circe.generic.semiauto.{deriveCodec, deriveDecoder}
26 import io.circe.{Codec, Decoder}
27 import io.swagger.annotations._
28 import org.make.api.feature.DefaultPersistentActiveFeatureServiceComponent.PersistentActiveFeature
29 import org.make.api.operation.OperationServiceComponent
30 import org.make.api.question.QuestionServiceComponent
31 
32 import javax.ws.rs.Path
33 import org.make.api.technical.MakeDirectives.MakeDirectivesDependencies
34 import org.make.api.technical.{`X-Total-Count`, MakeAuthenticationDirectives}
35 import org.make.api.technical.directives.FutureDirectivesExtensions._
36 import org.make.core.technical.Pagination
37 import org.make.core.auth.UserRights
38 import org.make.core.feature.{ActiveFeature, ActiveFeatureId, FeatureId}
39 import org.make.core.question.QuestionId
40 import org.make.core.{HttpCodes, Order, ParameterExtractors, Validation, ValidationError}
41 import scalaoauth2.provider.AuthInfo
42 
43 import scala.annotation.meta.field
44 import scala.concurrent.ExecutionContext.Implicits.global
45 import scala.concurrent.Future
46 import org.make.core.question.Question
47 
48 @Api(value = "Admin Active Features")
49 @Path(value = "/admin/active-features")
50 trait AdminActiveFeatureApi extends Directives {
51 
52   @Path(value = "/{activeFeatureId}")
53   @ApiOperation(
54     value = "get-active-feature",
55     httpMethod = "GET",
56     code = HttpCodes.OK,
57     authorizations = Array(
58       new Authorization(
59         value = "MakeApi",
60         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
61       )
62     )
63   )
64   @ApiResponses(
65     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[ActiveFeatureResponse]))
66   )
67   @ApiImplicitParams(
68     value = Array(new ApiImplicitParam(name = "activeFeatureId", paramType = "path", dataType = "string"))
69   )
70   def adminGetActiveFeature: Route
71 
72   @ApiOperation(
73     value = "create-active-feature",
74     httpMethod = "POST",
75     code = HttpCodes.OK,
76     authorizations = Array(
77       new Authorization(
78         value = "MakeApi",
79         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
80       )
81     )
82   )
83   @ApiImplicitParams(
84     value = Array(
85       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.feature.ActiveFeatureRequest")
86     )
87   )
88   @ApiResponses(
89     value = Array(new ApiResponse(code = HttpCodes.Created, message = "Ok", response = classOf[ActiveFeatureResponse]))
90   )
91   @Path(value = "/")
92   def adminCreateActiveFeature: Route
93 
94   @ApiOperation(
95     value = "list-active-features",
96     httpMethod = "GET",
97     code = HttpCodes.OK,
98     authorizations = Array(
99       new Authorization(
100         value = "MakeApi",
101         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
102       )
103     )
104   )
105   @ApiImplicitParams(
106     value = Array(
107       new ApiImplicitParam(
108         name = "_start",
109         paramType = "query",
110         dataType = "int",
111         allowableValues = "range[0, infinity]"
112       ),
113       new ApiImplicitParam(
114         name = "_end",
115         paramType = "query",
116         dataType = "int",
117         allowableValues = "range[0, infinity]"
118       ),
119       new ApiImplicitParam(
120         name = "_sort",
121         paramType = "query",
122         dataType = "string",
123         allowableValues = PersistentActiveFeature.swaggerAllowableValues
124       ),
125       new ApiImplicitParam(
126         name = "_order",
127         paramType = "query",
128         dataType = "string",
129         allowableValues = Order.swaggerAllowableValues
130       ),
131       new ApiImplicitParam(name = "questionId", paramType = "query", dataType = "string")
132     )
133   )
134   @ApiResponses(
135     value =
136       Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[Array[ActiveFeatureResponse]]))
137   )
138   @Path(value = "/")
139   def adminListActiveFeatures: Route
140 
141   @ApiOperation(
142     value = "delete-active-feature",
143     httpMethod = "DELETE",
144     code = HttpCodes.OK,
145     authorizations = Array(
146       new Authorization(
147         value = "MakeApi",
148         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
149       )
150     )
151   )
152   @ApiImplicitParams(
153     value = Array(new ApiImplicitParam(name = "activeFeatureId", paramType = "path", dataType = "string"))
154   )
155   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.NoContent, message = "Ok")))
156   @Path(value = "/{activeFeatureId}")
157   def adminDeleteActiveFeature: Route
158 
159   @ApiOperation(
160     value = "delete-active-feature-from-feature-id",
161     httpMethod = "DELETE",
162     code = HttpCodes.OK,
163     authorizations = Array(
164       new Authorization(
165         value = "MakeApi",
166         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
167       )
168     )
169   )
170   @ApiImplicitParams(
171     value = Array(
172       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.feature.ActiveFeatureRequest")
173     )
174   )
175   @ApiResponses(value = Array(new ApiResponse(code = HttpCodes.NoContent, message = "Ok")))
176   @Path(value = "/")
177   def adminDeleteActiveFeatureFromFeatureId: Route
178 
179   def routes: Route =
180     adminGetActiveFeature ~ adminCreateActiveFeature ~ adminListActiveFeatures ~ adminDeleteActiveFeature ~ adminDeleteActiveFeatureFromFeatureId
181 }
182 
183 trait AdminActiveFeatureApiComponent {
184   def adminActiveFeatureApi: AdminActiveFeatureApi
185 }
186 
187 trait DefaultAdminActiveFeatureApiComponent
188     extends AdminActiveFeatureApiComponent
189     with MakeAuthenticationDirectives
190     with ParameterExtractors {
191   this: MakeDirectivesDependencies
192     with ActiveFeatureServiceComponent
193     with FeatureServiceComponent
194     with QuestionServiceComponent
195     with OperationServiceComponent =>
196 
197   override lazy val adminActiveFeatureApi: AdminActiveFeatureApi = new DefaultAdminActiveFeatureApi
198 
199   class DefaultAdminActiveFeatureApi extends AdminActiveFeatureApi {
200 
201     val adminActiveFeatureId: PathMatcher1[ActiveFeatureId] = Segment.map(id => ActiveFeatureId(id))
202 
203     override def adminGetActiveFeature: Route = {
204       get {
205         path("admin" / "active-features" / adminActiveFeatureId) { activeFeatureId =>
206           makeOperation("AdminGetActiveFeature") { _ =>
207             makeOAuth2 { userAuth: AuthInfo[UserRights] =>
208               requireAdminRole(userAuth.user) {
209                 activeFeatureService.getActiveFeature(activeFeatureId).asDirectiveOrNotFound { activeFeature =>
210                   complete(ActiveFeatureResponse(activeFeature))
211                 }
212               }
213             }
214           }
215         }
216       }
217     }
218 
219     override def adminCreateActiveFeature: Route = post {
220       path("admin" / "active-features") {
221         makeOperation("AdminRegisterActiveFeature") { _ =>
222           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
223             requireAdminRole(userAuth.user) {
224               decodeRequest {
225                 entity(as[ActiveFeatureRequest]) { request: ActiveFeatureRequest =>
226                   (
227                     featureService
228                       .getFeature(request.featureId)
229                       .asDirectiveOrBadRequest(
230                         ValidationError(
231                           "featureId",
232                           "not_found",
233                           Some(s"Feature ${request.featureId.value} doesn't exist")
234                         )
235                       ),
236                     request.maybeQuestionId
237                       .fold(Future.successful(Option.empty[Question]))(questionService.getCachedQuestion)
238                       .asDirective
239                   ).tupled.flatMap {
240                     case (_, foundQuestion: Option[Question]) =>
241                       Validation.validateOptional(request.maybeQuestionId.map { qId =>
242                         Validation.validateField(
243                           "questionId",
244                           "not_found",
245                           foundQuestion.isDefined,
246                           s"Question ${qId.value} doesn't exist"
247                         )
248                       })
249                       activeFeatureService
250                         .find(
251                           maybeQuestionId = request.maybeQuestionId.map(Seq(_)),
252                           featureIds = Some(Seq(request.featureId))
253                         )
254                         .asDirective
255                   }.flatMap { actives =>
256                     Validation.validate(
257                       Validation.requireEmpty(
258                         "questionId",
259                         actives,
260                         Some(
261                           s"An active feature already exists for questionId ${request.maybeQuestionId} and featureId ${request.featureId}"
262                         )
263                       )
264                     )
265                     activeFeatureService
266                       .createActiveFeature(featureId = request.featureId, maybeQuestionId = request.maybeQuestionId)
267                       .asDirective
268                   }.apply { activeFeature =>
269                     complete(StatusCodes.Created -> ActiveFeatureResponse(activeFeature))
270                   }
271                 }
272               }
273             }
274           }
275         }
276       }
277     }
278 
279     override def adminListActiveFeatures: Route = {
280       get {
281         path("admin" / "active-features") {
282           makeOperation("AdminSearchActiveFeature") { _ =>
283             parameters(
284               "_start".as[Pagination.Offset].?,
285               "_end".as[Pagination.End].?,
286               "_sort".?,
287               "_order".as[Order].?,
288               "questionId".as[QuestionId].?
289             ) {
290               (
291                 offset: Option[Pagination.Offset],
292                 end: Option[Pagination.End],
293                 sort: Option[String],
294                 order: Option[Order],
295                 maybeQuestionId: Option[QuestionId]
296               ) =>
297                 makeOAuth2 { userAuth: AuthInfo[UserRights] =>
298                   requireAdminRole(userAuth.user) {
299                     activeFeatureService.count(maybeQuestionId = maybeQuestionId).asDirective { count =>
300                       onSuccess(
301                         activeFeatureService
302                           .find(
303                             offset = offset.orZero,
304                             end = end,
305                             sort = sort,
306                             order = order,
307                             maybeQuestionId = maybeQuestionId.map(Seq(_))
308                           )
309                       ) { filteredActiveFeatures =>
310                         complete(
311                           (
312                             StatusCodes.OK,
313                             List(`X-Total-Count`(count.toString)),
314                             filteredActiveFeatures.map(ActiveFeatureResponse.apply)
315                           )
316                         )
317                       }
318                     }
319                   }
320                 }
321             }
322           }
323         }
324       }
325     }
326 
327     override def adminDeleteActiveFeature: Route = delete {
328       path("admin" / "active-features" / adminActiveFeatureId) { activeFeatureId =>
329         makeOperation("AdminDeleteActiveFeature") { _ =>
330           makeOAuth2 { auth: AuthInfo[UserRights] =>
331             requireAdminRole(auth.user) {
332               activeFeatureService.getActiveFeature(activeFeatureId).asDirectiveOrNotFound { _ =>
333                 activeFeatureService.deleteActiveFeature(activeFeatureId).asDirective { _ =>
334                   complete(StatusCodes.NoContent)
335                 }
336               }
337             }
338           }
339         }
340       }
341     }
342 
343     override def adminDeleteActiveFeatureFromFeatureId: Route = delete {
344       path("admin" / "active-features") {
345         makeOperation("AdminDeleteActiveFeatureFromFeatureId") { _ =>
346           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
347             requireAdminRole(userAuth.user) {
348               decodeRequest {
349                 entity(as[ActiveFeatureRequest]) { request: ActiveFeatureRequest =>
350                   val foundActiveFeature = activeFeatureService
351                     .find(
352                       maybeQuestionId = request.maybeQuestionId.map(questionId => Seq(questionId)),
353                       featureIds = Some(Seq(request.featureId))
354                     )
355                     .map {
356                       case Seq(head) => Some(head)
357                       case _         => None
358                     }
359                   foundActiveFeature.asDirectiveOrNotFound { activeFeature =>
360                     activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId).asDirective { _ =>
361                       complete(StatusCodes.NoContent)
362                     }
363                   }
364                 }
365               }
366             }
367           }
368         }
369       }
370     }
371   }
372 }
373 
374 final case class ActiveFeatureRequest(
375   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
376   featureId: FeatureId,
377   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
378   maybeQuestionId: Option[QuestionId]
379 )
380 
381 object ActiveFeatureRequest {
382   implicit val decoder: Decoder[ActiveFeatureRequest] = deriveDecoder[ActiveFeatureRequest]
383 }
384 
385 final case class ActiveFeatureResponse(
386   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555")
387   id: ActiveFeatureId,
388   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555")
389   featureId: FeatureId,
390   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555")
391   maybeQuestionId: Option[QuestionId]
392 )
393 
394 object ActiveFeatureResponse {
395   implicit val codec: Codec[ActiveFeatureResponse] = deriveCodec
396 
397   def apply(activeFeature: ActiveFeature): ActiveFeatureResponse =
398     ActiveFeatureResponse(
399       id = activeFeature.activeFeatureId,
400       featureId = activeFeature.featureId,
401       maybeQuestionId = activeFeature.maybeQuestionId
402     )
403 }
Line Stmt Id Pos Tree Symbol Tests Code
180 41829 5965 - 6066 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this.adminGetActiveFeature).~(AdminActiveFeatureApi.this.adminCreateActiveFeature)).~(AdminActiveFeatureApi.this.adminListActiveFeatures)).~(AdminActiveFeatureApi.this.adminDeleteActiveFeature)
180 35297 5989 - 6013 Select org.make.api.feature.AdminActiveFeatureApi.adminCreateActiveFeature org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this.adminCreateActiveFeature
180 43422 5965 - 5986 Select org.make.api.feature.AdminActiveFeatureApi.adminGetActiveFeature org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this.adminGetActiveFeature
180 49394 6042 - 6066 Select org.make.api.feature.AdminActiveFeatureApi.adminDeleteActiveFeature org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this.adminDeleteActiveFeature
180 43906 6016 - 6039 Select org.make.api.feature.AdminActiveFeatureApi.adminListActiveFeatures org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this.adminListActiveFeatures
180 36935 5965 - 6039 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this.adminGetActiveFeature).~(AdminActiveFeatureApi.this.adminCreateActiveFeature)).~(AdminActiveFeatureApi.this.adminListActiveFeatures)
180 48323 5965 - 6013 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this.adminGetActiveFeature).~(AdminActiveFeatureApi.this.adminCreateActiveFeature)
180 37129 6069 - 6106 Select org.make.api.feature.AdminActiveFeatureApi.adminDeleteActiveFeatureFromFeatureId org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this.adminDeleteActiveFeatureFromFeatureId
180 50440 5965 - 6106 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.feature.adminactivefeatureapitest AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this._enhanceRouteWithConcatenation(AdminActiveFeatureApi.this.adminGetActiveFeature).~(AdminActiveFeatureApi.this.adminCreateActiveFeature)).~(AdminActiveFeatureApi.this.adminListActiveFeatures)).~(AdminActiveFeatureApi.this.adminDeleteActiveFeature)).~(AdminActiveFeatureApi.this.adminDeleteActiveFeatureFromFeatureId)
201 35043 6790 - 6809 Apply org.make.core.feature.ActiveFeatureId.apply org.make.api.feature.adminactivefeatureapitest org.make.core.feature.ActiveFeatureId.apply(id)
201 48363 6772 - 6810 Apply akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map org.make.api.feature.adminactivefeatureapitest server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminActiveFeatureApi.this.Segment).map[org.make.core.feature.ActiveFeatureId](((id: String) => org.make.core.feature.ActiveFeatureId.apply(id)))
201 43458 6772 - 6779 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.Segment
204 43941 6868 - 6871 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.get
204 43205 6868 - 7377 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.path[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.adminActiveFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeatureId]).apply(((activeFeatureId: org.make.core.feature.ActiveFeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminGetActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))))))))))))
205 41581 6895 - 6895 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.feature.adminactivefeatureapitest TupleOps.this.Join.join0P[Unit]
205 49437 6897 - 6914 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features")
205 35084 6882 - 6938 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.path[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.adminActiveFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)]))
205 50480 6915 - 6915 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.feature.adminactivefeatureapitest TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)]
205 33454 6917 - 6937 Select org.make.api.feature.DefaultAdminActiveFeatureApiComponent.DefaultAdminActiveFeatureApi.adminActiveFeatureId org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.adminActiveFeatureId
205 36094 6887 - 6894 Literal <nosymbol> org.make.api.feature.adminactivefeatureapitest "admin"
205 47560 6886 - 6886 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeatureId]
205 50790 6882 - 7369 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.path[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.adminActiveFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeatureId]).apply(((activeFeatureId: org.make.core.feature.ActiveFeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminGetActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])))))))))))))
205 43376 6887 - 6937 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.adminActiveFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)])
206 43692 6984 - 7007 Literal <nosymbol> org.make.api.feature.adminactivefeatureapitest "AdminGetActiveFeature"
206 49906 6970 - 6970 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3
206 41619 6970 - 7008 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminGetActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3)
206 33493 6983 - 6983 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
206 36133 6970 - 6970 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2
206 34001 6970 - 7359 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminGetActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])))))))))))
207 43414 7028 - 7028 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
207 50234 7028 - 7038 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOAuth2
207 41576 7028 - 7347 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])))))))))
208 49691 7089 - 7333 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])))))))
208 47600 7089 - 7120 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)
208 35556 7106 - 7119 Select scalaoauth2.provider.AuthInfo.user userAuth.user
209 49949 7194 - 7194 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]
209 36652 7139 - 7215 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound
209 36690 7139 - 7317 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))))
209 43727 7139 - 7193 Apply org.make.api.feature.ActiveFeatureService.getActiveFeature DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)
210 50274 7283 - 7283 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]
210 48354 7262 - 7298 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])))
210 41819 7262 - 7298 Apply org.make.api.feature.ActiveFeatureResponse.apply ActiveFeatureResponse.apply(activeFeature)
210 43167 7283 - 7283 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])
210 39775 7253 - 7299 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))
210 33235 7283 - 7283 Select org.make.api.feature.ActiveFeatureResponse.codec feature.this.ActiveFeatureResponse.codec
210 35597 7283 - 7283 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.ActiveFeatureResponse](DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))
219 41691 7436 - 9999 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminRegisterActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective })))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))))))))))))))
219 35078 7436 - 7440 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.post
220 36448 7462 - 7462 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.feature.adminactivefeatureapitest TupleOps.this.Join.join0P[Unit]
220 40521 7464 - 7481 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features")
220 41612 7449 - 7482 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))
220 48107 7454 - 7461 Literal <nosymbol> org.make.api.feature.adminactivefeatureapitest "admin"
220 49734 7454 - 7481 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])
220 45547 7449 - 9993 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminRegisterActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective })))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])))))))))))))))
221 34834 7493 - 7536 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminRegisterActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3)
221 32770 7493 - 9985 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminRegisterActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective })))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))))))))))))
221 50226 7493 - 7493 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2
221 42964 7493 - 7493 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3
221 33758 7507 - 7535 Literal <nosymbol> org.make.api.feature.adminactivefeatureapitest "AdminRegisterActiveFeature"
221 48149 7506 - 7506 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
222 35877 7554 - 7554 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
222 40051 7554 - 9975 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective })))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))))))))))
222 39731 7554 - 7564 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOAuth2
223 48187 7613 - 9963 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective })))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))))))))
223 49935 7630 - 7643 Select scalaoauth2.provider.AuthInfo.user userAuth.user
223 41370 7613 - 7644 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)
224 35148 7661 - 9949 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective })))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])))))))))
224 33794 7661 - 7674 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultAdminActiveFeatureApi.this.decodeRequest
225 35916 7699 - 7699 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]
225 47902 7700 - 7724 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))
225 42396 7702 - 7702 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)
225 39770 7693 - 7725 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder))))
225 39563 7693 - 9933 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective })))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))))))
225 46253 7702 - 7702 Select org.make.api.feature.ActiveFeatureRequest.decoder feature.this.ActiveFeatureRequest.decoder
225 35582 7702 - 7702 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder))
226 46338 7779 - 8375 Apply scala.Tuple2.apply scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)
228 42114 7801 - 7868 Apply org.make.api.feature.FeatureService.getFeature DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)
228 49683 7850 - 7867 Select org.make.api.feature.ActiveFeatureRequest.featureId request.featureId
229 48638 7801 - 8169 Apply org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrBadRequest org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String))))
230 35333 7941 - 8145 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))
231 34299 7984 - 7995 Literal <nosymbol> "featureId"
232 46296 8023 - 8034 Literal <nosymbol> "not_found"
233 42432 8062 - 8119 Apply scala.Some.apply scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String))
237 40832 8261 - 8283 TypeApply scala.Option.empty scala.Option.empty[org.make.core.question.Question]
237 31926 8243 - 8284 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[Option[org.make.core.question.Question]](scala.Option.empty[org.make.core.question.Question])
237 49723 8286 - 8319 Apply org.make.api.question.QuestionService.getCachedQuestion eta$0$1.getCachedQuestion(questionId)
237 41871 8191 - 8320 Apply scala.Option.fold request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })
238 33753 8191 - 8355 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective
239 49981 8391 - 8391 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
239 40264 8376 - 8376 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
239 47857 7779 - 8382 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.tupled cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
239 42958 8376 - 8376 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
239 31922 7779 - 9146 Apply cats.FlatMap.Ops.flatMap cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } }))
239 35379 8376 - 8376 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
241 42995 8480 - 8840 Apply org.make.core.Validation.validateOptional org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String)))))
241 46782 8508 - 8839 Apply scala.Option.map request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))
242 33786 8569 - 8815 Apply org.make.core.Validation.validateField org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))
243 31967 8621 - 8633 Literal <nosymbol> "questionId"
244 49474 8661 - 8672 Literal <nosymbol> "not_found"
245 41908 8700 - 8723 Select scala.Option.isDefined foundQuestion.isDefined
249 35122 8863 - 8883 Select org.make.api.feature.ActiveFeatureServiceComponent.activeFeatureService DefaultAdminActiveFeatureApiComponent.this.activeFeatureService
250 46817 8909 - 8909 Select org.make.api.feature.ActiveFeatureService.find$default$2 qual$1.find$default$2
250 35162 8909 - 8909 Select org.make.api.feature.ActiveFeatureService.find$default$4 qual$1.find$default$4
250 33532 8909 - 8909 Select org.make.api.feature.ActiveFeatureService.find$default$1 qual$1.find$default$1
250 38427 8909 - 8909 Select org.make.api.feature.ActiveFeatureService.find$default$3 qual$1.find$default$3
250 47937 8863 - 9089 Apply org.make.api.feature.ActiveFeatureService.find qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2)
251 40297 8959 - 8994 Apply scala.Option.map request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3)))
251 47898 8987 - 8993 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3)
252 49509 9040 - 9062 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)
252 31881 9044 - 9061 Select org.make.api.feature.ActiveFeatureRequest.featureId request.featureId
252 41124 9035 - 9063 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId))
254 40059 8863 - 9126 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective
255 41895 9155 - 9155 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]
255 44985 7779 - 9780 Apply cats.FlatMap.Ops.flatMap cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective }))
256 38466 9188 - 9567 Apply org.make.core.Validation.validate org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String))))
257 47341 9231 - 9545 Apply org.make.core.Validation.requireEmpty org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))
258 41162 9280 - 9292 Literal <nosymbol> "questionId"
260 33569 9351 - 9521 Apply scala.Some.apply scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String))
266 47681 9701 - 9724 Select org.make.api.feature.ActiveFeatureRequest.maybeQuestionId request.maybeQuestionId
266 40091 9588 - 9725 Apply org.make.api.feature.ActiveFeatureService.createActiveFeature DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)
266 35077 9664 - 9681 Select org.make.api.feature.ActiveFeatureRequest.featureId request.featureId
267 32983 9588 - 9760 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective
268 47125 7779 - 9915 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, Seq[org.make.core.feature.ActiveFeature]](cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, (org.make.core.feature.Feature, Option[org.make.core.question.Question])](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Option[org.make.core.question.Question]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Option[org.make.core.question.Question]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminActiveFeatureApiComponent.this.featureService.getFeature(request.featureId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("featureId", "not_found", scala.Some.apply[String](("Feature ".+(request.featureId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](request.maybeQuestionId.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]))({ <synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultAdminActiveFeatureApiComponent.this.questionService; ((questionId: org.make.core.question.QuestionId) => eta$0$1.getCachedQuestion(questionId)) })).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[Seq[org.make.core.feature.ActiveFeature]](((x0$1: (org.make.core.feature.Feature, Option[org.make.core.question.Question])) => x0$1 match { case (_1: org.make.core.feature.Feature, _2: Option[org.make.core.question.Question]): (org.make.core.feature.Feature, Option[org.make.core.question.Question])(_, (foundQuestion @ (_: Option[org.make.core.question.Question]))) => { org.make.core.Validation.validateOptional(request.maybeQuestionId.map[org.make.core.Requirement](((qId: org.make.core.question.QuestionId) => org.make.core.Validation.validateField("questionId", "not_found", foundQuestion.isDefined, ("Question ".+(qId.value).+(" doesn\'t exist"): String))))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((x$3: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$3))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }).asDirective } })))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.feature.ActiveFeature](((actives: Seq[org.make.core.feature.ActiveFeature]) => { org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("questionId", actives, scala.Some.apply[String](("An active feature already exists for questionId ".+(request.maybeQuestionId).+(" and featureId ").+(request.featureId): String)))); org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.createActiveFeature(request.featureId, request.maybeQuestionId)).asDirective })))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))))
269 35115 9855 - 9855 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
269 41652 9835 - 9894 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])))
269 45025 9855 - 9855 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))
269 34079 9826 - 9895 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.ActiveFeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]))))
269 33322 9835 - 9854 Select akka.http.scaladsl.model.StatusCodes.Created akka.http.scaladsl.model.StatusCodes.Created
269 33023 9855 - 9855 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminActiveFeatureApiComponent.this.marshaller[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec, DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse])
269 40613 9855 - 9855 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.ActiveFeatureResponse]
269 39524 9835 - 9894 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.ActiveFeatureResponse](ActiveFeatureResponse.apply(activeFeature))
269 47386 9858 - 9894 Apply org.make.api.feature.ActiveFeatureResponse.apply ActiveFeatureResponse.apply(activeFeature)
269 48427 9855 - 9855 Select org.make.api.feature.ActiveFeatureResponse.codec feature.this.ActiveFeatureResponse.codec
280 44000 10059 - 11761 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminSearchActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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[org.make.core.question.QuestionId])](DefaultAdminActiveFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminActiveFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminActiveFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminActiveFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminActiveFeatureApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminActiveFeatureApiComponent.this.questionIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.question.QuestionId]]).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], maybeQuestionId: Option[org.make.core.question.QuestionId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((filteredActiveFeatures: Seq[org.make.core.feature.ActiveFeature]) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]])))))))))))))))))
280 33271 10059 - 10062 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.get
281 46572 10078 - 10085 Literal <nosymbol> "admin"
281 31502 10073 - 11753 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminSearchActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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[org.make.core.question.QuestionId])](DefaultAdminActiveFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminActiveFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminActiveFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminActiveFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminActiveFeatureApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminActiveFeatureApiComponent.this.questionIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.question.QuestionId]]).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], maybeQuestionId: Option[org.make.core.question.QuestionId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((filteredActiveFeatures: Seq[org.make.core.feature.ActiveFeature]) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]]))))))))))))))))
281 39813 10073 - 10106 Apply akka.http.scaladsl.server.directives.PathDirectives.path DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))
281 39603 10088 - 10105 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features")
281 31166 10086 - 10086 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P TupleOps.this.Join.join0P[Unit]
281 48224 10078 - 10105 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])
282 45588 10119 - 10119 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2
282 32211 10133 - 10159 Literal <nosymbol> "AdminSearchActiveFeature"
282 33313 10119 - 10160 Apply org.make.api.technical.MakeDirectives.makeOperation DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminSearchActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3)
282 46337 10132 - 10132 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.RequestContext]
282 41450 10119 - 10119 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3
282 39096 10119 - 11743 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminSearchActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.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[org.make.core.question.QuestionId])](DefaultAdminActiveFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminActiveFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminActiveFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminActiveFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminActiveFeatureApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminActiveFeatureApiComponent.this.questionIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.question.QuestionId]]).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], maybeQuestionId: Option[org.make.core.question.QuestionId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((filteredActiveFeatures: Seq[org.make.core.feature.ActiveFeature]) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]])))))))))))))))
283 33856 10180 - 10401 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters DefaultAdminActiveFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminActiveFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminActiveFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminActiveFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminActiveFeatureApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminActiveFeatureApiComponent.this.questionIdFromStringUnmarshaller)))
283 46908 10190 - 10190 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac5 util.this.ApplyConverter.hac5[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.question.QuestionId]]
284 39852 10237 - 10237 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApiComponent.this.startFromIntUnmarshaller)
284 31209 10206 - 10238 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminActiveFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
284 48730 10237 - 10237 Select org.make.core.ParameterExtractors.startFromIntUnmarshaller DefaultAdminActiveFeatureApiComponent.this.startFromIntUnmarshaller
284 32242 10206 - 10238 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApiComponent.this.startFromIntUnmarshaller))
284 39518 10206 - 10214 Literal <nosymbol> "_start"
285 41482 10254 - 10281 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminActiveFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
285 39556 10254 - 10281 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApiComponent.this.endFromIntUnmarshaller))
285 46048 10254 - 10260 Literal <nosymbol> "_end"
285 34381 10280 - 10280 Select org.make.core.ParameterExtractors.endFromIntUnmarshaller DefaultAdminActiveFeatureApiComponent.this.endFromIntUnmarshaller
285 46376 10280 - 10280 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApiComponent.this.endFromIntUnmarshaller)
286 39888 10305 - 10305 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
286 46084 10297 - 10306 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminActiveFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
286 32764 10305 - 10305 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
286 31680 10297 - 10304 Literal <nosymbol> "_sort"
286 48771 10297 - 10306 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminActiveFeatureApi.this._string2NR("_sort").?
287 34418 10322 - 10342 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminActiveFeatureApi.this._string2NR("_order").as[org.make.core.Order].?
287 46407 10341 - 10341 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller DefaultAdminActiveFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
287 37680 10322 - 10330 Literal <nosymbol> "_order"
287 31716 10322 - 10342 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminActiveFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminActiveFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
287 39309 10341 - 10341 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminActiveFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
288 40950 10358 - 10387 Select akka.http.scaladsl.common.NameReceptacle.? DefaultAdminActiveFeatureApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?
288 45841 10386 - 10386 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminActiveFeatureApiComponent.this.questionIdFromStringUnmarshaller)
288 37721 10358 - 10387 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminActiveFeatureApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminActiveFeatureApiComponent.this.questionIdFromStringUnmarshaller))
288 32804 10386 - 10386 Select org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller DefaultAdminActiveFeatureApiComponent.this.questionIdFromStringUnmarshaller
288 47936 10358 - 10370 Literal <nosymbol> "questionId"
289 47206 10180 - 11731 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[org.make.core.question.QuestionId])](DefaultAdminActiveFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminActiveFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminActiveFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminActiveFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminActiveFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminActiveFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminActiveFeatureApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminActiveFeatureApiComponent.this.questionIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.question.QuestionId]]).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], maybeQuestionId: Option[org.make.core.question.QuestionId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((filteredActiveFeatures: Seq[org.make.core.feature.ActiveFeature]) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]])))))))))))))
297 51378 10679 - 11717 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((filteredActiveFeatures: Seq[org.make.core.feature.ActiveFeature]) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]])))))))))))
297 39348 10679 - 10689 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 DefaultAdminActiveFeatureApiComponent.this.makeOAuth2
297 30911 10679 - 10679 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
298 40376 10744 - 10775 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)
298 38013 10744 - 11699 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((filteredActiveFeatures: Seq[org.make.core.feature.ActiveFeature]) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]])))))))))
298 44255 10761 - 10774 Select scalaoauth2.provider.AuthInfo.user userAuth.user
299 45881 10798 - 10871 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)).asDirective
299 45874 10798 - 11679 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((filteredActiveFeatures: Seq[org.make.core.feature.ActiveFeature]) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]]))))))))
299 32550 10798 - 10859 Apply org.make.api.feature.ActiveFeatureService.count DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.count(maybeQuestionId)
299 37762 10860 - 10860 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Int]
300 37507 10905 - 11294 Apply akka.http.scaladsl.server.directives.FutureDirectives.onSuccess DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]]))
300 33644 10914 - 10914 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]
301 33609 10940 - 10960 Select org.make.api.feature.ActiveFeatureServiceComponent.activeFeatureService DefaultAdminActiveFeatureApiComponent.this.activeFeatureService
302 45630 10940 - 11270 ApplyToImplicitArgs akka.http.scaladsl.server.directives.OnSuccessMagnet.apply directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])
302 31993 10992 - 10992 TypeApply akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]]
302 40906 10940 - 11270 Apply org.make.api.feature.ActiveFeatureService.find qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6)
302 44294 10988 - 10988 Select org.make.api.feature.ActiveFeatureService.find$default$6 qual$1.find$default$6
303 46366 11031 - 11044 Select org.make.core.technical.Pagination.RichOptionOffset.orZero technical.this.Pagination.RichOptionOffset(offset).orZero
307 39102 11235 - 11241 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.question.QuestionId](x$5)
307 30952 11215 - 11242 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)))
309 33103 10905 - 11657 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](DefaultAdminActiveFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.ActiveFeature]]({ <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: org.make.core.technical.Pagination.Offset = technical.this.Pagination.RichOptionOffset(offset).orZero; <artifact> val x$2: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = end; <artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = sort; <artifact> val x$4: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = order; <artifact> val x$5: 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$6: Option[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$6; qual$1.find(x$1, x$2, x$3, x$4, x$5, x$6) })(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.ActiveFeature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((filteredActiveFeatures: Seq[org.make.core.feature.ActiveFeature]) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]]))))))
310 40696 11347 - 11633 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]]))))
311 47460 11383 - 11383 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]]
311 31466 11383 - 11383 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]]))
311 37549 11383 - 11383 Select org.make.api.feature.ActiveFeatureResponse.codec feature.this.ActiveFeatureResponse.codec
311 51337 11383 - 11383 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec)
311 39602 11383 - 11383 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]])
311 44088 11383 - 11607 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.feature.ActiveFeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.ActiveFeatureResponse]](DefaultAdminActiveFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.ActiveFeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.ActiveFeatureResponse](feature.this.ActiveFeatureResponse.codec), DefaultAdminActiveFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.ActiveFeatureResponse]])))
311 45837 11383 - 11607 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.feature.ActiveFeatureResponse]](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())), filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature))))
312 47422 11413 - 11427 Select akka.http.scaladsl.model.StatusCodes.OK akka.http.scaladsl.model.StatusCodes.OK
313 38536 11478 - 11492 Apply scala.Any.toString count.toString()
313 30993 11462 - 11493 Apply akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply org.make.api.technical.X-Total-Count.apply(count.toString())
313 44046 11457 - 11494 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()))
314 33066 11524 - 11579 Apply scala.collection.IterableOps.map filteredActiveFeatures.map[org.make.api.feature.ActiveFeatureResponse](((activeFeature: org.make.core.feature.ActiveFeature) => ActiveFeatureResponse.apply(activeFeature)))
314 40940 11551 - 11578 Apply org.make.api.feature.ActiveFeatureResponse.apply ActiveFeatureResponse.apply(activeFeature)
327 31243 11820 - 12389 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.delete).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.path[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.adminActiveFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeatureId]).apply(((activeFeatureId: org.make.core.feature.ActiveFeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminDeleteActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((x$7: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
327 40732 11820 - 11826 Select akka.http.scaladsl.server.directives.MethodDirectives.delete org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.delete
328 50541 11870 - 11890 Select org.make.api.feature.DefaultAdminActiveFeatureApiComponent.DefaultAdminActiveFeatureApi.adminActiveFeatureId org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.adminActiveFeatureId
328 38052 11848 - 11848 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.feature.adminactivefeatureapitest TupleOps.this.Join.join0P[Unit]
328 31251 11835 - 11891 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.path[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.adminActiveFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)]))
328 45624 11850 - 11867 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features")
328 31819 11840 - 11847 Literal <nosymbol> org.make.api.feature.adminactivefeatureapitest "admin"
328 39385 11835 - 12383 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.path[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.adminActiveFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeatureId]).apply(((activeFeatureId: org.make.core.feature.ActiveFeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminDeleteActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((x$7: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))))
328 44041 11839 - 11839 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeatureId]
328 39136 11840 - 11890 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.ActiveFeatureId,)](DefaultAdminActiveFeatureApi.this.adminActiveFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)])
328 47246 11868 - 11868 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.feature.adminactivefeatureapitest TupleOps.this.Join.join0P[(org.make.core.feature.ActiveFeatureId,)]
329 32340 11921 - 11921 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2
329 45666 11921 - 11921 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3
329 36194 11935 - 11961 Literal <nosymbol> org.make.api.feature.adminactivefeatureapitest "AdminDeleteActiveFeature"
329 37258 11921 - 11962 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminDeleteActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3)
329 43546 11921 - 12375 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminDeleteActiveFeature", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((x$7: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))
329 50583 11934 - 11934 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
330 50367 11980 - 12365 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((x$7: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))
330 38887 11980 - 11980 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
330 46680 11980 - 11990 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOAuth2
331 43789 12035 - 12062 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(auth.user)
331 31291 12052 - 12061 Select scalaoauth2.provider.AuthInfo.user auth.user
331 37051 12035 - 12353 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((x$7: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))
332 45417 12134 - 12134 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]
332 33091 12079 - 12155 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound
332 46154 12079 - 12339 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((x$7: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))
332 36237 12079 - 12133 Apply org.make.api.feature.ActiveFeatureService.getActiveFeature DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.getActiveFeature(activeFeatureId)
333 32844 12179 - 12323 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
333 50620 12179 - 12248 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)).asDirective
333 43508 12237 - 12237 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Unit]
333 37299 12179 - 12236 Apply org.make.api.feature.ActiveFeatureService.deleteActiveFeature DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeatureId)
334 39628 12283 - 12304 Select akka.http.scaladsl.model.StatusCodes.NoContent akka.http.scaladsl.model.StatusCodes.NoContent
334 43829 12283 - 12304 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
334 31037 12295 - 12295 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
334 36277 12274 - 12305 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
343 43870 12455 - 12461 Select akka.http.scaladsl.server.directives.MethodDirectives.delete org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.delete
343 35842 12455 - 13583 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.delete).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminDeleteActiveFeatureFromFeatureId", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => { val foundActiveFeature: scala.concurrent.Future[Option[org.make.core.feature.ActiveFeature]] = { <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }.map[Option[org.make.core.feature.ActiveFeature]](((x0$1: Seq[org.make.core.feature.ActiveFeature]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.feature.ActiveFeature](<unapply-selector>) <unapply> ((head @ _)) => scala.Some.apply[org.make.core.feature.ActiveFeature](head) case _ => scala.None }))(scala.concurrent.ExecutionContext.Implicits.global); server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))) }))))))))))
344 44117 12470 - 13577 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminDeleteActiveFeatureFromFeatureId", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => { val foundActiveFeature: scala.concurrent.Future[Option[org.make.core.feature.ActiveFeature]] = { <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }.map[Option[org.make.core.feature.ActiveFeature]](((x0$1: Seq[org.make.core.feature.ActiveFeature]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.feature.ActiveFeature](<unapply-selector>) <unapply> ((head @ _)) => scala.Some.apply[org.make.core.feature.ActiveFeature](head) case _ => scala.None }))(scala.concurrent.ExecutionContext.Implicits.global); server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))) })))))))))
344 36772 12475 - 12482 Literal <nosymbol> org.make.api.feature.adminactivefeatureapitest "admin"
344 32881 12485 - 12502 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features")
344 37797 12475 - 12502 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit])
344 45916 12483 - 12483 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.feature.adminactivefeatureapitest TupleOps.this.Join.join0P[Unit]
344 50407 12470 - 12503 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApi.this.path[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminActiveFeatureApi.this._segmentStringToPathMatcher("active-features"))(TupleOps.this.Join.join0P[Unit]))
345 39418 12514 - 12514 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2
345 31328 12514 - 13569 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminDeleteActiveFeatureFromFeatureId", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => { val foundActiveFeature: scala.concurrent.Future[Option[org.make.core.feature.ActiveFeature]] = { <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }.map[Option[org.make.core.feature.ActiveFeature]](((x0$1: Seq[org.make.core.feature.ActiveFeature]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.feature.ActiveFeature](<unapply-selector>) <unapply> ((head @ _)) => scala.Some.apply[org.make.core.feature.ActiveFeature](head) case _ => scala.None }))(scala.concurrent.ExecutionContext.Implicits.global); server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))) }))))))))
345 43299 12528 - 12567 Literal <nosymbol> org.make.api.feature.adminactivefeatureapitest "AdminDeleteActiveFeatureFromFeatureId"
345 36818 12527 - 12527 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
345 30992 12514 - 12514 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3
345 44327 12514 - 12568 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOperation("AdminDeleteActiveFeatureFromFeatureId", DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$2, DefaultAdminActiveFeatureApiComponent.this.makeOperation$default$3)
346 45411 12586 - 12586 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.feature.adminactivefeatureapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
346 49825 12586 - 12596 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.feature.adminactivefeatureapitest DefaultAdminActiveFeatureApiComponent.this.makeOAuth2
346 35510 12586 - 13559 Apply scala.Function1.apply org.make.api.feature.adminactivefeatureapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminActiveFeatureApiComponent.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(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => { val foundActiveFeature: scala.concurrent.Future[Option[org.make.core.feature.ActiveFeature]] = { <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }.map[Option[org.make.core.feature.ActiveFeature]](((x0$1: Seq[org.make.core.feature.ActiveFeature]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.feature.ActiveFeature](<unapply-selector>) <unapply> ((head @ _)) => scala.Some.apply[org.make.core.feature.ActiveFeature](head) case _ => scala.None }))(scala.concurrent.ExecutionContext.Implicits.global); server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))) }))))))
347 50328 12645 - 12676 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)
347 37830 12662 - 12675 Select scalaoauth2.provider.AuthInfo.user userAuth.user
347 43086 12645 - 13547 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => { val foundActiveFeature: scala.concurrent.Future[Option[org.make.core.feature.ActiveFeature]] = { <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }.map[Option[org.make.core.feature.ActiveFeature]](((x0$1: Seq[org.make.core.feature.ActiveFeature]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.feature.ActiveFeature](<unapply-selector>) <unapply> ((head @ _)) => scala.Some.apply[org.make.core.feature.ActiveFeature](head) case _ => scala.None }))(scala.concurrent.ExecutionContext.Implicits.global); server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))) }))))
348 51207 12693 - 13533 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminActiveFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => { val foundActiveFeature: scala.concurrent.Future[Option[org.make.core.feature.ActiveFeature]] = { <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }.map[Option[org.make.core.feature.ActiveFeature]](((x0$1: Seq[org.make.core.feature.ActiveFeature]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.feature.ActiveFeature](<unapply-selector>) <unapply> ((head @ _)) => scala.Some.apply[org.make.core.feature.ActiveFeature](head) case _ => scala.None }))(scala.concurrent.ExecutionContext.Implicits.global); server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))) })))
348 43338 12693 - 12706 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest DefaultAdminActiveFeatureApi.this.decodeRequest
349 31027 12734 - 12734 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)
349 49867 12725 - 12757 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder))))
349 39178 12734 - 12734 Select org.make.api.feature.ActiveFeatureRequest.decoder feature.this.ActiveFeatureRequest.decoder
349 37575 12725 - 13517 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.feature.ActiveFeatureRequest,)](DefaultAdminActiveFeatureApi.this.entity[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]).apply(((request: org.make.api.feature.ActiveFeatureRequest) => { val foundActiveFeature: scala.concurrent.Future[Option[org.make.core.feature.ActiveFeature]] = { <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }.map[Option[org.make.core.feature.ActiveFeature]](((x0$1: Seq[org.make.core.feature.ActiveFeature]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.feature.ActiveFeature](<unapply-selector>) <unapply> ((head @ _)) => scala.Some.apply[org.make.core.feature.ActiveFeature](head) case _ => scala.None }))(scala.concurrent.ExecutionContext.Implicits.global); server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))) }))
349 45449 12731 - 12731 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.feature.ActiveFeatureRequest]
349 44363 12734 - 12734 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder))
349 35980 12732 - 12756 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as DefaultAdminActiveFeatureApi.this.as[org.make.api.feature.ActiveFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.ActiveFeatureRequest](DefaultAdminActiveFeatureApiComponent.this.unmarshaller[org.make.api.feature.ActiveFeatureRequest](feature.this.ActiveFeatureRequest.decoder)))
350 37585 12836 - 12856 Select org.make.api.feature.ActiveFeatureServiceComponent.activeFeatureService DefaultAdminActiveFeatureApiComponent.this.activeFeatureService
351 36018 12878 - 12878 Select org.make.api.feature.ActiveFeatureService.find$default$1 qual$1.find$default$1
351 50112 12836 - 13069 Apply org.make.api.feature.ActiveFeatureService.find qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2)
351 49023 12878 - 12878 Select org.make.api.feature.ActiveFeatureService.find$default$2 qual$1.find$default$2
351 37628 12878 - 12878 Select org.make.api.feature.ActiveFeatureService.find$default$4 qual$1.find$default$4
351 45194 12878 - 12878 Select org.make.api.feature.ActiveFeatureService.find$default$3 qual$1.find$default$3
352 50361 12966 - 12981 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)
352 42492 12924 - 12982 Apply scala.Option.map request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId)))
353 43572 13019 - 13047 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId))
353 38676 13028 - 13045 Select org.make.api.feature.ActiveFeatureRequest.featureId request.featureId
353 31069 13024 - 13046 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)
355 30816 13095 - 13095 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
355 43615 12836 - 13214 ApplyToImplicitArgs scala.concurrent.Future.map { <artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminActiveFeatureApiComponent.this.activeFeatureService; <artifact> val x$1: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = request.maybeQuestionId.map[Seq[org.make.core.question.QuestionId]](((questionId: org.make.core.question.QuestionId) => scala.`package`.Seq.apply[org.make.core.question.QuestionId](questionId))); <artifact> val x$2: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](request.featureId)); <artifact> val x$3: org.make.core.technical.Pagination.Offset = qual$1.find$default$1; <artifact> val x$4: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2; <artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3; <artifact> val x$6: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4; qual$1.find(x$3, x$4, x$5, x$6, x$1, x$2) }.map[Option[org.make.core.feature.ActiveFeature]](((x0$1: Seq[org.make.core.feature.ActiveFeature]) => x0$1 match { case scala.`package`.Seq.unapplySeq[org.make.core.feature.ActiveFeature](<unapply-selector>) <unapply> ((head @ _)) => scala.Some.apply[org.make.core.feature.ActiveFeature](head) case _ => scala.None }))(scala.concurrent.ExecutionContext.Implicits.global)
356 42531 13137 - 13147 Apply scala.Some.apply scala.Some.apply[org.make.core.feature.ActiveFeature](head)
357 35725 13188 - 13192 Select scala.None scala.None
359 49822 13252 - 13252 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]
359 35763 13233 - 13273 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound
359 42007 13233 - 13499 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.feature.ActiveFeature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.ActiveFeature](foundActiveFeature).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.ActiveFeature]).apply(((activeFeature: org.make.core.feature.ActiveFeature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))
360 37382 13313 - 13384 Apply org.make.api.feature.ActiveFeatureService.deleteActiveFeature DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)
360 45941 13354 - 13383 Select org.make.core.feature.ActiveFeature.activeFeatureId activeFeature.activeFeatureId
360 49862 13313 - 13479 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
360 42290 13385 - 13385 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Unit]
360 50152 13313 - 13396 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminActiveFeatureApiComponent.this.activeFeatureService.deleteActiveFeature(activeFeature.activeFeatureId)).asDirective
361 35803 13426 - 13457 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete DefaultAdminActiveFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
361 35471 13435 - 13456 Select akka.http.scaladsl.model.StatusCodes.NoContent akka.http.scaladsl.model.StatusCodes.NoContent
361 44664 13435 - 13456 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
361 31575 13447 - 13447 Select akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode marshalling.this.Marshaller.fromStatusCode
382 49604 14015 - 14050 ApplyToImplicitArgs io.circe.generic.semiauto.deriveDecoder io.circe.generic.semiauto.deriveDecoder[org.make.api.feature.ActiveFeatureRequest]({ val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.ActiveFeatureRequest] = { final class anon$lazy$macro$11 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$11 = { anon$lazy$macro$11.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.ActiveFeatureRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.feature.ActiveFeatureRequest, shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.feature.ActiveFeatureRequest, (Symbol @@ String("featureId")) :: (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil, org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.feature.ActiveFeatureRequest, (Symbol @@ String("featureId")) :: (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil](::.apply[Symbol @@ String("featureId"), (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil.type](scala.Symbol.apply("featureId").asInstanceOf[Symbol @@ String("featureId")], ::.apply[Symbol @@ String("maybeQuestionId"), shapeless.HNil.type](scala.Symbol.apply("maybeQuestionId").asInstanceOf[Symbol @@ String("maybeQuestionId")], HNil))), Generic.instance[org.make.api.feature.ActiveFeatureRequest, org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil](((x0$3: org.make.api.feature.ActiveFeatureRequest) => x0$3 match { case (featureId: org.make.core.feature.FeatureId, maybeQuestionId: Option[org.make.core.question.QuestionId]): org.make.api.feature.ActiveFeatureRequest((featureId$macro$8 @ _), (maybeQuestionId$macro$9 @ _)) => ::.apply[org.make.core.feature.FeatureId, Option[org.make.core.question.QuestionId] :: shapeless.HNil.type](featureId$macro$8, ::.apply[Option[org.make.core.question.QuestionId], shapeless.HNil.type](maybeQuestionId$macro$9, HNil)).asInstanceOf[org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil] }), ((x0$4: org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil) => x0$4 match { case (head: org.make.core.feature.FeatureId, tail: Option[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil((featureId$macro$6 @ _), (head: Option[org.make.core.question.QuestionId], tail: shapeless.HNil): Option[org.make.core.question.QuestionId] :: shapeless.HNil((maybeQuestionId$macro$7 @ _), HNil)) => feature.this.ActiveFeatureRequest.apply(featureId$macro$6, maybeQuestionId$macro$7) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("featureId"), org.make.core.feature.FeatureId, (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil, Option[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("maybeQuestionId"), Option[org.make.core.question.QuestionId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("maybeQuestionId")]](scala.Symbol.apply("maybeQuestionId").asInstanceOf[Symbol @@ String("maybeQuestionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("maybeQuestionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("featureId")]](scala.Symbol.apply("featureId").asInstanceOf[Symbol @@ String("featureId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("featureId")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.ActiveFeatureRequest]]; <stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForfeatureId: io.circe.Decoder[org.make.core.feature.FeatureId] = feature.this.FeatureId.featureIdDecoder; private[this] val circeGenericDecoderFormaybeQuestionId: io.circe.Decoder[Option[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeOption[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder); final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("featureId"), org.make.core.feature.FeatureId, shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfeatureId.tryDecode(c.downField("featureId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("maybeQuestionId"), Option[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFormaybeQuestionId.tryDecode(c.downField("maybeQuestionId")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("featureId"), org.make.core.feature.FeatureId, shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfeatureId.tryDecodeAccumulating(c.downField("featureId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("maybeQuestionId"), Option[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFormaybeQuestionId.tryDecodeAccumulating(c.downField("maybeQuestionId")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$11().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.ActiveFeatureRequest]](inst$macro$12) })
395 42043 14566 - 14577 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.feature.ActiveFeatureResponse]({ val inst$macro$16: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.feature.ActiveFeatureResponse] = { final class anon$lazy$macro$15 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$15 = { anon$lazy$macro$15.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.feature.ActiveFeatureResponse] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.feature.ActiveFeatureResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.feature.ActiveFeatureResponse, (Symbol @@ String("id")) :: (Symbol @@ String("featureId")) :: (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil, org.make.core.feature.ActiveFeatureId :: org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.feature.ActiveFeatureResponse, (Symbol @@ String("id")) :: (Symbol @@ String("featureId")) :: (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("featureId")) :: (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("featureId"), (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil.type](scala.Symbol.apply("featureId").asInstanceOf[Symbol @@ String("featureId")], ::.apply[Symbol @@ String("maybeQuestionId"), shapeless.HNil.type](scala.Symbol.apply("maybeQuestionId").asInstanceOf[Symbol @@ String("maybeQuestionId")], HNil)))), Generic.instance[org.make.api.feature.ActiveFeatureResponse, org.make.core.feature.ActiveFeatureId :: org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil](((x0$3: org.make.api.feature.ActiveFeatureResponse) => x0$3 match { case (id: org.make.core.feature.ActiveFeatureId, featureId: org.make.core.feature.FeatureId, maybeQuestionId: Option[org.make.core.question.QuestionId]): org.make.api.feature.ActiveFeatureResponse((id$macro$11 @ _), (featureId$macro$12 @ _), (maybeQuestionId$macro$13 @ _)) => ::.apply[org.make.core.feature.ActiveFeatureId, org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil.type](id$macro$11, ::.apply[org.make.core.feature.FeatureId, Option[org.make.core.question.QuestionId] :: shapeless.HNil.type](featureId$macro$12, ::.apply[Option[org.make.core.question.QuestionId], shapeless.HNil.type](maybeQuestionId$macro$13, HNil))).asInstanceOf[org.make.core.feature.ActiveFeatureId :: org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil] }), ((x0$4: org.make.core.feature.ActiveFeatureId :: org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil) => x0$4 match { case (head: org.make.core.feature.ActiveFeatureId, tail: org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.feature.ActiveFeatureId :: org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil((id$macro$8 @ _), (head: org.make.core.feature.FeatureId, tail: Option[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil((featureId$macro$9 @ _), (head: Option[org.make.core.question.QuestionId], tail: shapeless.HNil): Option[org.make.core.question.QuestionId] :: shapeless.HNil((maybeQuestionId$macro$10 @ _), HNil))) => feature.this.ActiveFeatureResponse.apply(id$macro$8, featureId$macro$9, maybeQuestionId$macro$10) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.feature.ActiveFeatureId, (Symbol @@ String("featureId")) :: (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil, org.make.core.feature.FeatureId :: Option[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("featureId"), org.make.core.feature.FeatureId, (Symbol @@ String("maybeQuestionId")) :: shapeless.HNil, Option[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("maybeQuestionId"), Option[org.make.core.question.QuestionId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("maybeQuestionId")]](scala.Symbol.apply("maybeQuestionId").asInstanceOf[Symbol @@ String("maybeQuestionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("maybeQuestionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("featureId")]](scala.Symbol.apply("featureId").asInstanceOf[Symbol @@ String("featureId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("featureId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.feature.ActiveFeatureResponse]]; <stable> <accessor> lazy val inst$macro$14: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.feature.ActiveFeatureId] = feature.this.ActiveFeatureId.activeFeatureIdDecoder; private[this] val circeGenericDecoderForfeatureId: io.circe.Decoder[org.make.core.feature.FeatureId] = feature.this.FeatureId.featureIdDecoder; private[this] val circeGenericDecoderFormaybeQuestionId: 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 circeGenericEncoderForid: io.circe.Encoder[org.make.core.feature.ActiveFeatureId] = feature.this.ActiveFeatureId.activeFeatureIdEncoder; private[this] val circeGenericEncoderForfeatureId: io.circe.Encoder[org.make.core.feature.FeatureId] = feature.this.FeatureId.featureIdEncoder; private[this] val circeGenericEncoderFormaybeQuestionId: io.circe.Encoder[Option[org.make.core.question.QuestionId]] = circe.this.Encoder.encodeOption[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdEncoder); final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId], tail: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId], tail: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForfeatureId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFormaybeQuestionId @ _), shapeless.HNil))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("featureId", $anon.this.circeGenericEncoderForfeatureId.apply(circeGenericHListBindingForfeatureId)), scala.Tuple2.apply[String, io.circe.Json]("maybeQuestionId", $anon.this.circeGenericEncoderFormaybeQuestionId.apply(circeGenericHListBindingFormaybeQuestionId)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.feature.ActiveFeatureId, shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("featureId"), org.make.core.feature.FeatureId, shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfeatureId.tryDecode(c.downField("featureId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("maybeQuestionId"), Option[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFormaybeQuestionId.tryDecode(c.downField("maybeQuestionId")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.feature.ActiveFeatureId, shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("featureId"), org.make.core.feature.FeatureId, shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfeatureId.tryDecodeAccumulating(c.downField("featureId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("maybeQuestionId"), Option[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFormaybeQuestionId.tryDecodeAccumulating(c.downField("maybeQuestionId")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.ActiveFeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("maybeQuestionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$15().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.feature.ActiveFeatureResponse]](inst$macro$16) })
398 35256 14650 - 14817 Apply org.make.api.feature.ActiveFeatureResponse.apply ActiveFeatureResponse.apply(activeFeature.activeFeatureId, activeFeature.featureId, activeFeature.maybeQuestionId)
399 37336 14684 - 14713 Select org.make.core.feature.ActiveFeature.activeFeatureId activeFeature.activeFeatureId
400 50657 14733 - 14756 Select org.make.core.feature.ActiveFeature.featureId activeFeature.featureId
401 43127 14782 - 14811 Select org.make.core.feature.ActiveFeature.maybeQuestionId activeFeature.maybeQuestionId