| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
176
|
50693
|
5886
-
5963
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this.adminGetFeature).~(AdminFeatureApi.this.adminCreateFeature)).~(AdminFeatureApi.this.adminListFeatures)).~(AdminFeatureApi.this.adminUpdateFeature)
|
|
176
|
37372
|
5945
-
5963
|
Select
|
org.make.api.feature.AdminFeatureApi.adminUpdateFeature
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this.adminUpdateFeature
|
|
176
|
35757
|
5886
-
5922
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this.adminGetFeature).~(AdminFeatureApi.this.adminCreateFeature)
|
|
176
|
42285
|
5966
-
5984
|
Select
|
org.make.api.feature.AdminFeatureApi.adminDeleteFeature
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this.adminDeleteFeature
|
|
176
|
41791
|
5886
-
5942
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this.adminGetFeature).~(AdminFeatureApi.this.adminCreateFeature)).~(AdminFeatureApi.this.adminListFeatures)
|
|
176
|
49644
|
5925
-
5942
|
Select
|
org.make.api.feature.AdminFeatureApi.adminListFeatures
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this.adminListFeatures
|
|
176
|
43869
|
5904
-
5922
|
Select
|
org.make.api.feature.AdminFeatureApi.adminCreateFeature
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this.adminCreateFeature
|
|
176
|
34703
|
5886
-
5984
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this._enhanceRouteWithConcatenation(AdminFeatureApi.this.adminGetFeature).~(AdminFeatureApi.this.adminCreateFeature)).~(AdminFeatureApi.this.adminListFeatures)).~(AdminFeatureApi.this.adminUpdateFeature)).~(AdminFeatureApi.this.adminDeleteFeature)
|
|
176
|
30809
|
5886
-
5901
|
Select
|
org.make.api.feature.AdminFeatureApi.adminGetFeature
|
org.make.api.feature.adminfeatureapitest
|
AdminFeatureApi.this.adminGetFeature
|
|
197
|
35793
|
6578
-
6610
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.feature.adminfeatureapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminFeatureApi.this.Segment).map[org.make.core.feature.FeatureId](((id: String) => org.make.core.feature.FeatureId.apply(id)))
|
|
197
|
43911
|
6596
-
6609
|
Apply
|
org.make.core.feature.FeatureId.apply
|
org.make.api.feature.adminfeatureapitest
|
org.make.core.feature.FeatureId.apply(id)
|
|
197
|
47775
|
6578
-
6585
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.Segment
|
|
200
|
48818
|
6662
-
6665
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.get
|
|
200
|
49686
|
6662
-
7541
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]).apply(((featureId: org.make.core.feature.FeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminGetFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.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],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$2: org.make.core.feature.ActiveFeature) => x$2.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))))))))))
|
|
201
|
36685
|
6676
-
7533
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]).apply(((featureId: org.make.core.feature.FeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminGetFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.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],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$2: org.make.core.feature.ActiveFeature) => x$2.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
})))))))))
|
|
201
|
34460
|
6702
-
6702
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.feature.adminfeatureapitest
|
TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)]
|
|
201
|
41999
|
6681
-
6688
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"admin"
|
|
201
|
48527
|
6681
-
6718
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])
|
|
201
|
43948
|
6676
-
6719
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)]))
|
|
201
|
36857
|
6680
-
6680
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]
|
|
201
|
42324
|
6704
-
6718
|
Select
|
org.make.api.feature.DefaultAdminFeatureApiComponent.DefaultAdminFeatureApi.adminFeatureId
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.adminFeatureId
|
|
201
|
51199
|
6689
-
6689
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.feature.adminfeatureapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
201
|
37412
|
6691
-
6701
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features")
|
|
202
|
43378
|
6758
-
6758
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
202
|
40480
|
6745
-
7523
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminGetFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.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],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$2: org.make.core.feature.ActiveFeature) => x$2.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
})))))))
|
|
202
|
37866
|
6745
-
6745
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$3
|
|
202
|
48850
|
6759
-
6776
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"AdminGetFeature"
|
|
202
|
41747
|
6745
-
6745
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$2
|
|
202
|
51242
|
6745
-
6777
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation("AdminGetFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3)
|
|
203
|
35253
|
6797
-
6807
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOAuth2
|
|
203
|
48069
|
6797
-
7511
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$2: org.make.core.feature.ActiveFeature) => x$2.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
})))))
|
|
203
|
48564
|
6797
-
6797
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
204
|
36896
|
6858
-
6889
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)
|
|
204
|
35589
|
6858
-
7497
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$2: org.make.core.feature.ActiveFeature) => x$2.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
})))
|
|
204
|
43860
|
6875
-
6888
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
205
|
50434
|
6908
-
7096
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)
|
|
206
|
41788
|
6928
-
6986
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound
|
|
206
|
49910
|
6928
-
6964
|
Apply
|
org.make.api.feature.FeatureService.getFeature
|
|
DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)
|
|
207
|
35004
|
7027
-
7027
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$1
|
|
qual$1.find$default$1
|
|
207
|
48321
|
7027
-
7027
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$2
|
|
qual$1.find$default$2
|
|
207
|
34208
|
7006
-
7026
|
Select
|
org.make.api.feature.ActiveFeatureServiceComponent.activeFeatureService
|
|
DefaultAdminFeatureApiComponent.this.activeFeatureService
|
|
207
|
43419
|
7045
-
7065
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](featureId))
|
|
207
|
41824
|
7006
-
7066
|
Apply
|
org.make.api.feature.ActiveFeatureService.find
|
|
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
|
|
207
|
50398
|
7050
-
7064
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.feature.FeatureId](featureId)
|
|
207
|
49393
|
7027
-
7027
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$5
|
|
qual$1.find$default$5
|
|
207
|
36055
|
7027
-
7027
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$4
|
|
qual$1.find$default$4
|
|
207
|
43899
|
7027
-
7027
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$3
|
|
qual$1.find$default$3
|
|
207
|
33967
|
7006
-
7078
|
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 = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective
|
|
208
|
35042
|
7097
-
7097
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
208
|
48359
|
6908
-
7103
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
208
|
42566
|
7097
-
7097
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
208
|
39943
|
7097
-
7097
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]
|
|
208
|
43164
|
6908
-
7481
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$2: org.make.core.feature.ActiveFeature) => x$2.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
|
|
210
|
36089
|
7225
-
7242
|
Select
|
org.make.core.feature.ActiveFeature.maybeQuestionId
|
|
x$2.maybeQuestionId
|
|
210
|
48840
|
7202
-
7252
|
Select
|
scala.collection.SeqOps.distinct
|
|
activeFeatures.flatMap[org.make.core.question.QuestionId](((x$2: org.make.core.feature.ActiveFeature) => x$2.maybeQuestionId)).distinct
|
|
211
|
41578
|
7326
-
7343
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds)
|
|
211
|
35845
|
7304
-
7304
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$8
|
|
org.make.api.question.SearchQuestionRequest.apply$default$8
|
|
211
|
46255
|
7273
-
7462
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
|
|
211
|
34487
|
7304
-
7304
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$5
|
|
org.make.api.question.SearchQuestionRequest.apply$default$5
|
|
211
|
43371
|
7304
-
7304
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$4
|
|
org.make.api.question.SearchQuestionRequest.apply$default$4
|
|
211
|
49902
|
7304
-
7304
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$9
|
|
org.make.api.question.SearchQuestionRequest.apply$default$9
|
|
211
|
48108
|
7304
-
7304
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$6
|
|
org.make.api.question.SearchQuestionRequest.apply$default$6
|
|
211
|
33193
|
7273
-
7345
|
Apply
|
org.make.api.question.QuestionService.searchQuestion
|
|
DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))
|
|
211
|
43406
|
7346
-
7346
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]
|
|
211
|
50189
|
7304
-
7304
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$3
|
|
org.make.api.question.SearchQuestionRequest.apply$default$3
|
|
211
|
39979
|
7304
-
7304
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$7
|
|
org.make.api.question.SearchQuestionRequest.apply$default$7
|
|
211
|
50230
|
7273
-
7357
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective
|
|
211
|
33453
|
7304
-
7304
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$2
|
|
org.make.api.question.SearchQuestionRequest.apply$default$2
|
|
211
|
41025
|
7304
-
7344
|
Apply
|
org.make.api.question.SearchQuestionRequest.apply
|
|
org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9)
|
|
212
|
33961
|
7395
-
7440
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))
|
|
212
|
42082
|
7404
-
7439
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse])))
|
|
212
|
36648
|
7419
-
7419
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse])
|
|
212
|
39734
|
7419
-
7419
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]
|
|
212
|
35553
|
7404
-
7439
|
Apply
|
org.make.api.feature.FeatureResponse.apply
|
|
FeatureResponse.apply(feature, questions)
|
|
212
|
49943
|
7419
-
7419
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))
|
|
212
|
48313
|
7419
-
7419
|
Select
|
org.make.api.feature.FeatureResponse.encoder
|
|
feature.this.FeatureResponse.encoder
|
|
225
|
41572
|
7718
-
7722
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.post
|
|
225
|
39818
|
7718
-
8927
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.path[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminRegisterFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.CreateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.CreateFeatureRequest]).apply(((request: org.make.api.feature.CreateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}))))))))))))))
|
|
226
|
33709
|
7736
-
7743
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"admin"
|
|
226
|
46461
|
7746
-
7756
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features")
|
|
226
|
48104
|
7731
-
7757
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.path[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit]))
|
|
226
|
35337
|
7736
-
7756
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])
|
|
226
|
43199
|
7744
-
7744
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.feature.adminfeatureapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
226
|
47676
|
7731
-
8921
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.path[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminRegisterFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.CreateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.CreateFeatureRequest]).apply(((request: org.make.api.feature.CreateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
})))))))))))))
|
|
227
|
41329
|
7768
-
7805
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation("AdminRegisterFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3)
|
|
227
|
35623
|
7768
-
8913
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminRegisterFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.CreateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.CreateFeatureRequest]).apply(((request: org.make.api.feature.CreateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}))))))))))))
|
|
227
|
35832
|
7768
-
7768
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$2
|
|
227
|
49729
|
7768
-
7768
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$3
|
|
227
|
40517
|
7782
-
7804
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"AdminRegisterFeature"
|
|
227
|
33755
|
7781
-
7781
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
228
|
42355
|
7823
-
7823
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
228
|
38459
|
7823
-
8903
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.CreateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.CreateFeatureRequest]).apply(((request: org.make.api.feature.CreateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}))))))))))
|
|
228
|
46501
|
7823
-
7833
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOAuth2
|
|
229
|
34830
|
7899
-
7912
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
229
|
47860
|
7882
-
7913
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)
|
|
229
|
47339
|
7882
-
8891
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.CreateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.CreateFeatureRequest]).apply(((request: org.make.api.feature.CreateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}))))))))
|
|
230
|
33274
|
7930
-
8877
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.CreateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.CreateFeatureRequest]).apply(((request: org.make.api.feature.CreateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
})))))))
|
|
230
|
40266
|
7930
-
7943
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminFeatureApi.this.decodeRequest
|
|
231
|
33790
|
7969
-
7993
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)))
|
|
231
|
41158
|
7962
-
8861
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.feature.CreateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.CreateFeatureRequest]).apply(((request: org.make.api.feature.CreateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}))))))
|
|
231
|
41367
|
7971
-
7971
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder))
|
|
231
|
42390
|
7968
-
7968
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.feature.CreateFeatureRequest]
|
|
231
|
32132
|
7971
-
7971
|
Select
|
org.make.api.feature.CreateFeatureRequest.decoder
|
|
feature.this.CreateFeatureRequest.decoder
|
|
231
|
48885
|
7971
-
7971
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder)
|
|
231
|
46250
|
7962
-
7994
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminFeatureApi.this.entity[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.CreateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.CreateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.CreateFeatureRequest](feature.this.CreateFeatureRequest.decoder))))
|
|
232
|
31882
|
8088
-
8088
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]
|
|
232
|
47900
|
8048
-
8087
|
Apply
|
org.make.api.feature.FeatureService.findBySlug
|
|
DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)
|
|
232
|
44941
|
8048
-
8843
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}))))
|
|
232
|
39766
|
8048
-
8099
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective
|
|
232
|
35292
|
8074
-
8086
|
Select
|
org.make.api.feature.CreateFeatureRequest.slug
|
|
request.slug
|
|
233
|
31924
|
8137
-
8430
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})
|
|
234
|
33533
|
8161
-
8347
|
Apply
|
org.make.core.Validation.IterableWithParsers.toEmpty
|
|
org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden"))
|
|
235
|
49679
|
8206
-
8220
|
Literal
|
<nosymbol>
|
|
"feature_slug"
|
|
236
|
42108
|
8246
-
8323
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")
|
|
238
|
35330
|
8401
-
8407
|
Literal
|
<nosymbol>
|
|
"name"
|
|
238
|
46293
|
8371
-
8383
|
Select
|
org.make.api.feature.CreateFeatureRequest.name
|
|
request.name
|
|
238
|
38428
|
8371
-
8383
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(request.name)
|
|
238
|
40829
|
8371
-
8408
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$1.toSanitizedInput("name", x$2)
|
|
238
|
48634
|
8384
-
8384
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$1.toSanitizedInput$default$2
|
|
239
|
33742
|
8431
-
8431
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
239
|
35369
|
8462
-
8473
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.failWith
|
|
DefaultAdminFeatureApi.this.failWith(x$4)
|
|
239
|
47343
|
8431
-
8431
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
239
|
49436
|
8431
-
8431
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
239
|
41867
|
8431
-
8431
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
239
|
39228
|
8137
-
8437
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))
|
|
239
|
31916
|
8137
-
8823
|
Apply
|
scala.util.Either.fold
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,Nil.type], cats.data.ValidatedNec[org.make.core.ValidationError,eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]](org.make.core.Validation.IterableWithParsers[org.make.core.feature.Feature](featureList).toEmpty("feature_slug", scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are forbidden")), {
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(request.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
})).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).toValidationEither.fold[akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult]](((x$4: org.make.core.ValidationFailedError) => DefaultAdminFeatureApi.this.failWith(x$4)), ((x0$1: (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])) => x0$1 match {
case (_1: Nil.type, _2: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]): (Nil.type, eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml])(_, (sanitizedName @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}))
|
|
241
|
41901
|
8588
-
8588
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.feature.Feature]
|
|
241
|
38982
|
8559
-
8559
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.feature.Feature]
|
|
241
|
48396
|
8560
-
8574
|
Select
|
org.make.api.feature.FeatureServiceComponent.featureService
|
|
DefaultAdminFeatureApiComponent.this.featureService
|
|
241
|
32985
|
8624
-
8636
|
Select
|
org.make.api.feature.CreateFeatureRequest.slug
|
|
request.slug
|
|
241
|
40258
|
8596
-
8615
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
sanitizedName.value
|
|
241
|
33490
|
8560
-
8637
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])
|
|
241
|
46777
|
8550
-
8638
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature]))
|
|
241
|
49471
|
8560
-
8637
|
Apply
|
org.make.api.feature.FeatureService.createFeature
|
|
qual$2.createFeature(x$4, x$3)
|
|
241
|
40056
|
8550
-
8800
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.feature.Feature]({
<artifact> val qual$2: org.make.api.feature.FeatureService = DefaultAdminFeatureApiComponent.this.featureService;
<artifact> val x$3: String = sanitizedName.value;
<artifact> val x$4: org.make.core.feature.FeatureSlug = request.slug;
qual$2.createFeature(x$4, x$3)
})(util.this.Tupler.forAnyRef[org.make.core.feature.Feature])))(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((feature: org.make.core.feature.Feature) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
|
|
243
|
35154
|
8715
-
8773
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse])))
|
|
243
|
46542
|
8735
-
8735
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse])
|
|
243
|
33527
|
8735
-
8735
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]
|
|
243
|
31879
|
8715
-
8773
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing]))
|
|
243
|
35118
|
8715
-
8734
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
243
|
47639
|
8706
-
8774
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))
|
|
243
|
41655
|
8735
-
8735
|
Select
|
org.make.api.feature.FeatureResponse.encoder
|
|
feature.this.FeatureResponse.encoder
|
|
243
|
38424
|
8735
-
8735
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))
|
|
243
|
47892
|
8763
-
8772
|
TypeApply
|
scala.collection.SeqFactory.Delegate.empty
|
|
scala.`package`.Seq.empty[Nothing]
|
|
243
|
45801
|
8735
-
8735
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
243
|
40023
|
8738
-
8773
|
Apply
|
org.make.api.feature.FeatureResponse.apply
|
|
FeatureResponse.apply(feature, scala.`package`.Seq.empty[Nothing])
|
|
256
|
50579
|
8981
-
11472
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.path[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminSearchFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: 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[String])](DefaultAdminFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(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[String]]).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], maybeSlug: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply({
val futureFeatures: scala.concurrent.Future[Seq[org.make.core.feature.Feature]] = DefaultAdminFeatureApiComponent.this.featureService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, maybeSlug);
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((filteredFeatures: Seq[org.make.core.feature.Feature]) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))))))
})))))))))
|
|
256
|
32981
|
8981
-
8984
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.get
|
|
257
|
39520
|
8995
-
9021
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.path[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit]))
|
|
257
|
47382
|
9000
-
9020
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])
|
|
257
|
41607
|
9010
-
9020
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features")
|
|
257
|
33317
|
9008
-
9008
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.feature.adminfeatureapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
257
|
37799
|
8995
-
11464
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.path[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminSearchFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: 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[String])](DefaultAdminFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(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[String]]).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], maybeSlug: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply({
val futureFeatures: scala.concurrent.Future[Seq[org.make.core.feature.Feature]] = DefaultAdminFeatureApiComponent.this.featureService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, maybeSlug);
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((filteredFeatures: Seq[org.make.core.feature.Feature]) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))))))
}))))))))
|
|
257
|
44982
|
9000
-
9007
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"admin"
|
|
258
|
31386
|
9048
-
9068
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"AdminSearchFeature"
|
|
258
|
46049
|
9047
-
9047
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
258
|
48142
|
9034
-
9034
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$2
|
|
258
|
39855
|
9034
-
9034
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$3
|
|
258
|
45372
|
9034
-
11454
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminSearchFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: 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[String])](DefaultAdminFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(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[String]]).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], maybeSlug: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply({
val futureFeatures: scala.concurrent.Future[Seq[org.make.core.feature.Feature]] = DefaultAdminFeatureApiComponent.this.featureService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, maybeSlug);
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((filteredFeatures: Seq[org.make.core.feature.Feature]) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))))))
})))))))
|
|
258
|
33020
|
9034
-
9069
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation("AdminSearchFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3)
|
|
259
|
46045
|
9099
-
9099
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac5
|
org.make.api.feature.adminfeatureapitest
|
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[String]]
|
|
259
|
31964
|
9089
-
9289
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])))
|
|
260
|
31126
|
9115
-
9147
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.feature.adminfeatureapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApiComponent.this.startFromIntUnmarshaller))
|
|
260
|
39559
|
9146
-
9146
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApiComponent.this.startFromIntUnmarshaller)
|
|
260
|
34071
|
9115
-
9147
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
260
|
47123
|
9146
-
9146
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.startFromIntUnmarshaller
|
|
260
|
41647
|
9115
-
9123
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"_start"
|
|
261
|
40043
|
9163
-
9190
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
261
|
45546
|
9189
-
9189
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminFeatureApiComponent.this.endFromIntUnmarshaller)
|
|
261
|
37683
|
9163
-
9190
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.feature.adminfeatureapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminFeatureApiComponent.this.endFromIntUnmarshaller))
|
|
261
|
48183
|
9163
-
9169
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"_end"
|
|
261
|
32766
|
9189
-
9189
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.endFromIntUnmarshaller
|
|
262
|
48217
|
9206
-
9215
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.feature.adminfeatureapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
262
|
39311
|
9214
-
9214
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
262
|
33826
|
9206
-
9213
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"_sort"
|
|
262
|
46566
|
9206
-
9215
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._string2NR("_sort").?
|
|
262
|
31165
|
9214
-
9214
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
263
|
33306
|
9231
-
9251
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.feature.adminfeatureapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
263
|
32205
|
9231
-
9251
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
263
|
37722
|
9250
-
9250
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
263
|
39809
|
9231
-
9239
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"_order"
|
|
263
|
45290
|
9250
-
9250
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
264
|
46333
|
9267
-
9273
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"slug"
|
|
264
|
39513
|
9267
-
9275
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._string2NR("slug").?
|
|
264
|
47976
|
9274
-
9274
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
264
|
39844
|
9267
-
9275
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.feature.adminfeatureapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
264
|
30914
|
9274
-
9274
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.feature.adminfeatureapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
265
|
32337
|
9089
-
11442
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
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[String])](DefaultAdminFeatureApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminFeatureApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminFeatureApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminFeatureApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminFeatureApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminFeatureApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminFeatureApi.this._string2NR("slug").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(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[String]]).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], maybeSlug: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply({
val futureFeatures: scala.concurrent.Future[Seq[org.make.core.feature.Feature]] = DefaultAdminFeatureApiComponent.this.featureService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, maybeSlug);
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((filteredFeatures: Seq[org.make.core.feature.Feature]) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))))))
})))))
|
|
273
|
37765
|
9557
-
9567
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOAuth2
|
|
273
|
34379
|
9557
-
9557
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
273
|
36192
|
9557
-
11428
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply({
val futureFeatures: scala.concurrent.Future[Seq[org.make.core.feature.Feature]] = DefaultAdminFeatureApiComponent.this.featureService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, maybeSlug);
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((filteredFeatures: Seq[org.make.core.feature.Feature]) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))))))
})))
|
|
274
|
39274
|
9622
-
9653
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)
|
|
274
|
46370
|
9639
-
9652
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
274
|
44034
|
9622
-
11410
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApiComponent.this.requireAdminRole(userAuth.user)).apply({
val futureFeatures: scala.concurrent.Future[Seq[org.make.core.feature.Feature]] = DefaultAdminFeatureApiComponent.this.featureService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, maybeSlug);
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((filteredFeatures: Seq[org.make.core.feature.Feature]) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))))))
})
|
|
276
|
31676
|
9749
-
9762
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
276
|
43746
|
9697
-
9820
|
Apply
|
org.make.api.feature.FeatureService.find
|
|
DefaultAdminFeatureApiComponent.this.featureService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, maybeSlug)
|
|
278
|
31248
|
9842
-
11390
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((count: Int) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((filteredFeatures: Seq[org.make.core.feature.Feature]) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))))))
|
|
278
|
40910
|
9842
-
9880
|
Apply
|
org.make.api.feature.FeatureService.count
|
|
DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)
|
|
278
|
46080
|
9881
-
9881
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Int]
|
|
278
|
32759
|
9842
-
9892
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminFeatureApiComponent.this.featureService.count(maybeSlug)).asDirective
|
|
279
|
38219
|
9936
-
9936
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]]
|
|
279
|
39307
|
9935
-
9935
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]
|
|
279
|
34413
|
9936
-
9950
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])
|
|
279
|
38848
|
9926
-
11368
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]])))(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((filteredFeatures: Seq[org.make.core.feature.Feature]) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))))
|
|
279
|
47425
|
9926
-
9951
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultAdminFeatureApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Seq[org.make.core.feature.Feature]](futureFeatures)(util.this.Tupler.forAnyRef[Seq[org.make.core.feature.Feature]]))
|
|
280
|
31467
|
9998
-
10077
|
Apply
|
org.make.api.feature.ActiveFeatureService.find
|
|
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
|
|
280
|
40944
|
10042
-
10075
|
Apply
|
scala.collection.IterableOps.map
|
|
filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId))
|
|
280
|
37717
|
10019
-
10019
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$2
|
|
qual$1.find$default$2
|
|
280
|
31711
|
9998
-
10018
|
Select
|
org.make.api.feature.ActiveFeatureServiceComponent.activeFeatureService
|
|
DefaultAdminFeatureApiComponent.this.activeFeatureService
|
|
280
|
47466
|
10019
-
10019
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$4
|
|
qual$1.find$default$4
|
|
280
|
33562
|
10019
-
10019
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$3
|
|
qual$1.find$default$3
|
|
280
|
40085
|
10078
-
10078
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]
|
|
280
|
32512
|
10037
-
10076
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)))
|
|
280
|
44211
|
10063
-
10074
|
Select
|
org.make.core.feature.Feature.featureId
|
|
x$6.featureId
|
|
280
|
45838
|
10019
-
10019
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$1
|
|
qual$1.find$default$1
|
|
280
|
44253
|
9998
-
10089
|
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 = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective
|
|
280
|
39345
|
10019
-
10019
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$5
|
|
qual$1.find$default$5
|
|
280
|
43547
|
9998
-
11344
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.ActiveFeature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: Some[Seq[org.make.core.feature.FeatureId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.feature.FeatureId]](filteredFeatures.map[org.make.core.feature.FeatureId](((x$6: org.make.core.feature.Feature) => x$6.featureId)));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.ActiveFeature]]).apply(((activeFeatures: Seq[org.make.core.feature.ActiveFeature]) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
}))
|
|
282
|
45877
|
10182
-
10232
|
Select
|
scala.collection.SeqOps.distinct
|
|
activeFeatures.flatMap[org.make.core.question.QuestionId](((x$7: org.make.core.feature.ActiveFeature) => x$7.maybeQuestionId)).distinct
|
|
282
|
32547
|
10205
-
10222
|
Select
|
org.make.core.feature.ActiveFeature.maybeQuestionId
|
|
x$7.maybeQuestionId
|
|
283
|
47383
|
10292
-
10292
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$3
|
|
org.make.api.question.SearchQuestionRequest.apply$default$3
|
|
283
|
45627
|
10292
-
10292
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$9
|
|
org.make.api.question.SearchQuestionRequest.apply$default$9
|
|
283
|
31986
|
10292
-
10292
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$8
|
|
org.make.api.question.SearchQuestionRequest.apply$default$8
|
|
283
|
40126
|
10292
-
10292
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$7
|
|
org.make.api.question.SearchQuestionRequest.apply$default$7
|
|
283
|
30951
|
10292
-
10292
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$5
|
|
org.make.api.question.SearchQuestionRequest.apply$default$5
|
|
283
|
50539
|
10261
-
11318
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => {
val questionsByFeature: scala.collection.immutable.Map[org.make.core.feature.FeatureId,scala.collection.immutable.Set[org.make.core.question.QuestionId]] = activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)));
val response: Seq[org.make.api.feature.FeatureResponse] = filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))));
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
}))
|
|
283
|
47417
|
10261
-
10345
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective
|
|
283
|
37470
|
10314
-
10331
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds)
|
|
283
|
50542
|
10261
-
10333
|
Apply
|
org.make.api.question.QuestionService.searchQuestion
|
|
DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))
|
|
283
|
37506
|
10292
-
10332
|
Apply
|
org.make.api.question.SearchQuestionRequest.apply
|
|
org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9)
|
|
283
|
44001
|
10292
-
10292
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$6
|
|
org.make.api.question.SearchQuestionRequest.apply$default$6
|
|
283
|
38531
|
10334
-
10334
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]
|
|
283
|
50789
|
10292
-
10292
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$2
|
|
org.make.api.question.SearchQuestionRequest.apply$default$2
|
|
283
|
39099
|
10292
-
10292
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$4
|
|
org.make.api.question.SearchQuestionRequest.apply$default$4
|
|
286
|
30694
|
10512
-
10523
|
Select
|
org.make.core.feature.ActiveFeature.featureId
|
|
x$8.featureId
|
|
286
|
44044
|
10540
-
10558
|
Select
|
org.make.core.feature.ActiveFeature.maybeQuestionId
|
|
af.maybeQuestionId
|
|
286
|
45832
|
10482
-
10568
|
Apply
|
scala.collection.IterableOps.groupMapReduce
|
|
activeFeatures.groupMapReduce[org.make.core.feature.FeatureId, scala.collection.immutable.Set[org.make.core.question.QuestionId]](((x$8: org.make.core.feature.ActiveFeature) => x$8.featureId))(((af: org.make.core.feature.ActiveFeature) => scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)))(((x$9: scala.collection.immutable.Set[org.make.core.question.QuestionId], x$10: scala.collection.immutable.Set[org.make.core.question.QuestionId]) => x$9.++(x$10)))
|
|
286
|
35938
|
10531
-
10559
|
Apply
|
scala.collection.immutable.Set.from
|
|
scala.Predef.Set.from[org.make.core.question.QuestionId](af.maybeQuestionId)
|
|
286
|
33061
|
10561
-
10567
|
Apply
|
scala.collection.SetOps.++
|
|
x$9.++(x$10)
|
|
287
|
36984
|
10616
-
11180
|
Apply
|
scala.collection.IterableOps.map
|
|
filteredFeatures.map[org.make.api.feature.FeatureResponse](((feature: org.make.core.feature.Feature) => FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))))
|
|
288
|
43791
|
10684
-
11146
|
Apply
|
org.make.api.feature.FeatureResponse.apply
|
|
FeatureResponse.apply(feature, questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId))))
|
|
290
|
31461
|
10804
-
11110
|
Apply
|
scala.collection.IterableOps.filter
|
|
questions.filter(((q: org.make.core.question.Question) => questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId)))
|
|
293
|
50584
|
10996
-
11005
|
TypeApply
|
scala.collection.immutable.Set.empty
|
|
scala.Predef.Set.empty[org.make.core.question.QuestionId]
|
|
293
|
37260
|
10977
-
10994
|
Select
|
org.make.core.feature.Feature.featureId
|
|
feature.featureId
|
|
294
|
39598
|
10905
-
11072
|
Apply
|
scala.collection.SetOps.contains
|
|
questionsByFeature.getOrElse[scala.collection.immutable.Set[org.make.core.question.QuestionId]](feature.featureId, scala.Predef.Set.empty[org.make.core.question.QuestionId]).contains(q.questionId)
|
|
294
|
47452
|
11059
-
11071
|
Select
|
org.make.core.question.Question.questionId
|
|
q.questionId
|
|
298
|
38046
|
11213
-
11288
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminFeatureApi.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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))))
|
|
298
|
37023
|
11222
-
11222
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]])
|
|
298
|
31206
|
11222
-
11222
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder)
|
|
298
|
39092
|
11222
-
11222
|
Select
|
org.make.api.feature.FeatureResponse.encoder
|
|
feature.this.FeatureResponse.encoder
|
|
298
|
51374
|
11239
-
11276
|
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()))
|
|
298
|
47202
|
11222
-
11287
|
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.FeatureResponse]](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())), response)
|
|
298
|
38009
|
11244
-
11275
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
298
|
45620
|
11222
-
11287
|
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.FeatureResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.feature.FeatureResponse]](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())), response))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]])))
|
|
298
|
32847
|
11222
-
11222
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.feature.FeatureResponse]](DefaultAdminFeatureApiComponent.this.marshaller[Seq[org.make.api.feature.FeatureResponse]](circe.this.Encoder.encodeSeq[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder), DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]))
|
|
298
|
45583
|
11260
-
11274
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
298
|
44536
|
11222
-
11222
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminFeatureApiComponent.this.marshaller$default$2[Seq[org.make.api.feature.FeatureResponse]]
|
|
298
|
33097
|
11223
-
11237
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
311
|
36308
|
11525
-
13207
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]).apply(((featureId: org.make.core.feature.FeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminUpdateFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$11: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.UpdateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.UpdateFeatureRequest]).apply(((request: org.make.api.feature.UpdateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => {
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")));
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
})))))))))))))
|
|
311
|
42701
|
11525
-
11528
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.put
|
|
312
|
50331
|
11541
-
11541
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]
|
|
312
|
43865
|
11537
-
13201
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]).apply(((featureId: org.make.core.feature.FeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminUpdateFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$11: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.UpdateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.UpdateFeatureRequest]).apply(((request: org.make.api.feature.UpdateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => {
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")));
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
}))))))))))))
|
|
312
|
43787
|
11550
-
11550
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.feature.adminfeatureapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
312
|
46113
|
11542
-
11579
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])
|
|
312
|
32799
|
11563
-
11563
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.feature.adminfeatureapitest
|
TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)]
|
|
312
|
37297
|
11537
-
11580
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)]))
|
|
312
|
36232
|
11565
-
11579
|
Select
|
org.make.api.feature.DefaultAdminFeatureApiComponent.DefaultAdminFeatureApi.adminFeatureId
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.adminFeatureId
|
|
312
|
31285
|
11552
-
11562
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features")
|
|
312
|
38884
|
11542
-
11549
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"admin"
|
|
313
|
39346
|
11604
-
11604
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$2
|
|
313
|
31750
|
11604
-
11604
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$3
|
|
313
|
35981
|
11617
-
11617
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
313
|
42740
|
11618
-
11638
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"AdminUpdateFeature"
|
|
313
|
48026
|
11604
-
13193
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminUpdateFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$11: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.UpdateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.UpdateFeatureRequest]).apply(((request: org.make.api.feature.UpdateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => {
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")));
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
}))))))))))
|
|
313
|
43827
|
11604
-
11639
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation("AdminUpdateFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3)
|
|
314
|
50041
|
11657
-
11667
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOAuth2
|
|
314
|
35254
|
11657
-
13183
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.UpdateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.UpdateFeatureRequest]).apply(((request: org.make.api.feature.UpdateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => {
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")));
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
}))))))))
|
|
314
|
46148
|
11657
-
11657
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
315
|
37756
|
11729
-
11738
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
315
|
43542
|
11712
-
13171
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.UpdateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.UpdateFeatureRequest]).apply(((request: org.make.api.feature.UpdateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => {
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")));
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
}))))))
|
|
315
|
50365
|
11712
-
11739
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)
|
|
316
|
50651
|
11756
-
13156
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.feature.UpdateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.UpdateFeatureRequest]).apply(((request: org.make.api.feature.UpdateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => {
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")));
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
})))))
|
|
316
|
43257
|
11756
-
11769
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminFeatureApi.this.decodeRequest
|
|
317
|
37331
|
11788
-
13140
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.feature.UpdateFeatureRequest,)](DefaultAdminFeatureApi.this.entity[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.feature.UpdateFeatureRequest]).apply(((request: org.make.api.feature.UpdateFeatureRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => {
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")));
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
}))))
|
|
317
|
31235
|
11797
-
11797
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)
|
|
317
|
44289
|
11797
-
11797
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder))
|
|
317
|
45913
|
11794
-
11794
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.feature.UpdateFeatureRequest]
|
|
317
|
50079
|
11788
-
11820
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminFeatureApi.this.entity[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder))))
|
|
317
|
36020
|
11795
-
11819
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminFeatureApi.this.as[org.make.api.feature.UpdateFeatureRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.feature.UpdateFeatureRequest](DefaultAdminFeatureApiComponent.this.unmarshaller[org.make.api.feature.UpdateFeatureRequest](feature.this.UpdateFeatureRequest.decoder)))
|
|
317
|
39381
|
11797
-
11797
|
Select
|
org.make.api.feature.UpdateFeatureRequest.decoder
|
|
feature.this.UpdateFeatureRequest.decoder
|
|
318
|
37792
|
11900
-
11912
|
Select
|
org.make.api.feature.UpdateFeatureRequest.slug
|
|
request.slug
|
|
318
|
35728
|
11914
-
11914
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]
|
|
318
|
42039
|
11874
-
13122
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.feature.Feature],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.feature.Feature]]).apply(((featureList: Seq[org.make.core.feature.Feature]) => {
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")));
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
}))
|
|
318
|
50825
|
11874
-
11913
|
Apply
|
org.make.api.feature.FeatureService.findBySlug
|
|
DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)
|
|
318
|
43298
|
11874
-
11925
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.Feature]](DefaultAdminFeatureApiComponent.this.featureService.findBySlug(request.slug)).asDirective
|
|
319
|
37543
|
11963
-
12337
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")))
|
|
320
|
45407
|
12006
-
12315
|
Apply
|
org.make.core.Validation.requireEmpty
|
|
org.make.core.Validation.requireEmpty("slug", featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId))), scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed"))
|
|
321
|
30987
|
12067
-
12073
|
Literal
|
<nosymbol>
|
|
"slug"
|
|
322
|
35939
|
12112
-
12176
|
Apply
|
scala.collection.IterableOps.filterNot
|
|
featureList.filterNot(((feature: org.make.core.feature.Feature) => feature.featureId.==(featureId)))
|
|
322
|
44324
|
12145
-
12175
|
Apply
|
java.lang.Object.==
|
|
feature.featureId.==(featureId)
|
|
323
|
49823
|
12212
-
12291
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Feature slug already exists in this context. Duplicates are not allowed")
|
|
326
|
36013
|
12358
-
12665
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)
|
|
328
|
50860
|
12466
-
12478
|
Select
|
org.make.api.feature.UpdateFeatureRequest.slug
|
|
request.slug
|
|
328
|
35472
|
12382
-
12500
|
Apply
|
org.make.api.feature.FeatureService.updateFeature
|
|
DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)
|
|
328
|
42730
|
12487
-
12499
|
Select
|
org.make.api.feature.UpdateFeatureRequest.name
|
|
request.name
|
|
329
|
31024
|
12382
-
12547
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound
|
|
330
|
35680
|
12592
-
12592
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$5
|
|
qual$1.find$default$5
|
|
330
|
42490
|
12592
-
12592
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$4
|
|
qual$1.find$default$4
|
|
330
|
50357
|
12592
-
12592
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$3
|
|
qual$1.find$default$3
|
|
330
|
35978
|
12615
-
12629
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.feature.FeatureId](featureId)
|
|
330
|
44121
|
12571
-
12643
|
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 = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective
|
|
330
|
44085
|
12571
-
12591
|
Select
|
org.make.api.feature.ActiveFeatureServiceComponent.activeFeatureService
|
|
DefaultAdminFeatureApiComponent.this.activeFeatureService
|
|
330
|
45153
|
12592
-
12592
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$1
|
|
qual$1.find$default$1
|
|
330
|
37580
|
12592
-
12592
|
Select
|
org.make.api.feature.ActiveFeatureService.find$default$2
|
|
qual$1.find$default$2
|
|
330
|
49255
|
12610
-
12630
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Seq[org.make.core.feature.FeatureId]](scala.`package`.Seq.apply[org.make.core.feature.FeatureId](featureId))
|
|
330
|
30773
|
12571
-
12631
|
Apply
|
org.make.api.feature.ActiveFeatureService.find
|
|
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
|
|
331
|
42208
|
12666
-
12666
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
331
|
50109
|
12666
-
12666
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]
|
|
331
|
49020
|
12666
-
12666
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
331
|
37339
|
12358
-
12672
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
331
|
49603
|
12358
-
13102
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[((org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.feature.Feature], akka.http.scaladsl.server.Directive1[Seq[org.make.core.feature.ActiveFeature]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.updateFeature(featureId, request.slug, request.name)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.feature.ActiveFeature]]({
<artifact> val qual$1: org.make.api.feature.ActiveFeatureService = DefaultAdminFeatureApiComponent.this.activeFeatureService;
<artifact> val x$1: 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](featureId));
<artifact> val x$2: org.make.core.technical.Pagination.Offset = qual$1.find$default$1;
<artifact> val x$3: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$3;
<artifact> val x$5: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$4;
<artifact> val x$6: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.find$default$5;
qual$1.find(x$2, x$3, x$4, x$5, x$6, x$1)
}).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])]).apply(((x0$1: (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])) => x0$1 match {
case (_1: org.make.core.feature.Feature, _2: Seq[org.make.core.feature.ActiveFeature]): (org.make.core.feature.Feature, Seq[org.make.core.feature.ActiveFeature])((feature @ _), (activeFeatures @ _)) => {
val questionIds: Seq[org.make.core.question.QuestionId] = activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct;
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
}
}))
|
|
333
|
42525
|
12802
-
12819
|
Select
|
org.make.core.feature.ActiveFeature.maybeQuestionId
|
|
x$12.maybeQuestionId
|
|
333
|
35428
|
12779
-
12829
|
Select
|
scala.collection.SeqOps.distinct
|
|
activeFeatures.flatMap[org.make.core.question.QuestionId](((x$12: org.make.core.feature.ActiveFeature) => x$12.maybeQuestionId)).distinct
|
|
334
|
35468
|
12885
-
12885
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$9
|
|
org.make.api.question.SearchQuestionRequest.apply$default$9
|
|
334
|
42287
|
12885
-
12885
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$8
|
|
org.make.api.question.SearchQuestionRequest.apply$default$8
|
|
334
|
49566
|
12927
-
12927
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]
|
|
334
|
49057
|
12885
-
12885
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$4
|
|
org.make.api.question.SearchQuestionRequest.apply$default$4
|
|
334
|
41957
|
12885
-
12885
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$5
|
|
org.make.api.question.SearchQuestionRequest.apply$default$5
|
|
334
|
31286
|
12885
-
12925
|
Apply
|
org.make.api.question.SearchQuestionRequest.apply
|
|
org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9)
|
|
334
|
35799
|
12854
-
12938
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective
|
|
334
|
50148
|
12885
-
12885
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$7
|
|
org.make.api.question.SearchQuestionRequest.apply$default$7
|
|
334
|
43610
|
12885
-
12885
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$2
|
|
org.make.api.question.SearchQuestionRequest.apply$default$2
|
|
334
|
35760
|
12885
-
12885
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$3
|
|
org.make.api.question.SearchQuestionRequest.apply$default$3
|
|
334
|
36271
|
12854
-
13079
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.question.Question]](DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.question.Question]]).apply(((questions: Seq[org.make.core.question.Question]) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))))
|
|
334
|
38083
|
12885
-
12885
|
Select
|
org.make.api.question.SearchQuestionRequest.apply$default$6
|
|
org.make.api.question.SearchQuestionRequest.apply$default$6
|
|
334
|
44073
|
12854
-
12926
|
Apply
|
org.make.api.question.QuestionService.searchQuestion
|
|
DefaultAdminFeatureApiComponent.this.questionService.searchQuestion(org.make.api.question.SearchQuestionRequest.apply(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds), org.make.api.question.SearchQuestionRequest.apply$default$2, org.make.api.question.SearchQuestionRequest.apply$default$3, org.make.api.question.SearchQuestionRequest.apply$default$4, org.make.api.question.SearchQuestionRequest.apply$default$5, org.make.api.question.SearchQuestionRequest.apply$default$6, org.make.api.question.SearchQuestionRequest.apply$default$7, org.make.api.question.SearchQuestionRequest.apply$default$8, org.make.api.question.SearchQuestionRequest.apply$default$9))
|
|
334
|
31533
|
12907
-
12924
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Seq[org.make.core.question.QuestionId]](questionIds)
|
|
336
|
44110
|
13008
-
13053
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))))
|
|
336
|
42327
|
13032
-
13032
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse])
|
|
336
|
42004
|
13017
-
13052
|
Apply
|
org.make.api.feature.FeatureResponse.apply
|
|
FeatureResponse.apply(feature, questions)
|
|
336
|
50614
|
13032
-
13032
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]
|
|
336
|
48529
|
13017
-
13052
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.feature.FeatureResponse](FeatureResponse.apply(feature, questions))(marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse])))
|
|
336
|
37568
|
13032
-
13032
|
Select
|
org.make.api.feature.FeatureResponse.encoder
|
|
feature.this.FeatureResponse.encoder
|
|
336
|
35214
|
13032
-
13032
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.feature.FeatureResponse](DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureResponse](feature.this.FeatureResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureResponse]))
|
|
349
|
50080
|
13254
-
13260
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.delete
|
|
349
|
42560
|
13254
-
13787
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApi.this.delete).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]).apply(((featureId: org.make.core.feature.FeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminDeleteFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$13: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((x$14: org.make.core.feature.Feature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse]))))))))))))))))
|
|
350
|
33665
|
13284
-
13294
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features")
|
|
350
|
50427
|
13269
-
13781
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])))(util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]).apply(((featureId: org.make.core.feature.FeatureId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminDeleteFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$13: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((x$14: org.make.core.feature.Feature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse])))))))))))))))
|
|
350
|
36816
|
13273
-
13273
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[org.make.core.feature.FeatureId]
|
|
350
|
43904
|
13269
-
13312
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.path[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)]))
|
|
350
|
41789
|
13274
-
13281
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"admin"
|
|
350
|
50402
|
13282
-
13282
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.feature.adminfeatureapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
350
|
34698
|
13295
-
13295
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.feature.adminfeatureapitest
|
TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)]
|
|
350
|
42282
|
13297
-
13311
|
Select
|
org.make.api.feature.DefaultAdminFeatureApiComponent.DefaultAdminFeatureApi.adminFeatureId
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this.adminFeatureId
|
|
350
|
47772
|
13274
-
13311
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminFeatureApi.this._segmentStringToPathMatcher("features"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.feature.FeatureId,)](DefaultAdminFeatureApi.this.adminFeatureId)(TupleOps.this.Join.join0P[(org.make.core.feature.FeatureId,)])
|
|
351
|
48815
|
13350
-
13370
|
Literal
|
<nosymbol>
|
org.make.api.feature.adminfeatureapitest
|
"AdminDeleteFeature"
|
|
351
|
50439
|
13336
-
13371
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation("AdminDeleteFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3)
|
|
351
|
43336
|
13349
-
13349
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
351
|
33966
|
13336
-
13773
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminFeatureApiComponent.this.makeOperation("AdminDeleteFeature", DefaultAdminFeatureApiComponent.this.makeOperation$default$2, DefaultAdminFeatureApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$13: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((x$14: org.make.core.feature.Feature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse])))))))))))))
|
|
351
|
33412
|
13336
-
13336
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$3
|
|
351
|
41991
|
13336
-
13336
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOperation$default$2
|
|
352
|
34457
|
13389
-
13399
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.feature.adminfeatureapitest
|
DefaultAdminFeatureApiComponent.this.makeOAuth2
|
|
352
|
41538
|
13389
-
13763
|
Apply
|
scala.Function1.apply
|
org.make.api.feature.adminfeatureapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminFeatureApiComponent.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(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((x$14: org.make.core.feature.Feature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse])))))))))))
|
|
352
|
48520
|
13389
-
13389
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.feature.adminfeatureapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
353
|
49947
|
13444
-
13751
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((x$14: org.make.core.feature.Feature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse])))))))))
|
|
353
|
36854
|
13444
-
13471
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminFeatureApiComponent.this.requireAdminRole(auth.user)
|
|
353
|
43651
|
13461
-
13470
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
354
|
48845
|
13488
-
13524
|
Apply
|
org.make.api.feature.FeatureService.getFeature
|
|
DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)
|
|
354
|
34170
|
13525
-
13525
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.feature.Feature]
|
|
354
|
36047
|
13488
-
13737
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.feature.Feature,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.feature.Feature]).apply(((x$14: org.make.core.feature.Feature) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse]))))))))
|
|
354
|
41746
|
13488
-
13546
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.feature.Feature](DefaultAdminFeatureApiComponent.this.featureService.getFeature(featureId)).asDirectiveOrNotFound
|
|
355
|
43375
|
13570
-
13621
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)).asDirective
|
|
355
|
35249
|
13610
-
13610
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
355
|
50955
|
13570
-
13609
|
Apply
|
org.make.api.feature.FeatureService.deleteFeature
|
|
DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)
|
|
355
|
39902
|
13570
-
13721
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminFeatureApiComponent.this.featureService.deleteFeature(featureId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse]))))))
|
|
356
|
48280
|
13656
-
13670
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
356
|
35001
|
13656
-
13702
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse])))
|
|
356
|
48318
|
13647
-
13703
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminFeatureApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse]))))
|
|
356
|
41783
|
13671
-
13671
|
Select
|
org.make.api.feature.FeatureIdResponse.encoder
|
|
feature.this.FeatureIdResponse.encoder
|
|
356
|
49905
|
13671
-
13671
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
356
|
50392
|
13671
-
13671
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse])
|
|
356
|
43412
|
13671
-
13671
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.feature.FeatureIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminFeatureApiComponent.this.marshaller[org.make.api.feature.FeatureIdResponse](feature.this.FeatureIdResponse.encoder, DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse]))
|
|
356
|
36889
|
13656
-
13702
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.feature.FeatureIdResponse](FeatureIdResponse.apply(featureId))
|
|
356
|
40693
|
13674
-
13702
|
Apply
|
org.make.api.feature.FeatureIdResponse.apply
|
|
FeatureIdResponse.apply(featureId)
|
|
356
|
33922
|
13671
-
13671
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminFeatureApiComponent.this.marshaller$default$2[org.make.api.feature.FeatureIdResponse]
|
|
373
|
35041
|
13986
-
14064
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.NonEmptyString](org.make.core.Validation.StringWithParsers(CreateFeatureRequest.this.slug.value).toNonEmpty("slug", scala.Some.apply[String]("Slug must not be empty"))).throwIfInvalid()
|
|
377
|
48070
|
14154
-
14189
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.feature.CreateFeatureRequest]({
val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.CreateFeatureRequest] = {
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.CreateFeatureRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.feature.CreateFeatureRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.feature.CreateFeatureRequest, (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: shapeless.HNil, String :: org.make.core.feature.FeatureSlug :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.feature.CreateFeatureRequest, (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), (Symbol @@ String("slug")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("slug"), shapeless.HNil.type](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")], HNil))), Generic.instance[org.make.api.feature.CreateFeatureRequest, String :: org.make.core.feature.FeatureSlug :: shapeless.HNil](((x0$3: org.make.api.feature.CreateFeatureRequest) => x0$3 match {
case (name: String, slug: org.make.core.feature.FeatureSlug): org.make.api.feature.CreateFeatureRequest((name$macro$8 @ _), (slug$macro$9 @ _)) => ::.apply[String, org.make.core.feature.FeatureSlug :: shapeless.HNil.type](name$macro$8, ::.apply[org.make.core.feature.FeatureSlug, shapeless.HNil.type](slug$macro$9, HNil)).asInstanceOf[String :: org.make.core.feature.FeatureSlug :: shapeless.HNil]
}), ((x0$4: String :: org.make.core.feature.FeatureSlug :: shapeless.HNil) => x0$4 match {
case (head: String, tail: org.make.core.feature.FeatureSlug :: shapeless.HNil): String :: org.make.core.feature.FeatureSlug :: shapeless.HNil((name$macro$6 @ _), (head: org.make.core.feature.FeatureSlug, tail: shapeless.HNil): org.make.core.feature.FeatureSlug :: shapeless.HNil((slug$macro$7 @ _), HNil)) => feature.this.CreateFeatureRequest.apply(name$macro$6, slug$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("slug")) :: shapeless.HNil, org.make.core.feature.FeatureSlug :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("slug")]](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("slug")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.CreateFeatureRequest]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForslug: io.circe.Decoder[org.make.core.feature.FeatureSlug] = feature.this.FeatureSlug.decoder(circe.this.Decoder.decodeString);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecode(c.downField("slug")), 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("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecodeAccumulating(c.downField("slug")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: 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.CreateFeatureRequest]](inst$macro$12)
})
|
|
386
|
39941
|
14384
-
14462
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.NonEmptyString](org.make.core.Validation.StringWithParsers(UpdateFeatureRequest.this.slug.value).toNonEmpty("slug", scala.Some.apply[String]("Slug must not be empty"))).throwIfInvalid()
|
|
390
|
36083
|
14552
-
14587
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.feature.UpdateFeatureRequest]({
val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.UpdateFeatureRequest] = {
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.UpdateFeatureRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.feature.UpdateFeatureRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.feature.UpdateFeatureRequest, (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: shapeless.HNil, String :: org.make.core.feature.FeatureSlug :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.feature.UpdateFeatureRequest, (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), (Symbol @@ String("slug")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("slug"), shapeless.HNil.type](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")], HNil))), Generic.instance[org.make.api.feature.UpdateFeatureRequest, String :: org.make.core.feature.FeatureSlug :: shapeless.HNil](((x0$3: org.make.api.feature.UpdateFeatureRequest) => x0$3 match {
case (name: String, slug: org.make.core.feature.FeatureSlug): org.make.api.feature.UpdateFeatureRequest((name$macro$8 @ _), (slug$macro$9 @ _)) => ::.apply[String, org.make.core.feature.FeatureSlug :: shapeless.HNil.type](name$macro$8, ::.apply[org.make.core.feature.FeatureSlug, shapeless.HNil.type](slug$macro$9, HNil)).asInstanceOf[String :: org.make.core.feature.FeatureSlug :: shapeless.HNil]
}), ((x0$4: String :: org.make.core.feature.FeatureSlug :: shapeless.HNil) => x0$4 match {
case (head: String, tail: org.make.core.feature.FeatureSlug :: shapeless.HNil): String :: org.make.core.feature.FeatureSlug :: shapeless.HNil((name$macro$6 @ _), (head: org.make.core.feature.FeatureSlug, tail: shapeless.HNil): org.make.core.feature.FeatureSlug :: shapeless.HNil((slug$macro$7 @ _), HNil)) => feature.this.UpdateFeatureRequest.apply(name$macro$6, slug$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("slug")) :: shapeless.HNil, org.make.core.feature.FeatureSlug :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("slug")]](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("slug")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.UpdateFeatureRequest]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForslug: io.circe.Decoder[org.make.core.feature.FeatureSlug] = feature.this.FeatureSlug.decoder(circe.this.Decoder.decodeString);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecode(c.downField("slug")), 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("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecodeAccumulating(c.downField("slug")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: 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.UpdateFeatureRequest]](inst$macro$12)
})
|
|
402
|
49857
|
14993
-
15023
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.feature.FeatureResponse]({
val inst$macro$20: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.feature.FeatureResponse] = {
final class anon$lazy$macro$19 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$19 = {
anon$lazy$macro$19.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.feature.FeatureResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.feature.FeatureResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.feature.FeatureResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil, org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.feature.FeatureResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("name"), (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("slug"), (Symbol @@ String("questions")) :: shapeless.HNil.type](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")], ::.apply[Symbol @@ String("questions"), shapeless.HNil.type](scala.Symbol.apply("questions").asInstanceOf[Symbol @@ String("questions")], HNil))))), Generic.instance[org.make.api.feature.FeatureResponse, org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil](((x0$3: org.make.api.feature.FeatureResponse) => x0$3 match {
case (id: org.make.core.feature.FeatureId, name: String, slug: org.make.core.feature.FeatureSlug, questions: Seq[org.make.api.question.ModerationQuestionResponse]): org.make.api.feature.FeatureResponse((id$macro$14 @ _), (name$macro$15 @ _), (slug$macro$16 @ _), (questions$macro$17 @ _)) => ::.apply[org.make.core.feature.FeatureId, String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil.type](id$macro$14, ::.apply[String, org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil.type](name$macro$15, ::.apply[org.make.core.feature.FeatureSlug, Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil.type](slug$macro$16, ::.apply[Seq[org.make.api.question.ModerationQuestionResponse], shapeless.HNil.type](questions$macro$17, HNil)))).asInstanceOf[org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil]
}), ((x0$4: org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.feature.FeatureId, tail: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil): org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil((id$macro$10 @ _), (head: String, tail: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil): String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil((name$macro$11 @ _), (head: org.make.core.feature.FeatureSlug, tail: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil): org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil((slug$macro$12 @ _), (head: Seq[org.make.api.question.ModerationQuestionResponse], tail: shapeless.HNil): Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil((questions$macro$13 @ _), HNil)))) => feature.this.FeatureResponse.apply(id$macro$10, name$macro$11, slug$macro$12, questions$macro$13)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.feature.FeatureId, (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil, String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil, org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, (Symbol @@ String("questions")) :: shapeless.HNil, Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questions"), Seq[org.make.api.question.ModerationQuestionResponse], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questions")]](scala.Symbol.apply("questions").asInstanceOf[Symbol @@ String("questions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("slug")]](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("slug")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), 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.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$19.this.inst$macro$18)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.feature.FeatureResponse]];
<stable> <accessor> lazy val inst$macro$18: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.feature.FeatureId] = feature.this.FeatureId.featureIdEncoder;
private[this] val circeGenericEncoderForname: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
private[this] val circeGenericEncoderForslug: io.circe.Encoder[org.make.core.feature.FeatureSlug] = feature.this.FeatureSlug.encoder(circe.this.Encoder.encodeString);
private[this] val circeGenericEncoderForquestions: io.circe.Encoder.AsArray[Seq[org.make.api.question.ModerationQuestionResponse]] = circe.this.Encoder.encodeSeq[org.make.api.question.ModerationQuestionResponse](question.this.ModerationQuestionResponse.codec);
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId], tail: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("name"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForname @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug], tail: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForslug @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestions @ _), 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]("name", $anon.this.circeGenericEncoderForname.apply(circeGenericHListBindingForname)), scala.Tuple2.apply[String, io.circe.Json]("slug", $anon.this.circeGenericEncoderForslug.apply(circeGenericHListBindingForslug)), scala.Tuple2.apply[String, io.circe.Json]("questions", $anon.this.circeGenericEncoderForquestions.apply(circeGenericHListBindingForquestions))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$19().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.feature.FeatureResponse]](inst$macro$20)
})
|
|
403
|
41575
|
15075
-
15105
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.feature.FeatureResponse]({
val inst$macro$40: io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.FeatureResponse] = {
final class anon$lazy$macro$39 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$39 = {
anon$lazy$macro$39.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$21: io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.FeatureResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.feature.FeatureResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.feature.FeatureResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil, org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.feature.FeatureResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("name"), (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("slug"), (Symbol @@ String("questions")) :: shapeless.HNil.type](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")], ::.apply[Symbol @@ String("questions"), shapeless.HNil.type](scala.Symbol.apply("questions").asInstanceOf[Symbol @@ String("questions")], HNil))))), Generic.instance[org.make.api.feature.FeatureResponse, org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil](((x0$7: org.make.api.feature.FeatureResponse) => x0$7 match {
case (id: org.make.core.feature.FeatureId, name: String, slug: org.make.core.feature.FeatureSlug, questions: Seq[org.make.api.question.ModerationQuestionResponse]): org.make.api.feature.FeatureResponse((id$macro$34 @ _), (name$macro$35 @ _), (slug$macro$36 @ _), (questions$macro$37 @ _)) => ::.apply[org.make.core.feature.FeatureId, String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil.type](id$macro$34, ::.apply[String, org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil.type](name$macro$35, ::.apply[org.make.core.feature.FeatureSlug, Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil.type](slug$macro$36, ::.apply[Seq[org.make.api.question.ModerationQuestionResponse], shapeless.HNil.type](questions$macro$37, HNil)))).asInstanceOf[org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil]
}), ((x0$8: org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil) => x0$8 match {
case (head: org.make.core.feature.FeatureId, tail: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil): org.make.core.feature.FeatureId :: String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil((id$macro$30 @ _), (head: String, tail: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil): String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil((name$macro$31 @ _), (head: org.make.core.feature.FeatureSlug, tail: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil): org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil((slug$macro$32 @ _), (head: Seq[org.make.api.question.ModerationQuestionResponse], tail: shapeless.HNil): Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil((questions$macro$33 @ _), HNil)))) => feature.this.FeatureResponse.apply(id$macro$30, name$macro$31, slug$macro$32, questions$macro$33)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.feature.FeatureId, (Symbol @@ String("name")) :: (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil, String :: org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("slug")) :: (Symbol @@ String("questions")) :: shapeless.HNil, org.make.core.feature.FeatureSlug :: Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, (Symbol @@ String("questions")) :: shapeless.HNil, Seq[org.make.api.question.ModerationQuestionResponse] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questions"), Seq[org.make.api.question.ModerationQuestionResponse], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questions")]](scala.Symbol.apply("questions").asInstanceOf[Symbol @@ String("questions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("slug")]](scala.Symbol.apply("slug").asInstanceOf[Symbol @@ String("slug")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("slug")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), 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.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$39.this.inst$macro$38)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.FeatureResponse]];
<stable> <accessor> lazy val inst$macro$38: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.feature.FeatureId] = feature.this.FeatureId.featureIdDecoder;
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForslug: io.circe.Decoder[org.make.core.feature.FeatureSlug] = feature.this.FeatureSlug.decoder(circe.this.Decoder.decodeString);
private[this] val circeGenericDecoderForquestions: io.circe.Decoder[Seq[org.make.api.question.ModerationQuestionResponse]] = circe.this.Decoder.decodeSeq[org.make.api.question.ModerationQuestionResponse](question.this.ModerationQuestionResponse.codec);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.feature.FeatureId, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecode(c.downField("slug")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questions"), Seq[org.make.api.question.ModerationQuestionResponse], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestions.tryDecode(c.downField("questions")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.feature.FeatureId, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("slug"), org.make.core.feature.FeatureSlug, shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForslug.tryDecodeAccumulating(c.downField("slug")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questions"), Seq[org.make.api.question.ModerationQuestionResponse], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestions.tryDecodeAccumulating(c.downField("questions")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("slug"),org.make.core.feature.FeatureSlug] :: shapeless.labelled.FieldType[Symbol @@ String("questions"),Seq[org.make.api.question.ModerationQuestionResponse]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$39().inst$macro$21
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.feature.FeatureResponse]](inst$macro$40)
})
|
|
406
|
39976
|
15186
-
15358
|
Apply
|
org.make.api.feature.FeatureResponse.apply
|
|
FeatureResponse.apply(feature.featureId, feature.name, feature.slug, questions.map[org.make.api.question.ModerationQuestionResponse](((question: org.make.core.question.Question) => org.make.api.question.ModerationQuestionResponse.apply(question))))
|
|
407
|
33449
|
15214
-
15231
|
Select
|
org.make.core.feature.Feature.featureId
|
|
feature.featureId
|
|
408
|
46463
|
15246
-
15258
|
Select
|
org.make.core.feature.Feature.name
|
|
feature.name
|
|
409
|
42599
|
15273
-
15285
|
Select
|
org.make.core.feature.Feature.slug
|
|
feature.slug
|
|
410
|
48106
|
15305
-
15352
|
Apply
|
scala.collection.IterableOps.map
|
|
questions.map[org.make.api.question.ModerationQuestionResponse](((question: org.make.core.question.Question) => org.make.api.question.ModerationQuestionResponse.apply(question)))
|
|
410
|
35505
|
15319
-
15351
|
Apply
|
org.make.api.question.ModerationQuestionResponse.apply
|
|
org.make.api.question.ModerationQuestionResponse.apply(question)
|
|
422
|
35836
|
15721
-
15753
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.feature.FeatureIdResponse]({
val inst$macro$12: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.feature.FeatureIdResponse] = {
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.encoding.DerivedAsObjectEncoder[org.make.api.feature.FeatureIdResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.feature.FeatureIdResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.feature.FeatureIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("featureId")) :: shapeless.HNil, org.make.core.feature.FeatureId :: org.make.core.feature.FeatureId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.feature.FeatureIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("featureId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("featureId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("featureId"), shapeless.HNil.type](scala.Symbol.apply("featureId").asInstanceOf[Symbol @@ String("featureId")], HNil))), Generic.instance[org.make.api.feature.FeatureIdResponse, org.make.core.feature.FeatureId :: org.make.core.feature.FeatureId :: shapeless.HNil](((x0$3: org.make.api.feature.FeatureIdResponse) => x0$3 match {
case (id: org.make.core.feature.FeatureId, featureId: org.make.core.feature.FeatureId): org.make.api.feature.FeatureIdResponse((id$macro$8 @ _), (featureId$macro$9 @ _)) => ::.apply[org.make.core.feature.FeatureId, org.make.core.feature.FeatureId :: shapeless.HNil.type](id$macro$8, ::.apply[org.make.core.feature.FeatureId, shapeless.HNil.type](featureId$macro$9, HNil)).asInstanceOf[org.make.core.feature.FeatureId :: org.make.core.feature.FeatureId :: shapeless.HNil]
}), ((x0$4: org.make.core.feature.FeatureId :: org.make.core.feature.FeatureId :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.feature.FeatureId, tail: org.make.core.feature.FeatureId :: shapeless.HNil): org.make.core.feature.FeatureId :: org.make.core.feature.FeatureId :: shapeless.HNil((id$macro$6 @ _), (head: org.make.core.feature.FeatureId, tail: shapeless.HNil): org.make.core.feature.FeatureId :: shapeless.HNil((featureId$macro$7 @ _), HNil)) => feature.this.FeatureIdResponse.apply(id$macro$6, featureId$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.feature.FeatureId, (Symbol @@ String("featureId")) :: shapeless.HNil, org.make.core.feature.FeatureId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("featureId"), org.make.core.feature.FeatureId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, 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.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.feature.FeatureIdResponse]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForfeatureId: io.circe.Encoder[org.make.core.feature.FeatureId] = feature.this.FeatureId.featureIdEncoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId], tail: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForfeatureId @ _), 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.circeGenericEncoderForfeatureId.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("featureId", $anon.this.circeGenericEncoderForfeatureId.apply(circeGenericHListBindingForfeatureId))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.feature.FeatureId] :: shapeless.labelled.FieldType[Symbol @@ String("featureId"),org.make.core.feature.FeatureId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.feature.FeatureIdResponse]](inst$macro$12)
})
|
|
424
|
49896
|
15803
-
15828
|
Apply
|
org.make.api.feature.FeatureIdResponse.apply
|
|
FeatureIdResponse.apply(id, id)
|