| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
160
|
44655
|
5809
-
5868
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this.adminGetQuestionPersonality).~(AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities)
|
|
160
|
30805
|
5839
-
5868
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminGetQuestionPersonalities
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities
|
|
160
|
38156
|
5809
-
5935
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this.adminGetQuestionPersonality).~(AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities)).~(AdminQuestionPersonalityApi.this.adminPostQuestionPersonality)).~(AdminQuestionPersonalityApi.this.adminPutQuestionPersonality)
|
|
160
|
35762
|
5871
-
5899
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminPostQuestionPersonality
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminPostQuestionPersonality
|
|
160
|
32607
|
5809
-
5899
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this.adminGetQuestionPersonality).~(AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities)).~(AdminQuestionPersonalityApi.this.adminPostQuestionPersonality)
|
|
160
|
39138
|
5809
-
5836
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminGetQuestionPersonality
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminGetQuestionPersonality
|
|
161
|
45684
|
5908
-
5935
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminPutQuestionPersonality
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminPutQuestionPersonality
|
|
161
|
43067
|
5809
-
5968
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this.adminGetQuestionPersonality).~(AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities)).~(AdminQuestionPersonalityApi.this.adminPostQuestionPersonality)).~(AdminQuestionPersonalityApi.this.adminPutQuestionPersonality)).~(AdminQuestionPersonalityApi.this.adminDeleteQuestionPersonality)
|
|
161
|
51203
|
5938
-
5968
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminDeleteQuestionPersonality
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminDeleteQuestionPersonality
|
|
182
|
44691
|
6707
-
6743
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminQuestionPersonalityApi.this.Segment).map[org.make.core.personality.PersonalityId](((id: String) => org.make.core.personality.PersonalityId.apply(id)))
|
|
182
|
39173
|
6707
-
6714
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.Segment
|
|
182
|
30721
|
6725
-
6742
|
Apply
|
org.make.core.personality.PersonalityId.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
org.make.core.personality.PersonalityId.apply(id)
|
|
185
|
36574
|
6808
-
6812
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.post
|
|
185
|
36610
|
6808
-
8520
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPostQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.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],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))))))))))
|
|
186
|
43103
|
6823
-
6863
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))
|
|
186
|
44724
|
6823
-
8512
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPostQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.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],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
})))))))))))
|
|
186
|
37304
|
6836
-
6836
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
186
|
49601
|
6828
-
6835
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"admin"
|
|
186
|
51243
|
6828
-
6862
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])
|
|
186
|
45724
|
6838
-
6862
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
187
|
47592
|
6876
-
8502
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPostQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.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],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))))))))
|
|
187
|
43847
|
6876
-
6876
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
187
|
38936
|
6890
-
6925
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"ModerationPostQuestionPersonality"
|
|
187
|
36334
|
6876
-
6926
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPostQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
187
|
49636
|
6889
-
6889
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
187
|
30759
|
6876
-
6876
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
188
|
37340
|
6946
-
6946
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
188
|
34794
|
6946
-
8490
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))))))
|
|
188
|
44926
|
6946
-
6956
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
189
|
50128
|
7020
-
7029
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
189
|
43379
|
7003
-
8476
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))))
|
|
189
|
42849
|
7003
-
7030
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
190
|
50217
|
7049
-
8460
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
})))))
|
|
190
|
38971
|
7049
-
7062
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminQuestionPersonalityApi.this.decodeRequest
|
|
191
|
30516
|
7092
-
7092
|
Select
|
org.make.api.personality.CreateQuestionPersonalityRequest.decoder
|
|
personality.this.CreateQuestionPersonalityRequest.decoder
|
|
191
|
37379
|
7089
-
7089
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]
|
|
191
|
38186
|
7083
-
8442
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))
|
|
191
|
44960
|
7083
-
7127
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder))))
|
|
191
|
43888
|
7092
-
7092
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)
|
|
191
|
35750
|
7092
-
7092
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder))
|
|
191
|
49390
|
7090
-
7126
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))
|
|
193
|
51234
|
7161
-
7575
|
Apply
|
org.make.api.personality.QuestionPersonalityService.find
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)
|
|
194
|
51199
|
7250
-
7272
|
Select
|
org.make.core.technical.Pagination.Offset.zero
|
|
org.make.core.technical.Pagination.Offset.zero
|
|
195
|
42292
|
7304
-
7308
|
Select
|
scala.None
|
|
scala.None
|
|
196
|
34471
|
7341
-
7345
|
Select
|
scala.None
|
|
scala.None
|
|
197
|
30555
|
7379
-
7383
|
Select
|
scala.None
|
|
scala.None
|
|
198
|
36822
|
7418
-
7438
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserId](request.userId)
|
|
198
|
44680
|
7423
-
7437
|
Select
|
org.make.api.personality.CreateQuestionPersonalityRequest.userId
|
|
request.userId
|
|
199
|
48839
|
7482
-
7500
|
Select
|
org.make.api.personality.CreateQuestionPersonalityRequest.questionId
|
|
request.questionId
|
|
199
|
46039
|
7477
-
7501
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](request.questionId)
|
|
200
|
37132
|
7547
-
7551
|
Select
|
scala.None
|
|
scala.None
|
|
202
|
35211
|
7599
-
7599
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]
|
|
202
|
43356
|
7161
-
7610
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective
|
|
202
|
41588
|
7161
-
8422
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))
|
|
203
|
30589
|
7656
-
7675
|
Select
|
scala.collection.IterableOnceOps.nonEmpty
|
|
duplicates.nonEmpty
|
|
204
|
41796
|
7705
-
8128
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
|
|
205
|
50995
|
7743
-
8100
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String))))
|
|
205
|
37175
|
7769
-
8100
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))
|
|
205
|
31053
|
7766
-
7766
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]
|
|
205
|
34964
|
7766
-
7766
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
205
|
49382
|
7743
-
8100
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError])))
|
|
205
|
44441
|
7743
-
7765
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
205
|
43391
|
7766
-
7766
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
205
|
36617
|
7766
-
7766
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))
|
|
205
|
44479
|
7766
-
7766
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError])
|
|
206
|
36859
|
7816
-
7824
|
Literal
|
<nosymbol>
|
|
"userId"
|
|
207
|
49341
|
7856
-
7873
|
Literal
|
<nosymbol>
|
|
"already_defined"
|
|
208
|
41760
|
7905
-
8070
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String))
|
|
214
|
49177
|
8189
-
8398
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
|
|
214
|
37088
|
8199
-
8252
|
Apply
|
org.make.api.personality.QuestionPersonalityService.createPersonality
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request)
|
|
214
|
51033
|
8243
-
8243
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.personality.Personality]
|
|
214
|
31091
|
8198
-
8198
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.Personality]
|
|
214
|
42602
|
8199
-
8252
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])
|
|
214
|
35002
|
8189
-
8253
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality]))
|
|
215
|
43662
|
8303
-
8369
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])))
|
|
215
|
49422
|
8326
-
8369
|
Apply
|
org.make.api.personality.PersonalityIdResponse.apply
|
|
PersonalityIdResponse.apply(result.personalityId)
|
|
215
|
36577
|
8294
-
8370
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))
|
|
215
|
41556
|
8303
-
8369
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId))
|
|
215
|
50178
|
8323
-
8323
|
Select
|
org.make.api.personality.PersonalityIdResponse.encoder
|
|
personality.this.PersonalityIdResponse.encoder
|
|
215
|
37124
|
8323
-
8323
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
215
|
47552
|
8323
-
8323
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))
|
|
215
|
35039
|
8323
-
8323
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])
|
|
215
|
43625
|
8303
-
8322
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
215
|
42640
|
8323
-
8323
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]
|
|
215
|
36656
|
8348
-
8368
|
Select
|
org.make.core.personality.Personality.personalityId
|
|
result.personalityId
|
|
228
|
41140
|
8590
-
9314
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPutQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])))))))))))))))))
|
|
228
|
49923
|
8590
-
8593
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.put
|
|
229
|
35543
|
8644
-
8644
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]
|
|
229
|
43142
|
8646
-
8659
|
Select
|
org.make.api.personality.DefaultAdminQuestionPersonalityApiComponent.DefaultAdminQuestionPersonalityApi.personalityId
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.personalityId
|
|
229
|
36646
|
8608
-
8608
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]
|
|
229
|
44762
|
8604
-
8660
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]))
|
|
229
|
49421
|
8604
-
9306
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPutQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))))))))))
|
|
229
|
51018
|
8617
-
8617
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
229
|
42112
|
8609
-
8616
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"admin"
|
|
229
|
48649
|
8609
-
8659
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])
|
|
229
|
38223
|
8619
-
8643
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
230
|
43175
|
8703
-
8703
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
230
|
50780
|
8690
-
8739
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPutQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
230
|
36927
|
8690
-
9296
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPutQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))))))))
|
|
230
|
41544
|
8690
-
8690
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
230
|
34267
|
8690
-
8690
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
230
|
49674
|
8704
-
8738
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"ModerationPutQuestionPersonality"
|
|
231
|
40803
|
8759
-
9284
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))))))
|
|
231
|
34756
|
8759
-
8769
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
231
|
48091
|
8759
-
8759
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
232
|
44801
|
8833
-
8842
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
232
|
36406
|
8816
-
8843
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
232
|
47922
|
8816
-
9270
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))))
|
|
233
|
34588
|
8862
-
9254
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])))))))))
|
|
233
|
49711
|
8862
-
8875
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminQuestionPersonalityApi.this.decodeRequest
|
|
234
|
34786
|
8896
-
8940
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder))))
|
|
234
|
42929
|
8903
-
8939
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))
|
|
234
|
50815
|
8905
-
8905
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder))
|
|
234
|
41298
|
8905
-
8905
|
Select
|
org.make.api.personality.UpdateQuestionPersonalityRequest.decoder
|
|
personality.this.UpdateQuestionPersonalityRequest.decoder
|
|
234
|
42880
|
8896
-
9236
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))
|
|
234
|
47847
|
8902
-
8902
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]
|
|
234
|
33704
|
8905
-
8905
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)
|
|
235
|
48935
|
9043
-
9043
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.Personality]
|
|
235
|
36443
|
8974
-
9064
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound
|
|
235
|
39705
|
8974
-
9042
|
Apply
|
org.make.api.personality.QuestionPersonalityService.updatePersonality
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)
|
|
235
|
51310
|
8974
-
9216
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
|
|
237
|
48971
|
9147
-
9147
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))
|
|
237
|
39741
|
9147
-
9147
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]
|
|
237
|
34552
|
9147
-
9147
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
237
|
42973
|
9132
-
9193
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId))
|
|
237
|
33741
|
9172
-
9192
|
Select
|
org.make.core.personality.Personality.personalityId
|
|
result.personalityId
|
|
237
|
41376
|
9132
-
9193
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])))
|
|
237
|
41337
|
9132
-
9146
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
237
|
34261
|
9123
-
9194
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))
|
|
237
|
47886
|
9147
-
9147
|
Select
|
org.make.api.personality.PersonalityIdResponse.encoder
|
|
personality.this.PersonalityIdResponse.encoder
|
|
237
|
51271
|
9150
-
9193
|
Apply
|
org.make.api.personality.PersonalityIdResponse.apply
|
|
PersonalityIdResponse.apply(result.personalityId)
|
|
237
|
36892
|
9147
-
9147
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])
|
|
249
|
37444
|
9386
-
12332
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonalities", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId])](DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]).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], userId: Option[org.make.core.user.UserId], questionId: Option[org.make.core.question.QuestionId], personalityRoleId: Option[org.make.core.personality.PersonalityRoleId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))))))))))
|
|
249
|
34298
|
9386
-
9389
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.get
|
|
250
|
45863
|
9400
-
12324
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonalities", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId])](DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]).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], userId: Option[org.make.core.user.UserId], questionId: Option[org.make.core.question.QuestionId], personalityRoleId: Option[org.make.core.personality.PersonalityRoleId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
}))))))))))
|
|
250
|
47336
|
9405
-
9412
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"admin"
|
|
250
|
48442
|
9405
-
9439
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])
|
|
250
|
40843
|
9400
-
9440
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))
|
|
250
|
35319
|
9413
-
9413
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
250
|
42921
|
9415
-
9439
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
251
|
47374
|
9466
-
9466
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
251
|
36150
|
9467
-
9503
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"ModerationGetQuestionPersonalities"
|
|
251
|
41868
|
9453
-
9453
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
251
|
34056
|
9453
-
9504
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonalities", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
251
|
49461
|
9453
-
9453
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
251
|
32509
|
9453
-
12314
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonalities", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId])](DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]).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], userId: Option[org.make.core.user.UserId], questionId: Option[org.make.core.question.QuestionId], personalityRoleId: Option[org.make.core.personality.PersonalityRoleId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))))))))
|
|
252
|
47112
|
9524
-
9841
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller)))
|
|
252
|
39527
|
9534
-
9534
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac7
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]
|
|
253
|
36189
|
9550
-
9582
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller))
|
|
253
|
42678
|
9550
-
9558
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"_start"
|
|
253
|
35075
|
9550
-
9582
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
253
|
40592
|
9581
-
9581
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)
|
|
253
|
47874
|
9581
-
9581
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller
|
|
254
|
42710
|
9598
-
9625
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller))
|
|
254
|
49495
|
9598
-
9604
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"_end"
|
|
254
|
46582
|
9624
-
9624
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)
|
|
254
|
41094
|
9598
-
9625
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
254
|
33477
|
9624
-
9624
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller
|
|
255
|
35109
|
9641
-
9648
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"_sort"
|
|
255
|
47633
|
9641
-
9650
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?
|
|
255
|
32473
|
9649
-
9649
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
255
|
49247
|
9641
-
9650
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
255
|
40024
|
9649
-
9649
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
256
|
41132
|
9666
-
9674
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"_order"
|
|
256
|
42743
|
9685
-
9685
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
256
|
47327
|
9685
-
9685
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
256
|
35646
|
9666
-
9686
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
256
|
33232
|
9666
-
9686
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
257
|
49285
|
9722
-
9722
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)
|
|
257
|
42185
|
9702
-
9723
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller))
|
|
257
|
39783
|
9702
-
9723
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?
|
|
257
|
32937
|
9722
-
9722
|
Select
|
org.make.core.ParameterExtractors.userIdFromStringUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller
|
|
257
|
47664
|
9702
-
9710
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"userId"
|
|
258
|
47365
|
9739
-
9768
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?
|
|
258
|
35681
|
9767
-
9767
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)
|
|
258
|
33268
|
9739
-
9751
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"questionId"
|
|
258
|
39491
|
9767
-
9767
|
Select
|
org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller
|
|
258
|
48726
|
9739
-
9768
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller))
|
|
259
|
49204
|
9826
-
9826
|
Select
|
org.make.core.ParameterExtractors.personalityRoleIdFromStringUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller
|
|
259
|
32974
|
9784
-
9827
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?
|
|
259
|
40588
|
9784
-
9803
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"personalityRoleId"
|
|
259
|
33304
|
9784
-
9827
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))
|
|
259
|
42221
|
9826
-
9826
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller)
|
|
260
|
40670
|
9524
-
12302
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId])](DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]).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], userId: Option[org.make.core.user.UserId], questionId: Option[org.make.core.question.QuestionId], personalityRoleId: Option[org.make.core.personality.PersonalityRoleId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))))))
|
|
270
|
34822
|
10216
-
10226
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
270
|
48760
|
10216
-
10216
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
270
|
47952
|
10216
-
12288
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))))
|
|
271
|
30861
|
10277
-
12270
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))
|
|
271
|
32721
|
10277
-
10304
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
271
|
40622
|
10294
-
10303
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
272
|
34858
|
10327
-
10695
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)
|
|
274
|
49238
|
10408
-
10421
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
274
|
41375
|
10351
-
10479
|
Apply
|
org.make.api.personality.QuestionPersonalityService.find
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)
|
|
275
|
33842
|
10351
-
10516
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective
|
|
277
|
47150
|
10540
-
10636
|
Apply
|
org.make.api.personality.QuestionPersonalityService.count
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)
|
|
278
|
38743
|
10540
-
10673
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective
|
|
279
|
48202
|
10696
-
10696
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
279
|
45274
|
10696
-
10696
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]
|
|
279
|
32761
|
10327
-
10702
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
279
|
39313
|
10327
-
12250
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
}))
|
|
279
|
40374
|
10696
-
10696
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
282
|
45318
|
10788
-
11179
|
Apply
|
org.make.api.personality.PersonalityRoleService.find
|
|
DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)
|
|
283
|
41413
|
10881
-
10903
|
Select
|
org.make.core.technical.Pagination.Offset.zero
|
|
org.make.core.technical.Pagination.Offset.zero
|
|
284
|
33259
|
10939
-
10943
|
Select
|
scala.None
|
|
scala.None
|
|
285
|
46903
|
10980
-
10984
|
Select
|
scala.None
|
|
scala.None
|
|
286
|
38785
|
11022
-
11026
|
Select
|
scala.None
|
|
scala.None
|
|
287
|
34625
|
11089
-
11108
|
Select
|
org.make.core.personality.Personality.personalityRoleId
|
|
x$4.personalityRoleId
|
|
287
|
48715
|
11071
-
11109
|
Apply
|
scala.collection.IterableOps.map
|
|
personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))
|
|
287
|
39809
|
11066
-
11110
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId)))
|
|
288
|
31974
|
11147
-
11151
|
Select
|
scala.None
|
|
scala.None
|
|
290
|
41446
|
10788
-
11218
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective
|
|
290
|
46898
|
10788
-
12227
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
|
|
290
|
34332
|
11207
-
11207
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]
|
|
293
|
32711
|
11398
-
12095
|
Apply
|
scala.collection.IterableOps.map
|
|
personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}))
|
|
295
|
38530
|
11530
-
11585
|
Apply
|
java.lang.Object.==
|
|
role.personalityRoleId.==(personality.personalityRoleId)
|
|
295
|
34657
|
11465
-
11586
|
Apply
|
scala.collection.IterableOnceOps.find
|
|
personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId)))
|
|
295
|
46350
|
11556
-
11585
|
Select
|
org.make.core.personality.Personality.personalityRoleId
|
|
personality.personalityRoleId
|
|
297
|
48750
|
11695
-
11757
|
Apply
|
org.make.api.personality.AdminQuestionPersonalityResponse.apply
|
|
AdminQuestionPersonalityResponse.apply(personality, personalityRole)
|
|
299
|
40885
|
11841
-
12029
|
Throw
|
<nosymbol>
|
|
throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
|
|
304
|
30949
|
12135
-
12135
|
Select
|
org.make.api.personality.AdminQuestionPersonalityResponse.encoder
|
|
personality.this.AdminQuestionPersonalityResponse.encoder
|
|
304
|
40917
|
12135
-
12135
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]
|
|
304
|
48515
|
12135
-
12135
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder)
|
|
304
|
41403
|
12135
-
12198
|
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.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]])))
|
|
304
|
41968
|
12173
-
12187
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
304
|
34372
|
12157
-
12188
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
304
|
45356
|
12136
-
12150
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
304
|
39279
|
12135
-
12198
|
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.personality.AdminQuestionPersonalityResponse]](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())), result)
|
|
304
|
34132
|
12126
-
12199
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
|
|
304
|
32472
|
12135
-
12135
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]])
|
|
304
|
45825
|
12135
-
12135
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))
|
|
304
|
47413
|
12152
-
12189
|
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()))
|
|
316
|
45358
|
12402
-
13447
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))))))))))))))))
|
|
316
|
33552
|
12402
-
12405
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.get
|
|
317
|
39075
|
12431
-
12455
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
317
|
47699
|
12458
-
12471
|
Select
|
org.make.api.personality.DefaultAdminQuestionPersonalityApiComponent.DefaultAdminQuestionPersonalityApi.personalityId
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.personalityId
|
|
317
|
30903
|
12429
-
12429
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
317
|
40873
|
12456
-
12456
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]
|
|
317
|
32296
|
12416
-
13439
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))))))))))))))
|
|
317
|
45063
|
12416
-
12472
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]))
|
|
317
|
46663
|
12421
-
12428
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"admin"
|
|
317
|
32544
|
12421
-
12471
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])
|
|
317
|
37481
|
12420
-
12420
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]
|
|
318
|
33306
|
12516
-
12550
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"ModerationGetQuestionPersonality"
|
|
318
|
40450
|
12502
-
13429
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))))))))))))
|
|
318
|
30652
|
12502
-
12551
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
318
|
47737
|
12515
-
12515
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
318
|
47402
|
12502
-
12502
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
318
|
39108
|
12502
-
12502
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
319
|
40907
|
12571
-
12581
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
319
|
33011
|
12571
-
12571
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
319
|
44019
|
12571
-
13417
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))))))))))
|
|
320
|
45104
|
12645
-
12654
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
320
|
31196
|
12628
-
13403
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))))))))
|
|
320
|
37230
|
12628
-
12655
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
321
|
39030
|
12731
-
12731
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.Personality]
|
|
321
|
38823
|
12674
-
13387
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))))))))
|
|
321
|
47436
|
12674
-
12752
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound
|
|
321
|
34122
|
12674
-
12730
|
Apply
|
org.make.api.personality.QuestionPersonalityService.getPersonality
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)
|
|
323
|
30690
|
12851
-
12880
|
Select
|
org.make.core.personality.Personality.personalityRoleId
|
|
personality.personalityRoleId
|
|
324
|
37270
|
12910
-
12910
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
324
|
34156
|
12788
-
13198
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
326
|
40658
|
12966
-
13133
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String)))
|
|
327
|
43773
|
13024
-
13107
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))
|
|
329
|
33048
|
13158
-
13175
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)
|
|
329
|
45572
|
12934
-
13176
|
Apply
|
scala.Option.fold
|
|
x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))
|
|
331
|
39066
|
13220
-
13220
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]
|
|
331
|
47191
|
12788
-
13231
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective
|
|
331
|
47226
|
12788
-
13369
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))))))
|
|
332
|
33916
|
13275
-
13347
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))))
|
|
332
|
32256
|
13316
-
13316
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])
|
|
332
|
38010
|
13284
-
13346
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))
|
|
332
|
31158
|
13284
-
13346
|
Apply
|
org.make.api.personality.AdminQuestionPersonalityResponse.apply
|
|
AdminQuestionPersonalityResponse.apply(personality, personalityRole)
|
|
332
|
45605
|
13316
-
13316
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))
|
|
332
|
40694
|
13316
-
13316
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]
|
|
332
|
44575
|
13316
-
13316
|
Select
|
org.make.api.personality.AdminQuestionPersonalityResponse.encoder
|
|
personality.this.AdminQuestionPersonalityResponse.encoder
|
|
343
|
39385
|
13520
-
14004
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.delete).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationDeleteQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))
|
|
343
|
37224
|
13520
-
13526
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.delete
|
|
344
|
39888
|
13542
-
13592
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])
|
|
344
|
50567
|
13542
-
13549
|
Literal
|
<nosymbol>
|
|
"admin"
|
|
344
|
45396
|
13541
-
13541
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]
|
|
344
|
46978
|
13552
-
13576
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
344
|
43766
|
13577
-
13577
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]
|
|
344
|
32051
|
13537
-
13593
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
|
DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]))
|
|
344
|
46968
|
13537
-
13996
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationDeleteQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
344
|
31234
|
13579
-
13592
|
Select
|
org.make.api.personality.DefaultAdminQuestionPersonalityApiComponent.DefaultAdminQuestionPersonalityApi.personalityId
|
|
DefaultAdminQuestionPersonalityApi.this.personalityId
|
|
344
|
38857
|
13550
-
13550
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[Unit]
|
|
345
|
37259
|
13637
-
13674
|
Literal
|
<nosymbol>
|
|
"ModerationDeleteQuestionPersonality"
|
|
345
|
47178
|
13623
-
13623
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
345
|
38613
|
13623
-
13675
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationDeleteQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
345
|
50324
|
13623
-
13623
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
345
|
51418
|
13623
-
13986
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationDeleteQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
345
|
31766
|
13636
-
13636
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
346
|
37056
|
13695
-
13974
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))
|
|
346
|
43807
|
13695
-
13705
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
346
|
35944
|
13695
-
13695
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
347
|
45438
|
13752
-
13779
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
347
|
32788
|
13769
-
13778
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
347
|
45347
|
13752
-
13960
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))
|
|
348
|
46933
|
13858
-
13858
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
348
|
38328
|
13798
-
13857
|
Apply
|
org.make.api.personality.QuestionPersonalityService.deletePersonality
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)
|
|
348
|
32828
|
13798
-
13944
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
|
|
348
|
50362
|
13798
-
13869
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective
|
|
349
|
30480
|
13916
-
13916
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
349
|
44861
|
13904
-
13925
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
349
|
36743
|
13895
-
13926
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
349
|
39350
|
13904
-
13925
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
371
|
32577
|
14655
-
14827
|
Apply
|
org.make.api.personality.AdminQuestionPersonalityResponse.apply
|
|
AdminQuestionPersonalityResponse.apply(personality.personalityId, personality.userId, personalityRole.personalityRoleId)
|
|
372
|
30938
|
14700
-
14725
|
Select
|
org.make.core.personality.Personality.personalityId
|
|
personality.personalityId
|
|
373
|
43595
|
14742
-
14760
|
Select
|
org.make.core.personality.Personality.userId
|
|
personality.userId
|
|
374
|
36503
|
14788
-
14821
|
Select
|
org.make.core.personality.PersonalityRole.personalityRoleId
|
|
personalityRole.personalityRoleId
|
|
377
|
45386
|
14897
-
14944
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.personality.AdminQuestionPersonalityResponse]({
val inst$macro$16: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.AdminQuestionPersonalityResponse] = {
final class anon$lazy$macro$15 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$15 = {
anon$lazy$macro$15.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.AdminQuestionPersonalityResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.personality.AdminQuestionPersonalityResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.AdminQuestionPersonalityResponse, (Symbol @@ String("id")) :: (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.AdminQuestionPersonalityResponse, (Symbol @@ String("id")) :: (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("userId"), (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")], ::.apply[Symbol @@ String("personalityRoleId"), shapeless.HNil.type](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")], HNil)))), Generic.instance[org.make.api.personality.AdminQuestionPersonalityResponse, org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil](((x0$3: org.make.api.personality.AdminQuestionPersonalityResponse) => x0$3 match {
case (id: org.make.core.personality.PersonalityId, userId: org.make.core.user.UserId, personalityRoleId: org.make.core.personality.PersonalityRoleId): org.make.api.personality.AdminQuestionPersonalityResponse((id$macro$11 @ _), (userId$macro$12 @ _), (personalityRoleId$macro$13 @ _)) => ::.apply[org.make.core.personality.PersonalityId, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](id$macro$11, ::.apply[org.make.core.user.UserId, org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](userId$macro$12, ::.apply[org.make.core.personality.PersonalityRoleId, shapeless.HNil.type](personalityRoleId$macro$13, HNil))).asInstanceOf[org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil]
}), ((x0$4: org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.personality.PersonalityId, tail: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((id$macro$8 @ _), (head: org.make.core.user.UserId, tail: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((userId$macro$9 @ _), (head: org.make.core.personality.PersonalityRoleId, tail: shapeless.HNil): org.make.core.personality.PersonalityRoleId :: shapeless.HNil((personalityRoleId$macro$10 @ _), HNil))) => personality.this.AdminQuestionPersonalityResponse.apply(id$macro$8, userId$macro$9, personalityRoleId$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.personality.PersonalityId, (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userId"), org.make.core.user.UserId, (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userId")]](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userId")]])), 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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.AdminQuestionPersonalityResponse]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.personality.PersonalityId] = personality.this.PersonalityId.personalityIdDecoder;
private[this] val circeGenericDecoderForuserId: io.circe.Decoder[org.make.core.user.UserId] = user.this.UserId.userIdDecoder;
private[this] val circeGenericDecoderForpersonalityRoleId: io.circe.Decoder[org.make.core.personality.PersonalityRoleId] = personality.this.PersonalityRoleId.personalityRoleIdDecoder;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.personality.PersonalityId, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("userId"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserId.tryDecode(c.downField("userId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpersonalityRoleId.tryDecode(c.downField("personalityRoleId")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.personality.PersonalityId, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("userId"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserId.tryDecodeAccumulating(c.downField("userId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpersonalityRoleId.tryDecodeAccumulating(c.downField("personalityRoleId")), ReprDecoder.hnilResultAccumulating)(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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$15().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.AdminQuestionPersonalityResponse]](inst$macro$16)
})
|
|
378
|
37514
|
15013
-
15060
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.personality.AdminQuestionPersonalityResponse]({
val inst$macro$32: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.AdminQuestionPersonalityResponse] = {
final class anon$lazy$macro$31 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$31 = {
anon$lazy$macro$31.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$17: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.AdminQuestionPersonalityResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.personality.AdminQuestionPersonalityResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.AdminQuestionPersonalityResponse, (Symbol @@ String("id")) :: (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.AdminQuestionPersonalityResponse, (Symbol @@ String("id")) :: (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("userId"), (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")], ::.apply[Symbol @@ String("personalityRoleId"), shapeless.HNil.type](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")], HNil)))), Generic.instance[org.make.api.personality.AdminQuestionPersonalityResponse, org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil](((x0$7: org.make.api.personality.AdminQuestionPersonalityResponse) => x0$7 match {
case (id: org.make.core.personality.PersonalityId, userId: org.make.core.user.UserId, personalityRoleId: org.make.core.personality.PersonalityRoleId): org.make.api.personality.AdminQuestionPersonalityResponse((id$macro$27 @ _), (userId$macro$28 @ _), (personalityRoleId$macro$29 @ _)) => ::.apply[org.make.core.personality.PersonalityId, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](id$macro$27, ::.apply[org.make.core.user.UserId, org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](userId$macro$28, ::.apply[org.make.core.personality.PersonalityRoleId, shapeless.HNil.type](personalityRoleId$macro$29, HNil))).asInstanceOf[org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil]
}), ((x0$8: org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil) => x0$8 match {
case (head: org.make.core.personality.PersonalityId, tail: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((id$macro$24 @ _), (head: org.make.core.user.UserId, tail: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((userId$macro$25 @ _), (head: org.make.core.personality.PersonalityRoleId, tail: shapeless.HNil): org.make.core.personality.PersonalityRoleId :: shapeless.HNil((personalityRoleId$macro$26 @ _), HNil))) => personality.this.AdminQuestionPersonalityResponse.apply(id$macro$24, userId$macro$25, personalityRoleId$macro$26)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.personality.PersonalityId, (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userId"), org.make.core.user.UserId, (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userId")]](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userId")]])), 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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$31.this.inst$macro$30)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.AdminQuestionPersonalityResponse]];
<stable> <accessor> lazy val inst$macro$30: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.personality.PersonalityId] = personality.this.PersonalityId.personalityIdEncoder;
private[this] val circeGenericEncoderForuserId: io.circe.Encoder[org.make.core.user.UserId] = user.this.UserId.userIdEncoder;
private[this] val circeGenericEncoderForpersonalityRoleId: io.circe.Encoder[org.make.core.personality.PersonalityRoleId] = personality.this.PersonalityRoleId.personalityRoleIdEncoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId], tail: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId], tail: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForuserId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForpersonalityRoleId @ _), 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]("userId", $anon.this.circeGenericEncoderForuserId.apply(circeGenericHListBindingForuserId)), scala.Tuple2.apply[String, io.circe.Json]("personalityRoleId", $anon.this.circeGenericEncoderForpersonalityRoleId.apply(circeGenericHListBindingForpersonalityRoleId))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$31().inst$macro$17
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.AdminQuestionPersonalityResponse]](inst$macro$32)
})
|
|
389
|
50916
|
15481
-
15517
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.personality.PersonalityIdResponse]({
val inst$macro$12: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.PersonalityIdResponse] = {
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.personality.PersonalityIdResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.personality.PersonalityIdResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.PersonalityIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("personalityId")) :: shapeless.HNil, org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.PersonalityIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("personalityId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("personalityId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("personalityId"), shapeless.HNil.type](scala.Symbol.apply("personalityId").asInstanceOf[Symbol @@ String("personalityId")], HNil))), Generic.instance[org.make.api.personality.PersonalityIdResponse, org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil](((x0$3: org.make.api.personality.PersonalityIdResponse) => x0$3 match {
case (id: org.make.core.personality.PersonalityId, personalityId: org.make.core.personality.PersonalityId): org.make.api.personality.PersonalityIdResponse((id$macro$8 @ _), (personalityId$macro$9 @ _)) => ::.apply[org.make.core.personality.PersonalityId, org.make.core.personality.PersonalityId :: shapeless.HNil.type](id$macro$8, ::.apply[org.make.core.personality.PersonalityId, shapeless.HNil.type](personalityId$macro$9, HNil)).asInstanceOf[org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil]
}), ((x0$4: org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.personality.PersonalityId, tail: org.make.core.personality.PersonalityId :: shapeless.HNil): org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil((id$macro$6 @ _), (head: org.make.core.personality.PersonalityId, tail: shapeless.HNil): org.make.core.personality.PersonalityId :: shapeless.HNil((personalityId$macro$7 @ _), HNil)) => personality.this.PersonalityIdResponse.apply(id$macro$6, personalityId$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.personality.PersonalityId, (Symbol @@ String("personalityId")) :: shapeless.HNil, org.make.core.personality.PersonalityId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("personalityId"), org.make.core.personality.PersonalityId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("personalityId")]](scala.Symbol.apply("personalityId").asInstanceOf[Symbol @@ String("personalityId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("personalityId")]])), 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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.PersonalityIdResponse]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForpersonalityId: io.circe.Encoder[org.make.core.personality.PersonalityId] = personality.this.PersonalityId.personalityIdEncoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId], tail: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForpersonalityId @ _), 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.circeGenericEncoderForpersonalityId.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("personalityId", $anon.this.circeGenericEncoderForpersonalityId.apply(circeGenericHListBindingForpersonalityId))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: 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.personality.PersonalityIdResponse]](inst$macro$12)
})
|
|
391
|
43313
|
15575
-
15604
|
Apply
|
org.make.api.personality.PersonalityIdResponse.apply
|
|
PersonalityIdResponse.apply(id, id)
|