| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
158
|
39730
|
5327
-
5372
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.idea.moderationideaapitest
|
ModerationIdeaApi.this._enhanceRouteWithConcatenation(ModerationIdeaApi.this._enhanceRouteWithConcatenation(ModerationIdeaApi.this._enhanceRouteWithConcatenation(ModerationIdeaApi.this.createIdea).~(ModerationIdeaApi.this.updateIdea)).~(ModerationIdeaApi.this.listIdeas)).~(ModerationIdeaApi.this.getIdea)
|
|
158
|
43124
|
5353
-
5362
|
Select
|
org.make.api.idea.ModerationIdeaApi.listIdeas
|
org.make.api.idea.moderationideaapitest
|
ModerationIdeaApi.this.listIdeas
|
|
158
|
46503
|
5327
-
5350
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.idea.moderationideaapitest
|
ModerationIdeaApi.this._enhanceRouteWithConcatenation(ModerationIdeaApi.this.createIdea).~(ModerationIdeaApi.this.updateIdea)
|
|
158
|
48306
|
5365
-
5372
|
Select
|
org.make.api.idea.ModerationIdeaApi.getIdea
|
org.make.api.idea.moderationideaapitest
|
ModerationIdeaApi.this.getIdea
|
|
158
|
35548
|
5327
-
5362
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.idea.moderationideaapitest
|
ModerationIdeaApi.this._enhanceRouteWithConcatenation(ModerationIdeaApi.this._enhanceRouteWithConcatenation(ModerationIdeaApi.this.createIdea).~(ModerationIdeaApi.this.updateIdea)).~(ModerationIdeaApi.this.listIdeas)
|
|
158
|
42040
|
5327
-
5337
|
Select
|
org.make.api.idea.ModerationIdeaApi.createIdea
|
org.make.api.idea.moderationideaapitest
|
ModerationIdeaApi.this.createIdea
|
|
158
|
33190
|
5340
-
5350
|
Select
|
org.make.api.idea.ModerationIdeaApi.updateIdea
|
org.make.api.idea.moderationideaapitest
|
ModerationIdeaApi.this.updateIdea
|
|
178
|
32136
|
5933
-
5940
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.Segment
|
|
178
|
42079
|
5933
-
5962
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.idea.moderationideaapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultModerationIdeaApi.this.Segment).map[org.make.core.idea.IdeaId](((id: String) => org.make.core.idea.IdeaId.apply(id)))
|
|
178
|
49641
|
5951
-
5961
|
Apply
|
org.make.core.idea.IdeaId.apply
|
org.make.api.idea.moderationideaapitest
|
org.make.core.idea.IdeaId.apply(id)
|
|
181
|
33955
|
6003
-
6212
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.idea.moderationideaapitest
|
scala.`package`.Seq.apply[String]("ideaId", "name", "status", "createdAt", "updatedAt", "operationId", "questionId", "question", "language", "country")
|
|
195
|
32979
|
6258
-
8098
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.path[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(Option[String], Option[org.make.core.question.QuestionId], Option[org.make.core.technical.Pagination.End], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationIdeaApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationIdeaApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationIdeaApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationIdeaApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationIdeaApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationIdeaApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationIdeaApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac6[Option[String], Option[org.make.core.question.QuestionId], Option[org.make.core.technical.Pagination.End], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((name: Option[String], questionId: Option[org.make.core.question.QuestionId], end: Option[org.make.core.technical.Pagination.End], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("GetAllIdeas", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply({
sort.foreach[org.make.core.Validation.OneOf[String]](((sortValue: String) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.OneOf[String]](org.make.core.Validation.AnyWithParsers[String](sortValue).toOneOf(DefaultModerationIdeaApi.this.SortingChoices, "_sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(DefaultModerationIdeaApi.this.SortingChoices.mkString("\"", "\", \"", "\"")): String)))).throwIfInvalid()));
val filters: org.make.api.idea.IdeaFiltersRequest = IdeaFiltersRequest.apply(name, questionId, end.map[org.make.core.technical.Pagination.Limit](((x$1: org.make.core.technical.Pagination.End) => x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))), offset, sort, order);
server.this.Directive.addDirectiveApply[(org.make.core.idea.indexed.IdeaSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.idea.indexed.IdeaSearchResult](DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))).asDirective)(util.this.ApplyConverter.hac1[org.make.core.idea.indexed.IdeaSearchResult]).apply(((ideas: org.make.core.idea.indexed.IdeaSearchResult) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))))))
})))))))))
|
|
195
|
46251
|
6258
-
6261
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.get
|
|
196
|
32638
|
6272
-
6300
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.path[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit]))
|
|
196
|
39812
|
6272
-
8090
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.path[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(Option[String], Option[org.make.core.question.QuestionId], Option[org.make.core.technical.Pagination.End], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationIdeaApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationIdeaApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationIdeaApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationIdeaApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationIdeaApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationIdeaApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationIdeaApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac6[Option[String], Option[org.make.core.question.QuestionId], Option[org.make.core.technical.Pagination.End], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((name: Option[String], questionId: Option[org.make.core.question.QuestionId], end: Option[org.make.core.technical.Pagination.End], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("GetAllIdeas", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply({
sort.foreach[org.make.core.Validation.OneOf[String]](((sortValue: String) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.OneOf[String]](org.make.core.Validation.AnyWithParsers[String](sortValue).toOneOf(DefaultModerationIdeaApi.this.SortingChoices, "_sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(DefaultModerationIdeaApi.this.SortingChoices.mkString("\"", "\", \"", "\"")): String)))).throwIfInvalid()));
val filters: org.make.api.idea.IdeaFiltersRequest = IdeaFiltersRequest.apply(name, questionId, end.map[org.make.core.technical.Pagination.Limit](((x$1: org.make.core.technical.Pagination.End) => x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))), offset, sort, order);
server.this.Directive.addDirectiveApply[(org.make.core.idea.indexed.IdeaSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.idea.indexed.IdeaSearchResult](DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))).asDirective)(util.this.ApplyConverter.hac1[org.make.core.idea.indexed.IdeaSearchResult]).apply(((ideas: org.make.core.idea.indexed.IdeaSearchResult) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))))))
}))))))))
|
|
196
|
40473
|
6277
-
6299
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])
|
|
196
|
48066
|
6290
-
6290
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.idea.moderationideaapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
196
|
43161
|
6277
-
6289
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"moderation"
|
|
196
|
35295
|
6292
-
6299
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas")
|
|
197
|
47304
|
6313
-
6544
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationIdeaApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationIdeaApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationIdeaApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationIdeaApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationIdeaApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationIdeaApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))))
|
|
197
|
38425
|
6323
-
6323
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac6
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac6[Option[String], Option[org.make.core.question.QuestionId], Option[org.make.core.technical.Pagination.End], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]
|
|
198
|
49682
|
6337
-
6343
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"name"
|
|
198
|
33706
|
6344
-
6344
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
198
|
42913
|
6337
-
6345
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.idea.moderationideaapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
198
|
46986
|
6344
-
6344
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
198
|
41566
|
6337
-
6345
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._string2NR("name").?
|
|
199
|
40226
|
6387
-
6387
|
Select
|
org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.questionIdFromStringUnmarshaller
|
|
199
|
49721
|
6359
-
6388
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.idea.moderationideaapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationIdeaApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationIdeaApiComponent.this.questionIdFromStringUnmarshaller))
|
|
199
|
48099
|
6359
-
6388
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?
|
|
199
|
32093
|
6387
-
6387
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationIdeaApiComponent.this.questionIdFromStringUnmarshaller)
|
|
199
|
35334
|
6359
-
6371
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"questionId"
|
|
200
|
46210
|
6428
-
6428
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.endFromIntUnmarshaller
|
|
200
|
38637
|
6428
-
6428
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationIdeaApiComponent.this.endFromIntUnmarshaller)
|
|
200
|
33750
|
6402
-
6429
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
200
|
35377
|
6402
-
6429
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.idea.moderationideaapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationIdeaApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationIdeaApiComponent.this.endFromIntUnmarshaller))
|
|
200
|
41325
|
6402
-
6408
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"_end"
|
|
201
|
40262
|
6443
-
6475
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
201
|
31837
|
6474
-
6474
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.startFromIntUnmarshaller
|
|
201
|
48879
|
6474
-
6474
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApiComponent.this.startFromIntUnmarshaller)
|
|
201
|
47856
|
6443
-
6451
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"_start"
|
|
201
|
41363
|
6443
-
6475
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.idea.moderationideaapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApiComponent.this.startFromIntUnmarshaller))
|
|
202
|
38674
|
6497
-
6497
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
202
|
47896
|
6489
-
6498
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.idea.moderationideaapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
202
|
35287
|
6497
-
6497
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
202
|
33492
|
6489
-
6496
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"_sort"
|
|
202
|
46247
|
6489
-
6498
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._string2NR("_sort").?
|
|
203
|
40790
|
6512
-
6520
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"_order"
|
|
203
|
45192
|
6531
-
6531
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
203
|
41818
|
6531
-
6531
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.idea.moderationideaapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationIdeaApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
203
|
31880
|
6512
-
6532
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
203
|
33531
|
6512
-
6532
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.idea.moderationideaapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationIdeaApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationIdeaApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
204
|
47672
|
6313
-
8080
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(Option[String], Option[org.make.core.question.QuestionId], Option[org.make.core.technical.Pagination.End], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order])](DefaultModerationIdeaApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("name").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultModerationIdeaApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultModerationIdeaApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultModerationIdeaApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultModerationIdeaApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultModerationIdeaApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultModerationIdeaApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultModerationIdeaApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultModerationIdeaApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac6[Option[String], Option[org.make.core.question.QuestionId], Option[org.make.core.technical.Pagination.End], Option[org.make.core.technical.Pagination.Offset], Option[String], Option[org.make.core.Order]]).apply(((name: Option[String], questionId: Option[org.make.core.question.QuestionId], end: Option[org.make.core.technical.Pagination.End], offset: Option[org.make.core.technical.Pagination.Offset], sort: Option[String], order: Option[org.make.core.Order]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("GetAllIdeas", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply({
sort.foreach[org.make.core.Validation.OneOf[String]](((sortValue: String) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.OneOf[String]](org.make.core.Validation.AnyWithParsers[String](sortValue).toOneOf(DefaultModerationIdeaApi.this.SortingChoices, "_sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(DefaultModerationIdeaApi.this.SortingChoices.mkString("\"", "\", \"", "\"")): String)))).throwIfInvalid()));
val filters: org.make.api.idea.IdeaFiltersRequest = IdeaFiltersRequest.apply(name, questionId, end.map[org.make.core.technical.Pagination.Limit](((x$1: org.make.core.technical.Pagination.End) => x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))), offset, sort, order);
server.this.Directive.addDirectiveApply[(org.make.core.idea.indexed.IdeaSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.idea.indexed.IdeaSearchResult](DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))).asDirective)(util.this.ApplyConverter.hac1[org.make.core.idea.indexed.IdeaSearchResult]).apply(((ideas: org.make.core.idea.indexed.IdeaSearchResult) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))))))
})))))))
|
|
205
|
45717
|
6620
-
6620
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
205
|
40827
|
6607
-
6607
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation$default$3
|
|
205
|
31920
|
6607
-
6635
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation("GetAllIdeas", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3)
|
|
205
|
30565
|
6607
-
8068
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("GetAllIdeas", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply({
sort.foreach[org.make.core.Validation.OneOf[String]](((sortValue: String) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.OneOf[String]](org.make.core.Validation.AnyWithParsers[String](sortValue).toOneOf(DefaultModerationIdeaApi.this.SortingChoices, "_sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(DefaultModerationIdeaApi.this.SortingChoices.mkString("\"", "\", \"", "\"")): String)))).throwIfInvalid()));
val filters: org.make.api.idea.IdeaFiltersRequest = IdeaFiltersRequest.apply(name, questionId, end.map[org.make.core.technical.Pagination.Limit](((x$1: org.make.core.technical.Pagination.End) => x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))), offset, sort, order);
server.this.Directive.addDirectiveApply[(org.make.core.idea.indexed.IdeaSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.idea.indexed.IdeaSearchResult](DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))).asDirective)(util.this.ApplyConverter.hac1[org.make.core.idea.indexed.IdeaSearchResult]).apply(((ideas: org.make.core.idea.indexed.IdeaSearchResult) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))))))
})))))
|
|
205
|
35323
|
6621
-
6634
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"GetAllIdeas"
|
|
205
|
48355
|
6607
-
6607
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation$default$2
|
|
206
|
39477
|
6670
-
8054
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply({
sort.foreach[org.make.core.Validation.OneOf[String]](((sortValue: String) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.OneOf[String]](org.make.core.Validation.AnyWithParsers[String](sortValue).toOneOf(DefaultModerationIdeaApi.this.SortingChoices, "_sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(DefaultModerationIdeaApi.this.SortingChoices.mkString("\"", "\", \"", "\"")): String)))).throwIfInvalid()));
val filters: org.make.api.idea.IdeaFiltersRequest = IdeaFiltersRequest.apply(name, questionId, end.map[org.make.core.technical.Pagination.Limit](((x$1: org.make.core.technical.Pagination.End) => x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))), offset, sort, order);
server.this.Directive.addDirectiveApply[(org.make.core.idea.indexed.IdeaSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.idea.indexed.IdeaSearchResult](DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))).asDirective)(util.this.ApplyConverter.hac1[org.make.core.idea.indexed.IdeaSearchResult]).apply(((ideas: org.make.core.idea.indexed.IdeaSearchResult) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))))))
})))
|
|
206
|
41860
|
6670
-
6680
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOAuth2
|
|
206
|
33450
|
6670
-
6670
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
207
|
47340
|
6755
-
6768
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
207
|
38463
|
6733
-
6769
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole
|
|
DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)
|
|
207
|
46570
|
6733
-
8038
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply({
sort.foreach[org.make.core.Validation.OneOf[String]](((sortValue: String) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.OneOf[String]](org.make.core.Validation.AnyWithParsers[String](sortValue).toOneOf(DefaultModerationIdeaApi.this.SortingChoices, "_sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(DefaultModerationIdeaApi.this.SortingChoices.mkString("\"", "\", \"", "\"")): String)))).throwIfInvalid()));
val filters: org.make.api.idea.IdeaFiltersRequest = IdeaFiltersRequest.apply(name, questionId, end.map[org.make.core.technical.Pagination.Limit](((x$1: org.make.core.technical.Pagination.End) => x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))), offset, sort, order);
server.this.Directive.addDirectiveApply[(org.make.core.idea.indexed.IdeaSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.idea.indexed.IdeaSearchResult](DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))).asDirective)(util.this.ApplyConverter.hac1[org.make.core.idea.indexed.IdeaSearchResult]).apply(((ideas: org.make.core.idea.indexed.IdeaSearchResult) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))))))
})
|
|
208
|
48391
|
6790
-
7257
|
Apply
|
scala.Option.foreach
|
|
sort.foreach[org.make.core.Validation.OneOf[String]](((sortValue: String) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.OneOf[String]](org.make.core.Validation.AnyWithParsers[String](sortValue).toOneOf(DefaultModerationIdeaApi.this.SortingChoices, "_sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(DefaultModerationIdeaApi.this.SortingChoices.mkString("\"", "\", \"", "\"")): String)))).throwIfInvalid()))
|
|
218
|
35076
|
6859
-
7237
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.OneOf[String]](org.make.core.Validation.AnyWithParsers[String](sortValue).toOneOf(DefaultModerationIdeaApi.this.SortingChoices, "_sort", scala.Some.apply[String](("Invalid sort. Got ".+(sortValue).+(" but expected one of: ").+(DefaultModerationIdeaApi.this.SortingChoices.mkString("\"", "\", \"", "\"")): String)))).throwIfInvalid()
|
|
221
|
41610
|
7330
-
7628
|
Apply
|
org.make.api.idea.IdeaFiltersRequest.apply
|
|
IdeaFiltersRequest.apply(name, questionId, end.map[org.make.core.technical.Pagination.Limit](((x$1: org.make.core.technical.Pagination.End) => x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero))), offset, sort, order)
|
|
224
|
45761
|
7462
-
7495
|
Apply
|
scala.Option.map
|
|
end.map[org.make.core.technical.Pagination.Limit](((x$1: org.make.core.technical.Pagination.End) => x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero)))
|
|
224
|
32982
|
7470
-
7494
|
Apply
|
org.make.core.technical.Pagination.End.toLimit
|
|
x$1.toLimit(technical.this.Pagination.RichOptionOffset(offset).orZero)
|
|
224
|
40252
|
7480
-
7493
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
229
|
33270
|
7647
-
8020
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.idea.indexed.IdeaSearchResult,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.idea.indexed.IdeaSearchResult](DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))).asDirective)(util.this.ApplyConverter.hac1[org.make.core.idea.indexed.IdeaSearchResult]).apply(((ideas: org.make.core.idea.indexed.IdeaSearchResult) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))))))
|
|
229
|
38979
|
7647
-
7718
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.idea.indexed.IdeaSearchResult](DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))).asDirective
|
|
229
|
33485
|
7668
-
7705
|
Apply
|
org.make.api.idea.IdeaFiltersRequest.toSearchQuery
|
|
filters.toSearchQuery(requestContext)
|
|
229
|
31388
|
7707
-
7707
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.idea.indexed.IdeaSearchResult]
|
|
229
|
46770
|
7647
-
7706
|
Apply
|
org.make.api.idea.IdeaService.fetchAll
|
|
DefaultModerationIdeaApiComponent.this.ideaService.fetchAll(filters.toSearchQuery(requestContext))
|
|
230
|
41689
|
7750
-
8000
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))))
|
|
231
|
38420
|
7782
-
7782
|
Select
|
org.make.api.idea.IdeaResponse.encoder
|
|
idea.this.IdeaResponse.encoder
|
|
231
|
47636
|
7782
-
7782
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]
|
|
231
|
40049
|
7782
-
7782
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]])
|
|
231
|
32939
|
7782
-
7782
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]]))
|
|
231
|
46540
|
7782
-
7978
|
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.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea))))
|
|
231
|
31129
|
7782
-
7782
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder)
|
|
231
|
44937
|
7782
-
7978
|
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.idea.IdeaResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.idea.IdeaResponse]](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(ideas.total.toString())), ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.idea.IdeaResponse]](DefaultModerationIdeaApiComponent.this.marshaller[Seq[org.make.api.idea.IdeaResponse]](circe.this.Encoder.encodeSeq[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder), DefaultModerationIdeaApiComponent.this.marshaller$default$2[Seq[org.make.api.idea.IdeaResponse]])))
|
|
232
|
47599
|
7808
-
7822
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
233
|
40017
|
7869
-
7889
|
Apply
|
scala.Any.toString
|
|
ideas.total.toString()
|
|
233
|
32411
|
7853
-
7890
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(ideas.total.toString())
|
|
233
|
45505
|
7848
-
7891
|
Apply
|
scala.collection.IterableFactory.apply
|
|
scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(ideas.total.toString()))
|
|
234
|
33521
|
7917
-
7954
|
Apply
|
scala.collection.IterableOps.map
|
|
ideas.results.map[org.make.api.idea.IdeaResponse](((idea: org.make.core.idea.indexed.IndexedIdea) => IdeaResponse.apply(idea)))
|
|
234
|
41651
|
7935
-
7953
|
Apply
|
org.make.api.idea.IdeaResponse.apply
|
|
IdeaResponse.apply(idea)
|
|
247
|
44254
|
8148
-
8567
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.path[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.ideaId)(TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)])))(util.this.ApplyConverter.hac1[org.make.core.idea.IdeaId]).apply(((ideaId: org.make.core.idea.IdeaId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("GetIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.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],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))))))))))
|
|
247
|
46008
|
8148
-
8151
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.get
|
|
248
|
31637
|
8162
-
8559
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.path[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.ideaId)(TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)])))(util.this.ApplyConverter.hac1[org.make.core.idea.IdeaId]).apply(((ideaId: org.make.core.idea.IdeaId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("GetIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.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],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse])))))))))))))
|
|
248
|
37887
|
8167
-
8179
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"moderation"
|
|
248
|
32722
|
8166
-
8166
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[org.make.core.idea.IdeaId]
|
|
248
|
39517
|
8192
-
8198
|
Select
|
org.make.api.idea.DefaultModerationIdeaApiComponent.DefaultModerationIdeaApi.ideaId
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.ideaId
|
|
248
|
33311
|
8182
-
8189
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas")
|
|
248
|
39851
|
8162
-
8199
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.path[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.ideaId)(TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)]))
|
|
248
|
47082
|
8180
-
8180
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.idea.moderationideaapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
248
|
30601
|
8190
-
8190
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.idea.moderationideaapitest
|
TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)]
|
|
248
|
48137
|
8167
-
8198
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.ideaId)(TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)])
|
|
249
|
46046
|
8236
-
8245
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"GetIdea"
|
|
249
|
37929
|
8222
-
8222
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation$default$2
|
|
249
|
39275
|
8235
-
8235
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
249
|
33784
|
8222
-
8222
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation$default$3
|
|
249
|
38745
|
8222
-
8549
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("GetIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.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],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse])))))))))))
|
|
249
|
47121
|
8222
-
8246
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation("GetIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3)
|
|
250
|
46329
|
8266
-
8537
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse])))))))))
|
|
250
|
44454
|
8266
-
8266
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
250
|
31124
|
8266
-
8276
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOAuth2
|
|
251
|
39762
|
8349
-
8362
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
251
|
32763
|
8327
-
8363
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireModerationRole
|
|
DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)
|
|
251
|
34336
|
8327
-
8523
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireModerationRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse])))))))
|
|
252
|
37678
|
8382
-
8432
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound
|
|
252
|
33820
|
8411
-
8411
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.idea.Idea]
|
|
252
|
37719
|
8382
-
8507
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
|
|
252
|
46083
|
8382
-
8410
|
Apply
|
org.make.api.idea.IdeaService.fetchOne
|
|
DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)
|
|
253
|
39308
|
8482
-
8482
|
Select
|
org.make.api.idea.IdeaResponse.encoder
|
|
idea.this.IdeaResponse.encoder
|
|
253
|
44212
|
8482
-
8482
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse])
|
|
253
|
39803
|
8482
-
8482
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))
|
|
253
|
32198
|
8470
-
8488
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse])))
|
|
253
|
31162
|
8482
-
8482
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]
|
|
253
|
46289
|
8470
-
8488
|
Apply
|
org.make.api.idea.IdeaResponse.apply
|
|
IdeaResponse.apply(idea)
|
|
253
|
45287
|
8461
-
8489
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))
|
|
262
|
39627
|
8612
-
9961
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.path[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("CreateIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.CreateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.CreateIdeaRequest]).apply(((request: org.make.api.idea.CreateIdeaRequest) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](request.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))))
}))))))))))
|
|
262
|
40870
|
8612
-
8616
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.post
|
|
263
|
43507
|
8625
-
9955
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.path[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("CreateIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.CreateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.CreateIdeaRequest]).apply(((request: org.make.api.idea.CreateIdeaRequest) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](request.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))))
})))))))))
|
|
263
|
31960
|
8630
-
8642
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"moderation"
|
|
263
|
46039
|
8645
-
8652
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas")
|
|
263
|
38179
|
8643
-
8643
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.idea.moderationideaapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
263
|
46364
|
8625
-
8653
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.path[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit]))
|
|
263
|
50248
|
8630
-
8652
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])
|
|
264
|
50496
|
8664
-
9947
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("CreateIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.CreateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.CreateIdeaRequest]).apply(((request: org.make.api.idea.CreateIdeaRequest) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](request.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))))
}))))))))
|
|
264
|
44173
|
8664
-
8664
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation$default$3
|
|
264
|
31672
|
8664
-
8664
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation$default$2
|
|
264
|
40907
|
8664
-
8691
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation("CreateIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3)
|
|
264
|
39268
|
8678
-
8690
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"CreateIdea"
|
|
264
|
31991
|
8677
-
8677
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
265
|
38216
|
8709
-
8709
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
265
|
38003
|
8709
-
9937
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.CreateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.CreateIdeaRequest]).apply(((request: org.make.api.idea.CreateIdeaRequest) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](request.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))))
}))))))
|
|
265
|
45798
|
8709
-
8719
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOAuth2
|
|
266
|
45579
|
8768
-
9925
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.CreateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.CreateIdeaRequest]).apply(((request: org.make.api.idea.CreateIdeaRequest) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](request.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))))
}))))
|
|
266
|
47421
|
8768
-
8799
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultModerationIdeaApiComponent.this.requireAdminRole(userAuth.user)
|
|
266
|
50990
|
8785
-
8798
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
267
|
32805
|
8816
-
9911
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.CreateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.CreateIdeaRequest]).apply(((request: org.make.api.idea.CreateIdeaRequest) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](request.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))))
})))
|
|
267
|
39303
|
8816
-
8829
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultModerationIdeaApi.this.decodeRequest
|
|
268
|
45836
|
8848
-
8877
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultModerationIdeaApi.this.entity[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder))))
|
|
268
|
37971
|
8854
-
8854
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.idea.CreateIdeaRequest]
|
|
268
|
32510
|
8855
-
8876
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)))
|
|
268
|
44209
|
8857
-
8857
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)
|
|
268
|
36983
|
8848
-
9895
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.idea.CreateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.CreateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.CreateIdeaRequest]).apply(((request: org.make.api.idea.CreateIdeaRequest) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](request.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))))
}))
|
|
268
|
40323
|
8857
-
8857
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.CreateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.CreateIdeaRequest](idea.this.CreateIdeaRequest.decoder))
|
|
268
|
31428
|
8857
-
8857
|
Select
|
org.make.api.idea.CreateIdeaRequest.decoder
|
|
idea.this.CreateIdeaRequest.decoder
|
|
271
|
50745
|
8928
-
9074
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.question.QuestionId](org.make.core.Validation.OptionWithParsers[org.make.core.question.QuestionId](request.questionId).getValidated("question", scala.None, scala.Some.apply[String]("question should not be empty"))).throwIfInvalid()
|
|
274
|
46841
|
9152
-
9191
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId)
|
|
275
|
39060
|
9242
-
9246
|
Select
|
scala.None
|
|
scala.None
|
|
275
|
44248
|
9094
-
9248
|
Apply
|
scala.Option.getOrElse
|
|
request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))
|
|
275
|
31465
|
9224
-
9247
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
276
|
36405
|
9094
-
9291
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound
|
|
276
|
31946
|
9270
-
9270
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.question.Question]
|
|
277
|
44494
|
9094
-
9877
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](request.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))))
|
|
278
|
50783
|
9365
-
9426
|
Apply
|
org.make.api.idea.IdeaService.fetchOneByName
|
|
DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)
|
|
278
|
37469
|
9413
-
9425
|
Select
|
org.make.api.idea.CreateIdeaRequest.name
|
|
request.name
|
|
278
|
47376
|
9365
-
9438
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective
|
|
278
|
38488
|
9427
-
9427
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]
|
|
278
|
45587
|
9392
-
9411
|
Select
|
org.make.core.question.Question.questionId
|
|
question.questionId
|
|
278
|
31455
|
9365
-
9855
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((idea: Option[org.make.core.idea.Idea]) => {
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid();
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
}))
|
|
281
|
31210
|
9473
-
9620
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](idea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
|
|
283
|
45014
|
9656
-
9716
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])
|
|
283
|
37504
|
9646
-
9717
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea]))
|
|
283
|
43999
|
9682
-
9694
|
Select
|
org.make.api.idea.CreateIdeaRequest.name
|
|
request.name
|
|
283
|
39594
|
9646
-
9831
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question))(util.this.Tupler.forAnyRef[org.make.core.idea.Idea])))(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))))
|
|
283
|
50540
|
9655
-
9655
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.idea.Idea]
|
|
283
|
36445
|
9656
-
9716
|
Apply
|
org.make.api.idea.IdeaService.insert
|
|
DefaultModerationIdeaApiComponent.this.ideaService.insert(request.name, question)
|
|
283
|
33016
|
9674
-
9674
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.idea.Idea]
|
|
284
|
33055
|
9783
-
9783
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]
|
|
284
|
44039
|
9783
-
9783
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
284
|
31421
|
9763
-
9804
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea))
|
|
284
|
42414
|
9763
-
9782
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
284
|
50581
|
9763
-
9804
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse])))
|
|
284
|
45051
|
9783
-
9783
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse])
|
|
284
|
43466
|
9754
-
9805
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.idea.IdeaResponse](IdeaResponse.apply(idea)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))))
|
|
284
|
37966
|
9783
-
9783
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.idea.IdeaResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaResponse](idea.this.IdeaResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaResponse]))
|
|
284
|
36943
|
9783
-
9783
|
Select
|
org.make.api.idea.IdeaResponse.encoder
|
|
idea.this.IdeaResponse.encoder
|
|
284
|
39554
|
9786
-
9804
|
Apply
|
org.make.api.idea.IdeaResponse.apply
|
|
IdeaResponse.apply(idea)
|
|
296
|
50106
|
10000
-
11466
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.path[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.ideaId)(TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)])))(util.this.ApplyConverter.hac1[org.make.core.idea.IdeaId]).apply(((ideaId: org.make.core.idea.IdeaId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("UpdateIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.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(DefaultModerationIdeaApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.UpdateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.UpdateIdeaRequest]).apply(((request: org.make.api.idea.UpdateIdeaRequest) => server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
})))))))))))))))))
|
|
296
|
31202
|
10000
-
10003
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.put
|
|
297
|
36150
|
10032
-
10039
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas")
|
|
297
|
42662
|
10012
-
10049
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.path[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.ideaId)(TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)]))
|
|
297
|
44531
|
10017
-
10029
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"moderation"
|
|
297
|
50536
|
10017
-
10048
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.ideaId)(TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)])
|
|
297
|
37760
|
10040
-
10040
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.idea.moderationideaapitest
|
TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)]
|
|
297
|
37335
|
10012
-
11460
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.path[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("moderation")./[Unit](DefaultModerationIdeaApi.this._segmentStringToPathMatcher("ideas"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.idea.IdeaId,)](DefaultModerationIdeaApi.this.ideaId)(TupleOps.this.Join.join0P[(org.make.core.idea.IdeaId,)])))(util.this.ApplyConverter.hac1[org.make.core.idea.IdeaId]).apply(((ideaId: org.make.core.idea.IdeaId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("UpdateIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.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(DefaultModerationIdeaApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.UpdateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.UpdateIdeaRequest]).apply(((request: org.make.api.idea.UpdateIdeaRequest) => server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
}))))))))))))))))
|
|
297
|
45616
|
10042
-
10048
|
Select
|
org.make.api.idea.DefaultModerationIdeaApiComponent.DefaultModerationIdeaApi.ideaId
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApi.this.ideaId
|
|
297
|
38845
|
10016
-
10016
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[org.make.core.idea.IdeaId]
|
|
297
|
50042
|
10030
-
10030
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.idea.moderationideaapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
298
|
31242
|
10084
-
10096
|
Literal
|
<nosymbol>
|
org.make.api.idea.moderationideaapitest
|
"UpdateIdea"
|
|
298
|
42202
|
10070
-
11452
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultModerationIdeaApiComponent.this.makeOperation("UpdateIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$4: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.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(DefaultModerationIdeaApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.UpdateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.UpdateIdeaRequest]).apply(((request: org.make.api.idea.UpdateIdeaRequest) => server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
}))))))))))))))
|
|
298
|
49469
|
10070
-
10097
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation("UpdateIdea", DefaultModerationIdeaApiComponent.this.makeOperation$default$2, DefaultModerationIdeaApiComponent.this.makeOperation$default$3)
|
|
298
|
44292
|
10070
-
10070
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation$default$2
|
|
298
|
36190
|
10070
-
10070
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOperation$default$3
|
|
298
|
45368
|
10083
-
10083
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
299
|
49018
|
10115
-
11442
|
Apply
|
scala.Function1.apply
|
org.make.api.idea.moderationideaapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultModerationIdeaApiComponent.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(DefaultModerationIdeaApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.UpdateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.UpdateIdeaRequest]).apply(((request: org.make.api.idea.UpdateIdeaRequest) => server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
}))))))))))))
|
|
299
|
50288
|
10115
-
10115
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.idea.moderationideaapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
299
|
37796
|
10115
-
10125
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.idea.moderationideaapitest
|
DefaultModerationIdeaApiComponent.this.makeOAuth2
|
|
300
|
39580
|
10170
-
10197
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultModerationIdeaApiComponent.this.requireAdminRole(auth.user)
|
|
300
|
37020
|
10170
-
11430
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.UpdateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.UpdateIdeaRequest]).apply(((request: org.make.api.idea.UpdateIdeaRequest) => server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
}))))))))))
|
|
300
|
42698
|
10187
-
10196
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
301
|
30991
|
10214
-
10227
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultModerationIdeaApi.this.decodeRequest
|
|
301
|
44116
|
10214
-
11416
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultModerationIdeaApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.idea.UpdateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.UpdateIdeaRequest]).apply(((request: org.make.api.idea.UpdateIdeaRequest) => server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
})))))))))
|
|
302
|
50327
|
10252
-
10252
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.idea.UpdateIdeaRequest]
|
|
302
|
49998
|
10255
-
10255
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder))
|
|
302
|
37548
|
10246
-
10275
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultModerationIdeaApi.this.entity[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder))))
|
|
302
|
43786
|
10255
-
10255
|
Select
|
org.make.api.idea.UpdateIdeaRequest.decoder
|
|
idea.this.UpdateIdeaRequest.decoder
|
|
302
|
46103
|
10253
-
10274
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)))
|
|
302
|
36228
|
10255
-
10255
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)
|
|
302
|
47990
|
10246
-
11400
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.idea.UpdateIdeaRequest,)](DefaultModerationIdeaApi.this.entity[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApi.this.as[org.make.api.idea.UpdateIdeaRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.idea.UpdateIdeaRequest](DefaultModerationIdeaApiComponent.this.unmarshaller[org.make.api.idea.UpdateIdeaRequest](idea.this.UpdateIdeaRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.idea.UpdateIdeaRequest]).apply(((request: org.make.api.idea.UpdateIdeaRequest) => server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
}))))))))
|
|
303
|
42735
|
10326
-
10354
|
Apply
|
org.make.api.idea.IdeaService.fetchOne
|
|
DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)
|
|
303
|
34627
|
10326
-
11382
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.idea.Idea,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.idea.Idea]).apply(((idea: org.make.core.idea.Idea) => server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
}))))))
|
|
303
|
31742
|
10355
-
10355
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.idea.Idea]
|
|
303
|
35645
|
10326
-
10376
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.idea.Idea](DefaultModerationIdeaApiComponent.this.ideaService.fetchOne(ideaId)).asDirectiveOrNotFound
|
|
305
|
44834
|
10464
-
10503
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId)
|
|
306
|
45872
|
10407
-
10562
|
Apply
|
scala.Option.getOrElse
|
|
idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))
|
|
306
|
35979
|
10556
-
10560
|
Select
|
scala.None
|
|
scala.None
|
|
306
|
50034
|
10538
-
10561
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
307
|
37750
|
10407
-
10607
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound
|
|
307
|
50362
|
10586
-
10586
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.question.Question]
|
|
308
|
42487
|
10407
-
11362
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.question.Question,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](idea.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((questionId: org.make.core.question.QuestionId) => DefaultModerationIdeaApiComponent.this.questionService.getQuestion(questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](scala.concurrent.Future.successful[None.type](scala.None))).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.question.Question]).apply(((question: org.make.core.question.Question) => server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
}))))
|
|
309
|
43255
|
10702
-
10721
|
Select
|
org.make.core.question.Question.questionId
|
|
question.questionId
|
|
309
|
35685
|
10723
-
10735
|
Select
|
org.make.api.idea.UpdateIdeaRequest.name
|
|
request.name
|
|
309
|
51371
|
10675
-
11338
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.idea.Idea],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]).apply(((duplicateIdea: Option[org.make.core.idea.Idea]) => {
if (duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!)
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
else
();
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
}))
|
|
309
|
36016
|
10737
-
10737
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.idea.Idea]]
|
|
309
|
44282
|
10675
-
10748
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.idea.Idea]](DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)).asDirective
|
|
309
|
31500
|
10675
-
10736
|
Apply
|
org.make.api.idea.IdeaService.fetchOneByName
|
|
DefaultModerationIdeaApiComponent.this.ideaService.fetchOneByName(question.questionId, request.name)
|
|
310
|
35429
|
10794
-
10794
|
Block
|
<nosymbol>
|
|
()
|
|
310
|
49784
|
10817
-
10825
|
Select
|
org.make.core.idea.Idea.ideaId
|
|
x$5.ideaId
|
|
310
|
43297
|
10794
-
10794
|
Literal
|
<nosymbol>
|
|
()
|
|
310
|
42211
|
10798
-
10843
|
Select
|
scala.Boolean.unary_!
|
|
duplicateIdea.map[org.make.core.idea.IdeaId](((x$5: org.make.core.idea.Idea) => x$5.ideaId)).contains[org.make.core.idea.IdeaId](ideaId).unary_!
|
|
313
|
37785
|
10875
-
11039
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
|
|
313
|
50821
|
10875
-
11039
|
Block
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](org.make.core.Validation.OptionWithParsers[org.make.core.idea.Idea](duplicateIdea).getNone("name", scala.Some.apply[String]("idea already exist. Duplicates are not allowed"))).throwIfInvalid()
|
|
315
|
35934
|
11104
-
11185
|
Apply
|
org.make.api.idea.IdeaService.update
|
|
DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status)
|
|
315
|
50854
|
11103
-
11103
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Int]
|
|
315
|
30984
|
11147
-
11159
|
Select
|
org.make.api.idea.UpdateIdeaRequest.name
|
|
request.name
|
|
315
|
44319
|
11170
-
11184
|
Select
|
org.make.api.idea.UpdateIdeaRequest.status
|
|
request.status
|
|
315
|
49821
|
11122
-
11122
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[Int]
|
|
315
|
41958
|
11104
-
11185
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])
|
|
315
|
37538
|
11094
-
11186
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int]))
|
|
315
|
37574
|
11094
-
11312
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Int,)](DefaultModerationIdeaApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Int](DefaultModerationIdeaApiComponent.this.ideaService.update(ideaId, request.name, request.status))(util.this.Tupler.forAnyRef[Int])))(util.this.ApplyConverter.hac1[Int]).apply(((x$6: Int) => DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))))
|
|
317
|
44078
|
11275
-
11275
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse])
|
|
317
|
48982
|
11261
-
11283
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse])))
|
|
317
|
35973
|
11275
-
11275
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))
|
|
317
|
35470
|
11275
-
11275
|
Select
|
org.make.api.idea.IdeaIdResponse.encoder
|
|
idea.this.IdeaIdResponse.encoder
|
|
317
|
41457
|
11252
-
11284
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultModerationIdeaApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.idea.IdeaIdResponse](IdeaIdResponse.apply(ideaId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.idea.IdeaIdResponse](DefaultModerationIdeaApiComponent.this.marshaller[org.make.api.idea.IdeaIdResponse](idea.this.IdeaIdResponse.encoder, DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]))))
|
|
317
|
31019
|
11275
-
11275
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultModerationIdeaApiComponent.this.marshaller$default$2[org.make.api.idea.IdeaIdResponse]
|
|
317
|
42452
|
11261
-
11283
|
Apply
|
org.make.api.idea.IdeaIdResponse.apply
|
|
IdeaIdResponse.apply(ideaId)
|
|
338
|
43544
|
11666
-
11712
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(CreateIdeaRequest.this.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
}).throwIfInvalid()
|
|
342
|
35426
|
11796
-
11828
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.idea.CreateIdeaRequest]({
val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.CreateIdeaRequest] = {
final class anon$lazy$macro$11 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$11 = {
anon$lazy$macro$11.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.CreateIdeaRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.idea.CreateIdeaRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.idea.CreateIdeaRequest, (Symbol @@ String("name")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, String :: Option[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.idea.CreateIdeaRequest, (Symbol @@ String("name")) :: (Symbol @@ String("questionId")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("questionId"), shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], HNil))), Generic.instance[org.make.api.idea.CreateIdeaRequest, String :: Option[org.make.core.question.QuestionId] :: shapeless.HNil](((x0$3: org.make.api.idea.CreateIdeaRequest) => x0$3 match {
case (name: String, questionId: Option[org.make.core.question.QuestionId]): org.make.api.idea.CreateIdeaRequest((name$macro$8 @ _), (questionId$macro$9 @ _)) => ::.apply[String, Option[org.make.core.question.QuestionId] :: shapeless.HNil.type](name$macro$8, ::.apply[Option[org.make.core.question.QuestionId], shapeless.HNil.type](questionId$macro$9, HNil)).asInstanceOf[String :: Option[org.make.core.question.QuestionId] :: shapeless.HNil]
}), ((x0$4: String :: Option[org.make.core.question.QuestionId] :: shapeless.HNil) => x0$4 match {
case (head: String, tail: Option[org.make.core.question.QuestionId] :: shapeless.HNil): String :: Option[org.make.core.question.QuestionId] :: shapeless.HNil((name$macro$6 @ _), (head: Option[org.make.core.question.QuestionId], tail: shapeless.HNil): Option[org.make.core.question.QuestionId] :: shapeless.HNil((questionId$macro$7 @ _), HNil)) => idea.this.CreateIdeaRequest.apply(name$macro$6, questionId$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("questionId")) :: shapeless.HNil, Option[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.CreateIdeaRequest]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[Option[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeOption[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.CreateIdeaRequest]](inst$macro$12)
})
|
|
351
|
48725
|
12032
-
12078
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(UpdateIdeaRequest.this.name);
<artifact> val x$1: String("name") = "name";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("name", x$2)
}).throwIfInvalid()
|
|
355
|
43868
|
12162
-
12194
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.idea.UpdateIdeaRequest]({
val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.UpdateIdeaRequest] = {
final class anon$lazy$macro$11 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$11 = {
anon$lazy$macro$11.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.UpdateIdeaRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.idea.UpdateIdeaRequest, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.idea.UpdateIdeaRequest, (Symbol @@ String("name")) :: (Symbol @@ String("status")) :: shapeless.HNil, String :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.idea.UpdateIdeaRequest, (Symbol @@ String("name")) :: (Symbol @@ String("status")) :: shapeless.HNil](::.apply[Symbol @@ String("name"), (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("status"), shapeless.HNil.type](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")], HNil))), Generic.instance[org.make.api.idea.UpdateIdeaRequest, String :: org.make.core.idea.IdeaStatus :: shapeless.HNil](((x0$3: org.make.api.idea.UpdateIdeaRequest) => x0$3 match {
case (name: String, status: org.make.core.idea.IdeaStatus): org.make.api.idea.UpdateIdeaRequest((name$macro$8 @ _), (status$macro$9 @ _)) => ::.apply[String, org.make.core.idea.IdeaStatus :: shapeless.HNil.type](name$macro$8, ::.apply[org.make.core.idea.IdeaStatus, shapeless.HNil.type](status$macro$9, HNil)).asInstanceOf[String :: org.make.core.idea.IdeaStatus :: shapeless.HNil]
}), ((x0$4: String :: org.make.core.idea.IdeaStatus :: shapeless.HNil) => x0$4 match {
case (head: String, tail: org.make.core.idea.IdeaStatus :: shapeless.HNil): String :: org.make.core.idea.IdeaStatus :: shapeless.HNil((name$macro$6 @ _), (head: org.make.core.idea.IdeaStatus, tail: shapeless.HNil): org.make.core.idea.IdeaStatus :: shapeless.HNil((status$macro$7 @ _), HNil)) => idea.this.UpdateIdeaRequest.apply(name$macro$6, status$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("status")) :: shapeless.HNil, org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("status")]](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("status")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.UpdateIdeaRequest]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForstatus: io.circe.Decoder[org.make.core.idea.IdeaStatus] = idea.this.IdeaStatus.circeDecoder;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForstatus.tryDecode(c.downField("status")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForstatus.tryDecodeAccumulating(c.downField("status")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.UpdateIdeaRequest]](inst$macro$12)
})
|
|
364
|
35756
|
12569
-
12598
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.idea.IdeaIdResponse]({
val inst$macro$12: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.idea.IdeaIdResponse] = {
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.idea.IdeaIdResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.idea.IdeaIdResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.idea.IdeaIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("ideaId")) :: shapeless.HNil, org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.idea.IdeaIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("ideaId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("ideaId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("ideaId"), shapeless.HNil.type](scala.Symbol.apply("ideaId").asInstanceOf[Symbol @@ String("ideaId")], HNil))), Generic.instance[org.make.api.idea.IdeaIdResponse, org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil](((x0$3: org.make.api.idea.IdeaIdResponse) => x0$3 match {
case (id: org.make.core.idea.IdeaId, ideaId: org.make.core.idea.IdeaId): org.make.api.idea.IdeaIdResponse((id$macro$8 @ _), (ideaId$macro$9 @ _)) => ::.apply[org.make.core.idea.IdeaId, org.make.core.idea.IdeaId :: shapeless.HNil.type](id$macro$8, ::.apply[org.make.core.idea.IdeaId, shapeless.HNil.type](ideaId$macro$9, HNil)).asInstanceOf[org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil]
}), ((x0$4: org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.idea.IdeaId, tail: org.make.core.idea.IdeaId :: shapeless.HNil): org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil((id$macro$6 @ _), (head: org.make.core.idea.IdeaId, tail: shapeless.HNil): org.make.core.idea.IdeaId :: shapeless.HNil((ideaId$macro$7 @ _), HNil)) => idea.this.IdeaIdResponse.apply(id$macro$6, ideaId$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.idea.IdeaId, (Symbol @@ String("ideaId")) :: shapeless.HNil, org.make.core.idea.IdeaId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("ideaId"), org.make.core.idea.IdeaId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("ideaId")]](scala.Symbol.apply("ideaId").asInstanceOf[Symbol @@ String("ideaId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("ideaId")]])), 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.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.idea.IdeaIdResponse]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForideaId: io.circe.Encoder[org.make.core.idea.IdeaId] = idea.this.IdeaId.ideaIdEncoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId], tail: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForideaId @ _), 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.circeGenericEncoderForideaId.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("ideaId", $anon.this.circeGenericEncoderForideaId.apply(circeGenericHListBindingForideaId))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: 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.idea.IdeaIdResponse]](inst$macro$12)
})
|
|
365
|
49051
|
12649
-
12678
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.idea.IdeaIdResponse]({
val inst$macro$24: io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.IdeaIdResponse] = {
final class anon$lazy$macro$23 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$23 = {
anon$lazy$macro$23.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$13: io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.IdeaIdResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.idea.IdeaIdResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.idea.IdeaIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("ideaId")) :: shapeless.HNil, org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.idea.IdeaIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("ideaId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("ideaId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("ideaId"), shapeless.HNil.type](scala.Symbol.apply("ideaId").asInstanceOf[Symbol @@ String("ideaId")], HNil))), Generic.instance[org.make.api.idea.IdeaIdResponse, org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil](((x0$7: org.make.api.idea.IdeaIdResponse) => x0$7 match {
case (id: org.make.core.idea.IdeaId, ideaId: org.make.core.idea.IdeaId): org.make.api.idea.IdeaIdResponse((id$macro$20 @ _), (ideaId$macro$21 @ _)) => ::.apply[org.make.core.idea.IdeaId, org.make.core.idea.IdeaId :: shapeless.HNil.type](id$macro$20, ::.apply[org.make.core.idea.IdeaId, shapeless.HNil.type](ideaId$macro$21, HNil)).asInstanceOf[org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil]
}), ((x0$8: org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil) => x0$8 match {
case (head: org.make.core.idea.IdeaId, tail: org.make.core.idea.IdeaId :: shapeless.HNil): org.make.core.idea.IdeaId :: org.make.core.idea.IdeaId :: shapeless.HNil((id$macro$18 @ _), (head: org.make.core.idea.IdeaId, tail: shapeless.HNil): org.make.core.idea.IdeaId :: shapeless.HNil((ideaId$macro$19 @ _), HNil)) => idea.this.IdeaIdResponse.apply(id$macro$18, ideaId$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.idea.IdeaId, (Symbol @@ String("ideaId")) :: shapeless.HNil, org.make.core.idea.IdeaId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("ideaId"), org.make.core.idea.IdeaId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("ideaId")]](scala.Symbol.apply("ideaId").asInstanceOf[Symbol @@ String("ideaId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("ideaId")]])), 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.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.IdeaIdResponse]];
<stable> <accessor> lazy val inst$macro$22: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForideaId: io.circe.Decoder[org.make.core.idea.IdeaId] = idea.this.IdeaId.ideaIdDecoder;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.idea.IdeaId, shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForideaId.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("ideaId"), org.make.core.idea.IdeaId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForideaId.tryDecode(c.downField("ideaId")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.idea.IdeaId, shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForideaId.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("ideaId"), org.make.core.idea.IdeaId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForideaId.tryDecodeAccumulating(c.downField("ideaId")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("ideaId"),org.make.core.idea.IdeaId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$23().inst$macro$13
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.IdeaIdResponse]](inst$macro$24)
})
|
|
367
|
41955
|
12722
-
12744
|
Apply
|
org.make.api.idea.IdeaIdResponse.apply
|
|
IdeaIdResponse.apply(id, id)
|
|
382
|
38075
|
13408
-
13435
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.idea.IdeaResponse]({
val inst$macro$24: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.idea.IdeaResponse] = {
final class anon$lazy$macro$23 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$23 = {
anon$lazy$macro$23.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.idea.IdeaResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.idea.IdeaResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.idea.IdeaResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil, org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.idea.IdeaResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("name")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("name"), (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("operationId"), (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("operationId").asInstanceOf[Symbol @@ String("operationId")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("status"), shapeless.HNil.type](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")], HNil)))))), Generic.instance[org.make.api.idea.IdeaResponse, org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil](((x0$3: org.make.api.idea.IdeaResponse) => x0$3 match {
case (id: org.make.core.idea.IdeaId, name: String, operationId: Option[org.make.core.operation.OperationId], questionId: Option[org.make.core.question.QuestionId], status: org.make.core.idea.IdeaStatus): org.make.api.idea.IdeaResponse((id$macro$17 @ _), (name$macro$18 @ _), (operationId$macro$19 @ _), (questionId$macro$20 @ _), (status$macro$21 @ _)) => ::.apply[org.make.core.idea.IdeaId, String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil.type](id$macro$17, ::.apply[String, Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil.type](name$macro$18, ::.apply[Option[org.make.core.operation.OperationId], Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil.type](operationId$macro$19, ::.apply[Option[org.make.core.question.QuestionId], org.make.core.idea.IdeaStatus :: shapeless.HNil.type](questionId$macro$20, ::.apply[org.make.core.idea.IdeaStatus, shapeless.HNil.type](status$macro$21, HNil))))).asInstanceOf[org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil]
}), ((x0$4: org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.idea.IdeaId, tail: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil): org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil((id$macro$12 @ _), (head: String, tail: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil): String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil((name$macro$13 @ _), (head: Option[org.make.core.operation.OperationId], tail: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil): Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil((operationId$macro$14 @ _), (head: Option[org.make.core.question.QuestionId], tail: org.make.core.idea.IdeaStatus :: shapeless.HNil): Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil((questionId$macro$15 @ _), (head: org.make.core.idea.IdeaStatus, tail: shapeless.HNil): org.make.core.idea.IdeaStatus :: shapeless.HNil((status$macro$16 @ _), HNil))))) => idea.this.IdeaResponse.apply(id$macro$12, name$macro$13, operationId$macro$14, questionId$macro$15, status$macro$16)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.idea.IdeaId, (Symbol @@ String("name")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil, String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil, Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("operationId"), Option[org.make.core.operation.OperationId], (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil, Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], (Symbol @@ String("status")) :: shapeless.HNil, org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("status")]](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("status")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("operationId")]](scala.Symbol.apply("operationId").asInstanceOf[Symbol @@ String("operationId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("operationId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.idea.IdeaResponse]];
<stable> <accessor> lazy val inst$macro$22: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.idea.IdeaId] = idea.this.IdeaId.ideaIdEncoder;
private[this] val circeGenericEncoderForname: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
private[this] val circeGenericEncoderForoperationId: io.circe.Encoder[Option[org.make.core.operation.OperationId]] = circe.this.Encoder.encodeOption[org.make.core.operation.OperationId](operation.this.OperationId.operationIdEncoder);
private[this] val circeGenericEncoderForquestionId: io.circe.Encoder[Option[org.make.core.question.QuestionId]] = circe.this.Encoder.encodeOption[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdEncoder);
private[this] val circeGenericEncoderForstatus: io.circe.Encoder[org.make.core.idea.IdeaStatus] = idea.this.IdeaStatus.circeEncoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId], tail: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("name"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForname @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]], tail: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForoperationId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]], tail: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForstatus @ _), shapeless.HNil))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("name", $anon.this.circeGenericEncoderForname.apply(circeGenericHListBindingForname)), scala.Tuple2.apply[String, io.circe.Json]("operationId", $anon.this.circeGenericEncoderForoperationId.apply(circeGenericHListBindingForoperationId)), scala.Tuple2.apply[String, io.circe.Json]("questionId", $anon.this.circeGenericEncoderForquestionId.apply(circeGenericHListBindingForquestionId)), scala.Tuple2.apply[String, io.circe.Json]("status", $anon.this.circeGenericEncoderForstatus.apply(circeGenericHListBindingForstatus))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$23().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.idea.IdeaResponse]](inst$macro$24)
})
|
|
383
|
51158
|
13484
-
13511
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.idea.IdeaResponse]({
val inst$macro$48: io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.IdeaResponse] = {
final class anon$lazy$macro$47 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$47 = {
anon$lazy$macro$47.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$25: io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.IdeaResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.idea.IdeaResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.idea.IdeaResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil, org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.idea.IdeaResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("name")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("name"), (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("operationId"), (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("operationId").asInstanceOf[Symbol @@ String("operationId")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("status")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("status"), shapeless.HNil.type](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")], HNil)))))), Generic.instance[org.make.api.idea.IdeaResponse, org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil](((x0$7: org.make.api.idea.IdeaResponse) => x0$7 match {
case (id: org.make.core.idea.IdeaId, name: String, operationId: Option[org.make.core.operation.OperationId], questionId: Option[org.make.core.question.QuestionId], status: org.make.core.idea.IdeaStatus): org.make.api.idea.IdeaResponse((id$macro$41 @ _), (name$macro$42 @ _), (operationId$macro$43 @ _), (questionId$macro$44 @ _), (status$macro$45 @ _)) => ::.apply[org.make.core.idea.IdeaId, String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil.type](id$macro$41, ::.apply[String, Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil.type](name$macro$42, ::.apply[Option[org.make.core.operation.OperationId], Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil.type](operationId$macro$43, ::.apply[Option[org.make.core.question.QuestionId], org.make.core.idea.IdeaStatus :: shapeless.HNil.type](questionId$macro$44, ::.apply[org.make.core.idea.IdeaStatus, shapeless.HNil.type](status$macro$45, HNil))))).asInstanceOf[org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil]
}), ((x0$8: org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil) => x0$8 match {
case (head: org.make.core.idea.IdeaId, tail: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil): org.make.core.idea.IdeaId :: String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil((id$macro$36 @ _), (head: String, tail: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil): String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil((name$macro$37 @ _), (head: Option[org.make.core.operation.OperationId], tail: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil): Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil((operationId$macro$38 @ _), (head: Option[org.make.core.question.QuestionId], tail: org.make.core.idea.IdeaStatus :: shapeless.HNil): Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil((questionId$macro$39 @ _), (head: org.make.core.idea.IdeaStatus, tail: shapeless.HNil): org.make.core.idea.IdeaStatus :: shapeless.HNil((status$macro$40 @ _), HNil))))) => idea.this.IdeaResponse.apply(id$macro$36, name$macro$37, operationId$macro$38, questionId$macro$39, status$macro$40)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.idea.IdeaId, (Symbol @@ String("name")) :: (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil, String :: Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("operationId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil, Option[org.make.core.operation.OperationId] :: Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("operationId"), Option[org.make.core.operation.OperationId], (Symbol @@ String("questionId")) :: (Symbol @@ String("status")) :: shapeless.HNil, Option[org.make.core.question.QuestionId] :: org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], (Symbol @@ String("status")) :: shapeless.HNil, org.make.core.idea.IdeaStatus :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("status")]](scala.Symbol.apply("status").asInstanceOf[Symbol @@ String("status")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("status")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("operationId")]](scala.Symbol.apply("operationId").asInstanceOf[Symbol @@ String("operationId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("operationId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$47.this.inst$macro$46)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.IdeaResponse]];
<stable> <accessor> lazy val inst$macro$46: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.idea.IdeaId] = idea.this.IdeaId.ideaIdDecoder;
private[this] val circeGenericDecoderForname: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForoperationId: io.circe.Decoder[Option[org.make.core.operation.OperationId]] = circe.this.Decoder.decodeOption[org.make.core.operation.OperationId](operation.this.OperationId.operationIdDecoder);
private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[Option[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeOption[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder);
private[this] val circeGenericDecoderForstatus: io.circe.Decoder[org.make.core.idea.IdeaStatus] = idea.this.IdeaStatus.circeDecoder;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.idea.IdeaId, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecode(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("operationId"), Option[org.make.core.operation.OperationId], shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationId.tryDecode(c.downField("operationId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForstatus.tryDecode(c.downField("status")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.idea.IdeaId, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("name"), String, shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForname.tryDecodeAccumulating(c.downField("name")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("operationId"), Option[org.make.core.operation.OperationId], shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoperationId.tryDecodeAccumulating(c.downField("operationId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), Option[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("status"), org.make.core.idea.IdeaStatus, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForstatus.tryDecodeAccumulating(c.downField("status")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.idea.IdeaId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("operationId"),Option[org.make.core.operation.OperationId]] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),Option[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("status"),org.make.core.idea.IdeaStatus] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$47().inst$macro$25
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.idea.IdeaResponse]](inst$macro$48)
})
|
|
386
|
49564
|
13559
-
13727
|
Apply
|
org.make.api.idea.IdeaResponse.apply
|
|
IdeaResponse.apply(idea.ideaId, idea.name, idea.operationId, idea.questionId, idea.status)
|
|
387
|
42286
|
13584
-
13595
|
Select
|
org.make.core.idea.Idea.ideaId
|
|
idea.ideaId
|
|
388
|
35462
|
13610
-
13619
|
Select
|
org.make.core.idea.Idea.name
|
|
idea.name
|
|
389
|
48488
|
13641
-
13657
|
Select
|
org.make.core.idea.Idea.operationId
|
|
idea.operationId
|
|
390
|
44065
|
13678
-
13693
|
Select
|
org.make.core.idea.Idea.questionId
|
|
idea.questionId
|
|
391
|
36819
|
13710
-
13721
|
Select
|
org.make.core.idea.Idea.status
|
|
idea.status
|
|
396
|
48523
|
13786
-
13954
|
Apply
|
org.make.api.idea.IdeaResponse.apply
|
|
IdeaResponse.apply(idea.ideaId, idea.name, idea.operationId, idea.questionId, idea.status)
|
|
397
|
41998
|
13811
-
13822
|
Select
|
org.make.core.idea.indexed.IndexedIdea.ideaId
|
|
idea.ideaId
|
|
398
|
34134
|
13837
-
13846
|
Select
|
org.make.core.idea.indexed.IndexedIdea.name
|
|
idea.name
|
|
399
|
50609
|
13868
-
13884
|
Select
|
org.make.core.idea.indexed.IndexedIdea.operationId
|
|
idea.operationId
|
|
400
|
42321
|
13905
-
13920
|
Select
|
org.make.core.idea.indexed.IndexedIdea.questionId
|
|
idea.questionId
|
|
401
|
35213
|
13937
-
13948
|
Select
|
org.make.core.idea.indexed.IndexedIdea.status
|
|
idea.status
|