| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
118
|
34107
|
4705
-
4717
|
Select
|
org.make.api.views.ViewApi.homePageView
|
org.make.api.views.viewapitest
|
ViewApi.this.homePageView
|
|
118
|
47131
|
4720
-
4744
|
Select
|
org.make.api.views.ViewApi.homePageViewWithLanguage
|
org.make.api.views.viewapitest
|
ViewApi.this.homePageViewWithLanguage
|
|
118
|
40638
|
4760
-
4782
|
Select
|
org.make.api.views.ViewApi.listAvailableCountries
|
org.make.api.views.viewapitest
|
ViewApi.this.listAvailableCountries
|
|
118
|
33039
|
4705
-
4782
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.views.viewapitest
|
ViewApi.this._enhanceRouteWithConcatenation(ViewApi.this._enhanceRouteWithConcatenation(ViewApi.this._enhanceRouteWithConcatenation(ViewApi.this.homePageView).~(ViewApi.this.homePageViewWithLanguage)).~(ViewApi.this.searchView)).~(ViewApi.this.listAvailableCountries)
|
|
118
|
39011
|
4705
-
4744
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.views.viewapitest
|
ViewApi.this._enhanceRouteWithConcatenation(ViewApi.this.homePageView).~(ViewApi.this.homePageViewWithLanguage)
|
|
118
|
48245
|
4705
-
4757
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.views.viewapitest
|
ViewApi.this._enhanceRouteWithConcatenation(ViewApi.this._enhanceRouteWithConcatenation(ViewApi.this.homePageView).~(ViewApi.this.homePageViewWithLanguage)).~(ViewApi.this.searchView)
|
|
118
|
31396
|
4747
-
4757
|
Select
|
org.make.api.views.ViewApi.searchView
|
org.make.api.views.viewapitest
|
ViewApi.this.searchView
|
|
143
|
45552
|
5392
-
5399
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.Segment
|
|
143
|
33858
|
5392
-
5418
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.views.viewapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultViewApi.this.Segment).map[org.make.core.reference.Country](((id: String) => org.make.core.reference.Country.apply(id)))
|
|
143
|
41686
|
5404
-
5417
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply(id)
|
|
144
|
47167
|
5470
-
5477
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.Segment
|
|
144
|
31140
|
5470
-
5497
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.views.viewapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultViewApi.this.Segment).map[org.make.core.reference.Language](((id: String) => org.make.core.reference.Language.apply(id)))
|
|
144
|
39046
|
5482
-
5496
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(id)
|
|
147
|
47679
|
5558
-
5561
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.get
|
|
147
|
39335
|
5558
-
5878
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addByNameNullaryApply(DefaultViewApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.reference.Country, org.make.core.reference.Language)](DefaultViewApi.this.path[(org.make.core.reference.Country, org.make.core.reference.Language)](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("home-page"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.reference.Country,)](DefaultViewApi.this.country)(TupleOps.this.Join.join0P[(org.make.core.reference.Country,)])./[(org.make.core.reference.Language,)](DefaultViewApi.this.language)(TupleOps.this.Join.join[(org.make.core.reference.Country,), (org.make.core.reference.Language,)](TupleOps.this.FoldLeft.t1[(org.make.core.reference.Country,), org.make.core.reference.Language, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.reference.Country,), org.make.core.reference.Language](TupleOps.this.AppendOne.append1[org.make.core.reference.Country, org.make.core.reference.Language]))))))(util.this.ApplyConverter.hac2[org.make.core.reference.Country, org.make.core.reference.Language]).apply(((country: org.make.core.reference.Country, language: org.make.core.reference.Language) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse]({
<artifact> val qual$1: org.make.api.views.HomeViewService = DefaultViewApiComponent.this.homeViewService;
<artifact> val x$1: org.make.core.reference.Country = country;
<artifact> val x$2: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language);
<artifact> val x$3: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.getHomePageViewResponse$default$3;
qual$1.getHomePageViewResponse(x$1, x$2, x$3)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$2: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse])))))))))))
|
|
148
|
32274
|
5577
-
5619
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("home-page"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.reference.Country,)](DefaultViewApi.this.country)(TupleOps.this.Join.join0P[(org.make.core.reference.Country,)])./[(org.make.core.reference.Language,)](DefaultViewApi.this.language)(TupleOps.this.Join.join[(org.make.core.reference.Country,), (org.make.core.reference.Language,)](TupleOps.this.FoldLeft.t1[(org.make.core.reference.Country,), org.make.core.reference.Language, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.reference.Country,), org.make.core.reference.Language](TupleOps.this.AppendOne.append1[org.make.core.reference.Country, org.make.core.reference.Language]))))
|
|
148
|
45591
|
5585
-
5585
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
148
|
45340
|
5572
-
5620
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.path[(org.make.core.reference.Country, org.make.core.reference.Language)](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("home-page"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.reference.Country,)](DefaultViewApi.this.country)(TupleOps.this.Join.join0P[(org.make.core.reference.Country,)])./[(org.make.core.reference.Language,)](DefaultViewApi.this.language)(TupleOps.this.Join.join[(org.make.core.reference.Country,), (org.make.core.reference.Language,)](TupleOps.this.FoldLeft.t1[(org.make.core.reference.Country,), org.make.core.reference.Language, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.reference.Country,), org.make.core.reference.Language](TupleOps.this.AppendOne.append1[org.make.core.reference.Country, org.make.core.reference.Language])))))
|
|
148
|
31179
|
5609
-
5609
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.Join.Fold.step
|
org.make.api.views.viewapitest
|
Join.this.Fold.step[(org.make.core.reference.Country,), org.make.core.reference.Language](TupleOps.this.AppendOne.append1[org.make.core.reference.Country, org.make.core.reference.Language])
|
|
148
|
37205
|
5576
-
5576
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac2
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac2[org.make.core.reference.Country, org.make.core.reference.Language]
|
|
148
|
32237
|
5587
-
5598
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("home-page")
|
|
148
|
38801
|
5609
-
5609
|
TypeApply
|
akka.http.scaladsl.server.util.TupleAppendOneInstances.append1
|
org.make.api.views.viewapitest
|
TupleOps.this.AppendOne.append1[org.make.core.reference.Country, org.make.core.reference.Language]
|
|
148
|
48733
|
5609
-
5609
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleFoldInstances.t1
|
org.make.api.views.viewapitest
|
TupleOps.this.FoldLeft.t1[(org.make.core.reference.Country,), org.make.core.reference.Language, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.reference.Country,), org.make.core.reference.Language](TupleOps.this.AppendOne.append1[org.make.core.reference.Country, org.make.core.reference.Language]))
|
|
148
|
46914
|
5572
-
5870
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.reference.Country, org.make.core.reference.Language)](DefaultViewApi.this.path[(org.make.core.reference.Country, org.make.core.reference.Language)](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("home-page"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.reference.Country,)](DefaultViewApi.this.country)(TupleOps.this.Join.join0P[(org.make.core.reference.Country,)])./[(org.make.core.reference.Language,)](DefaultViewApi.this.language)(TupleOps.this.Join.join[(org.make.core.reference.Country,), (org.make.core.reference.Language,)](TupleOps.this.FoldLeft.t1[(org.make.core.reference.Country,), org.make.core.reference.Language, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.reference.Country,), org.make.core.reference.Language](TupleOps.this.AppendOne.append1[org.make.core.reference.Country, org.make.core.reference.Language]))))))(util.this.ApplyConverter.hac2[org.make.core.reference.Country, org.make.core.reference.Language]).apply(((country: org.make.core.reference.Country, language: org.make.core.reference.Language) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse]({
<artifact> val qual$1: org.make.api.views.HomeViewService = DefaultViewApiComponent.this.homeViewService;
<artifact> val x$1: org.make.core.reference.Country = country;
<artifact> val x$2: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language);
<artifact> val x$3: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.getHomePageViewResponse$default$3;
qual$1.getHomePageViewResponse(x$1, x$2, x$3)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$2: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))))))))
|
|
148
|
47213
|
5611
-
5619
|
Select
|
org.make.api.views.DefaultViewApiComponent.DefaultViewApi.language
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.language
|
|
148
|
39841
|
5609
-
5609
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join[(org.make.core.reference.Country,), (org.make.core.reference.Language,)](TupleOps.this.FoldLeft.t1[(org.make.core.reference.Country,), org.make.core.reference.Language, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.reference.Country,), org.make.core.reference.Language](TupleOps.this.AppendOne.append1[org.make.core.reference.Country, org.make.core.reference.Language])))
|
|
148
|
40678
|
5577
-
5584
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"views"
|
|
148
|
33285
|
5599
-
5599
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[(org.make.core.reference.Country,)]
|
|
148
|
42194
|
5601
-
5608
|
Select
|
org.make.api.views.DefaultViewApiComponent.DefaultViewApi.country
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.country
|
|
149
|
48770
|
5669
-
5669
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
149
|
38838
|
5656
-
5656
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultViewApiComponent.this.makeOperation$default$3
|
|
149
|
33117
|
5656
-
5860
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse]({
<artifact> val qual$1: org.make.api.views.HomeViewService = DefaultViewApiComponent.this.homeViewService;
<artifact> val x$1: org.make.core.reference.Country = country;
<artifact> val x$2: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language);
<artifact> val x$3: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.getHomePageViewResponse$default$3;
qual$1.getHomePageViewResponse(x$1, x$2, x$3)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$2: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))))))
|
|
149
|
33329
|
5670
-
5687
|
Literal
|
<nosymbol>
|
|
"GetHomePageView"
|
|
149
|
47124
|
5656
-
5656
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultViewApiComponent.this.makeOperation$default$2
|
|
149
|
31710
|
5656
-
5688
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3)
|
|
150
|
39881
|
5708
-
5723
|
Select
|
org.make.api.views.HomeViewServiceComponent.homeViewService
|
|
DefaultViewApiComponent.this.homeViewService
|
|
151
|
32733
|
5772
-
5786
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.reference.Language](language)
|
|
151
|
45377
|
5739
-
5739
|
Select
|
org.make.api.views.HomeViewService.getHomePageViewResponse$default$3
|
|
qual$1.getHomePageViewResponse$default$3
|
|
151
|
37242
|
5708
-
5787
|
Apply
|
org.make.api.views.HomeViewService.getHomePageViewResponse
|
|
qual$1.getHomePageViewResponse(x$1, x$2, x$3)
|
|
152
|
47163
|
5803
-
5803
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]
|
|
152
|
34390
|
5708
-
5814
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse]({
<artifact> val qual$1: org.make.api.views.HomeViewService = DefaultViewApiComponent.this.homeViewService;
<artifact> val x$1: org.make.core.reference.Country = country;
<artifact> val x$2: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language);
<artifact> val x$3: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.getHomePageViewResponse$default$3;
qual$1.getHomePageViewResponse(x$1, x$2, x$3)
}).asDirective
|
|
153
|
39299
|
5845
-
5845
|
Select
|
org.make.api.views.HomePageViewResponse.encoder
|
|
views.this.HomePageViewResponse.encoder
|
|
153
|
31744
|
5845
-
5845
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]
|
|
153
|
45844
|
5836
-
5847
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))
|
|
153
|
43786
|
5845
-
5845
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse])
|
|
153
|
38310
|
5708
-
5848
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse]({
<artifact> val qual$1: org.make.api.views.HomeViewService = DefaultViewApiComponent.this.homeViewService;
<artifact> val x$1: org.make.core.reference.Country = country;
<artifact> val x$2: Some[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.reference.Language](language);
<artifact> val x$3: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.getHomePageViewResponse$default$3;
qual$1.getHomePageViewResponse(x$1, x$2, x$3)
}).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$2: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))))
|
|
153
|
32777
|
5845
-
5846
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$2)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse])))
|
|
153
|
40382
|
5845
-
5845
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))
|
|
160
|
37491
|
5933
-
6553
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addByNameNullaryApply(DefaultViewApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.reference.Country,)](DefaultViewApi.this.path[(org.make.core.reference.Country,)](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("home-page"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.reference.Country,)](DefaultViewApi.this.country)(TupleOps.this.Join.join0P[(org.make.core.reference.Country,)])))(util.this.ApplyConverter.hac1[org.make.core.reference.Country]).apply(((country: org.make.core.reference.Country) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((maybePreferedLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => {
val excludedCountries: scala.collection.immutable.Set[org.make.core.reference.Country] = scala.Predef.Set.apply[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"), org.make.core.reference.Country.apply("DE"), org.make.core.reference.Country.apply("BE"));
val postAdditionalCountry: Option[org.make.core.reference.Country] = scala.Option.when[org.make.core.reference.Country](excludedCountries.apply(country).unary_!)(org.make.core.reference.Country.apply("BE"));
server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.homeViewService.getHomePageViewResponse(country, maybePreferedLanguage, postAdditionalCountry)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$4: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))))
})))))))
|
|
160
|
31171
|
5933
-
5936
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.get
|
|
161
|
46952
|
5947
-
5984
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.path[(org.make.core.reference.Country,)](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("home-page"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.reference.Country,)](DefaultViewApi.this.country)(TupleOps.this.Join.join0P[(org.make.core.reference.Country,)]))
|
|
161
|
32528
|
5960
-
5960
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
161
|
44848
|
5952
-
5959
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"views"
|
|
161
|
33636
|
5952
-
5983
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("home-page"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.reference.Country,)](DefaultViewApi.this.country)(TupleOps.this.Join.join0P[(org.make.core.reference.Country,)])
|
|
161
|
39094
|
5951
-
5951
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[org.make.core.reference.Country]
|
|
161
|
37742
|
5974
-
5974
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[(org.make.core.reference.Country,)]
|
|
161
|
45628
|
5947
-
6545
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.reference.Country,)](DefaultViewApi.this.path[(org.make.core.reference.Country,)](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("home-page"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.reference.Country,)](DefaultViewApi.this.country)(TupleOps.this.Join.join0P[(org.make.core.reference.Country,)])))(util.this.ApplyConverter.hac1[org.make.core.reference.Country]).apply(((country: org.make.core.reference.Country) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((maybePreferedLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => {
val excludedCountries: scala.collection.immutable.Set[org.make.core.reference.Country] = scala.Predef.Set.apply[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"), org.make.core.reference.Country.apply("DE"), org.make.core.reference.Country.apply("BE"));
val postAdditionalCountry: Option[org.make.core.reference.Country] = scala.Option.when[org.make.core.reference.Country](excludedCountries.apply(country).unary_!)(org.make.core.reference.Country.apply("BE"));
server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.homeViewService.getHomePageViewResponse(country, maybePreferedLanguage, postAdditionalCountry)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$4: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))))
}))))))
|
|
161
|
45329
|
5976
-
5983
|
Select
|
org.make.api.views.DefaultViewApiComponent.DefaultViewApi.country
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.country
|
|
161
|
40424
|
5962
-
5973
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("home-page")
|
|
162
|
50295
|
6018
-
6018
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]
|
|
162
|
32560
|
6052
-
6052
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)
|
|
162
|
40171
|
6052
-
6052
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
|
DefaultViewApiComponent.this.languageFromStringUnmarshaller
|
|
162
|
32557
|
6008
-
6535
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language],)](DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]).apply(((maybePreferedLanguage: Option[org.make.core.reference.Language]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => {
val excludedCountries: scala.collection.immutable.Set[org.make.core.reference.Country] = scala.Predef.Set.apply[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"), org.make.core.reference.Country.apply("DE"), org.make.core.reference.Country.apply("BE"));
val postAdditionalCountry: Option[org.make.core.reference.Country] = scala.Option.when[org.make.core.reference.Country](excludedCountries.apply(country).unary_!)(org.make.core.reference.Country.apply("BE"));
server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.homeViewService.getHomePageViewResponse(country, maybePreferedLanguage, postAdditionalCountry)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$4: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))))
}))))
|
|
162
|
37497
|
6008
-
6054
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
|
DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)))
|
|
162
|
45368
|
6019
-
6053
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))
|
|
162
|
30920
|
6019
-
6038
|
Literal
|
<nosymbol>
|
|
"preferredLanguage"
|
|
162
|
44288
|
6019
-
6053
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
163
|
40935
|
6107
-
6107
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
163
|
38584
|
6094
-
6094
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultViewApiComponent.this.makeOperation$default$2
|
|
163
|
37008
|
6094
-
6523
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => {
val excludedCountries: scala.collection.immutable.Set[org.make.core.reference.Country] = scala.Predef.Set.apply[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"), org.make.core.reference.Country.apply("DE"), org.make.core.reference.Country.apply("BE"));
val postAdditionalCountry: Option[org.make.core.reference.Country] = scala.Option.when[org.make.core.reference.Country](excludedCountries.apply(country).unary_!)(org.make.core.reference.Country.apply("BE"));
server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.homeViewService.getHomePageViewResponse(country, maybePreferedLanguage, postAdditionalCountry)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$4: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))))
}))
|
|
163
|
30963
|
6094
-
6094
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultViewApiComponent.this.makeOperation$default$3
|
|
163
|
46714
|
6108
-
6125
|
Literal
|
<nosymbol>
|
|
"GetHomePageView"
|
|
163
|
44802
|
6094
-
6126
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3)
|
|
164
|
45121
|
6191
-
6204
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("DE")
|
|
164
|
37533
|
6206
-
6219
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("BE")
|
|
164
|
32601
|
6176
-
6189
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("FR")
|
|
164
|
51358
|
6172
-
6220
|
Apply
|
scala.collection.IterableFactory.apply
|
|
scala.Predef.Set.apply[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"), org.make.core.reference.Country.apply("DE"), org.make.core.reference.Country.apply("BE"))
|
|
165
|
30707
|
6263
-
6318
|
Apply
|
scala.Option.when
|
|
scala.Option.when[org.make.core.reference.Country](excludedCountries.apply(country).unary_!)(org.make.core.reference.Country.apply("BE"))
|
|
165
|
47468
|
6275
-
6302
|
Select
|
scala.Boolean.unary_!
|
|
excludedCountries.apply(country).unary_!
|
|
165
|
39330
|
6304
-
6317
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("BE")
|
|
167
|
44836
|
6333
-
6444
|
Apply
|
org.make.api.views.HomeViewService.getHomePageViewResponse
|
|
DefaultViewApiComponent.this.homeViewService.getHomePageViewResponse(country, maybePreferedLanguage, postAdditionalCountry)
|
|
168
|
40677
|
6333
-
6473
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.homeViewService.getHomePageViewResponse(country, maybePreferedLanguage, postAdditionalCountry)).asDirective
|
|
168
|
32520
|
6462
-
6462
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]
|
|
169
|
51393
|
6506
-
6506
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse])
|
|
169
|
44598
|
6333
-
6509
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.views.HomePageViewResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.homeViewService.getHomePageViewResponse(country, maybePreferedLanguage, postAdditionalCountry)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]).apply(((x$4: org.make.api.views.HomePageViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))))
|
|
169
|
39086
|
6506
-
6507
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse])))
|
|
169
|
38060
|
6506
-
6506
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]
|
|
169
|
46200
|
6506
-
6506
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))
|
|
169
|
45880
|
6506
-
6506
|
Select
|
org.make.api.views.HomePageViewResponse.encoder
|
|
views.this.HomePageViewResponse.encoder
|
|
169
|
31477
|
6497
-
6508
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.HomePageViewResponse](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.HomePageViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.HomePageViewResponse](views.this.HomePageViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]))))
|
|
177
|
51429
|
6606
-
6609
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.get
|
|
177
|
33248
|
6606
-
10192
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addByNameNullaryApply(DefaultViewApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultViewApi.this.path[Unit](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("search"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetSearchView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultViewApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((auth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language])](DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forString("content")(unmarshalling.this.Unmarshaller.identityUnmarshaller[String]), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("proposalLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("organisationLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultViewApiComponent.this.countryFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language]]).apply(((content: String, proposalLimit: Option[org.make.core.technical.Pagination.Limit], questionLimit: Option[org.make.core.technical.Pagination.Limit], organisationLimit: Option[org.make.core.technical.Pagination.Limit], preferredLanguage: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], language: Option[org.make.core.reference.Language]) => {
val proposalQuery: org.make.core.proposal.SearchQuery = {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ContentSearchFilter](org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase()));
<artifact> val x$2: Some[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.OperationKindsSearchFilter](org.make.core.proposal.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$3: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.proposal.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.proposal.CountrySearchFilter.apply(country)));
<artifact> val x$4: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = language.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((l: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$11: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$12: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$13: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$14: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$15: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$16: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$17: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$18: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$19: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$20: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$4, x$3, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$2, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = proposalLimit;
<artifact> val x$34: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.languageContext.language;
<artifact> val x$35: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$36: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$37: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$33, x$37, x$34, x$38)
};
val questionQuery: org.make.core.operation.OperationOfQuestionSearchQuery = org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$39: Some[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.QuestionContentSearchFilter](org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)));
<artifact> val x$40: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$41: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.operation.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.operation.CountrySearchFilter.apply(country)));
<artifact> val x$42: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.operation.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.operation.LanguageSearchFilter.apply(language)));
<artifact> val x$43: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$44: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$45: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$46: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$49: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11;
<artifact> val x$50: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$43, x$39, x$44, x$45, x$41, x$42, x$46, x$47, x$40, x$48, x$49, x$50)
}), questionLimit, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6);
val organisationQuery: org.make.core.user.OrganisationSearchQuery = org.make.core.user.OrganisationSearchQuery.apply(scala.Some.apply[org.make.core.user.OrganisationSearchFilters]({
<artifact> val x$51: Some[org.make.core.user.OrganisationNameSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.OrganisationNameSearchFilter](org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase()));
<artifact> val x$52: Option[org.make.core.user.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.user.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.user.CountrySearchFilter.apply(country)));
<artifact> val x$53: Option[org.make.core.user.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.user.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.user.LanguageSearchFilter.apply(language)));
<artifact> val x$54: Option[org.make.core.user.OrganisationIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$1;
<artifact> val x$55: Option[org.make.core.user.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$3;
<artifact> val x$56: Option[org.make.core.user.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$4;
org.make.core.user.OrganisationSearchFilters.apply(x$54, x$51, x$55, x$56, x$52, x$53)
}), organisationLimit, org.make.core.user.OrganisationSearchQuery.apply$default$3, org.make.core.user.OrganisationSearchQuery.apply$default$4, org.make.core.user.OrganisationSearchQuery.apply$default$5, org.make.core.user.OrganisationSearchQuery.apply$default$6);
server.this.Directive.addDirectiveApply[(org.make.api.views.SearchViewResponse,)](cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalsResultSeededResponse, org.make.core.operation.indexed.OperationOfQuestionSearchResult, org.make.api.organisation.OrganisationsSearchResultResponse](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.api.proposal.ProposalsResultSeededResponse], akka.http.scaladsl.server.Directive1[org.make.core.operation.indexed.OperationOfQuestionSearchResult], akka.http.scaladsl.server.Directive1[org.make.api.organisation.OrganisationsSearchResultResponse]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)).mapN[org.make.api.views.SearchViewResponse](((proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.core.operation.indexed.OperationOfQuestionSearchResult, organisations: org.make.api.organisation.OrganisationsSearchResultResponse) => SearchViewResponse.apply(proposals, org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))), organisations)))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.views.SearchViewResponse]).apply(((x$7: org.make.api.views.SearchViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.SearchViewResponse](x$7)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]))))))
}))))))))
|
|
178
|
30662
|
6633
-
6633
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
178
|
39125
|
6635
-
6643
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("search")
|
|
178
|
44038
|
6625
-
6643
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("search"))(TupleOps.this.Join.join0P[Unit])
|
|
178
|
37043
|
6620
-
6644
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.path[Unit](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("search"))(TupleOps.this.Join.join0P[Unit]))
|
|
178
|
41561
|
6620
-
10184
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addByNameNullaryApply(DefaultViewApi.this.path[Unit](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("search"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetSearchView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultViewApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((auth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language])](DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forString("content")(unmarshalling.this.Unmarshaller.identityUnmarshaller[String]), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("proposalLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("organisationLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultViewApiComponent.this.countryFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language]]).apply(((content: String, proposalLimit: Option[org.make.core.technical.Pagination.Limit], questionLimit: Option[org.make.core.technical.Pagination.Limit], organisationLimit: Option[org.make.core.technical.Pagination.Limit], preferredLanguage: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], language: Option[org.make.core.reference.Language]) => {
val proposalQuery: org.make.core.proposal.SearchQuery = {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ContentSearchFilter](org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase()));
<artifact> val x$2: Some[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.OperationKindsSearchFilter](org.make.core.proposal.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$3: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.proposal.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.proposal.CountrySearchFilter.apply(country)));
<artifact> val x$4: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = language.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((l: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$11: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$12: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$13: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$14: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$15: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$16: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$17: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$18: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$19: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$20: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$4, x$3, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$2, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = proposalLimit;
<artifact> val x$34: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.languageContext.language;
<artifact> val x$35: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$36: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$37: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$33, x$37, x$34, x$38)
};
val questionQuery: org.make.core.operation.OperationOfQuestionSearchQuery = org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$39: Some[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.QuestionContentSearchFilter](org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)));
<artifact> val x$40: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$41: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.operation.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.operation.CountrySearchFilter.apply(country)));
<artifact> val x$42: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.operation.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.operation.LanguageSearchFilter.apply(language)));
<artifact> val x$43: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$44: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$45: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$46: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$49: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11;
<artifact> val x$50: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$43, x$39, x$44, x$45, x$41, x$42, x$46, x$47, x$40, x$48, x$49, x$50)
}), questionLimit, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6);
val organisationQuery: org.make.core.user.OrganisationSearchQuery = org.make.core.user.OrganisationSearchQuery.apply(scala.Some.apply[org.make.core.user.OrganisationSearchFilters]({
<artifact> val x$51: Some[org.make.core.user.OrganisationNameSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.OrganisationNameSearchFilter](org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase()));
<artifact> val x$52: Option[org.make.core.user.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.user.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.user.CountrySearchFilter.apply(country)));
<artifact> val x$53: Option[org.make.core.user.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.user.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.user.LanguageSearchFilter.apply(language)));
<artifact> val x$54: Option[org.make.core.user.OrganisationIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$1;
<artifact> val x$55: Option[org.make.core.user.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$3;
<artifact> val x$56: Option[org.make.core.user.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$4;
org.make.core.user.OrganisationSearchFilters.apply(x$54, x$51, x$55, x$56, x$52, x$53)
}), organisationLimit, org.make.core.user.OrganisationSearchQuery.apply$default$3, org.make.core.user.OrganisationSearchQuery.apply$default$4, org.make.core.user.OrganisationSearchQuery.apply$default$5, org.make.core.user.OrganisationSearchQuery.apply$default$6);
server.this.Directive.addDirectiveApply[(org.make.api.views.SearchViewResponse,)](cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalsResultSeededResponse, org.make.core.operation.indexed.OperationOfQuestionSearchResult, org.make.api.organisation.OrganisationsSearchResultResponse](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.api.proposal.ProposalsResultSeededResponse], akka.http.scaladsl.server.Directive1[org.make.core.operation.indexed.OperationOfQuestionSearchResult], akka.http.scaladsl.server.Directive1[org.make.api.organisation.OrganisationsSearchResultResponse]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)).mapN[org.make.api.views.SearchViewResponse](((proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.core.operation.indexed.OperationOfQuestionSearchResult, organisations: org.make.api.organisation.OrganisationsSearchResultResponse) => SearchViewResponse.apply(proposals, org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))), organisations)))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.views.SearchViewResponse]).apply(((x$7: org.make.api.views.SearchViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.SearchViewResponse](x$7)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]))))))
})))))))
|
|
178
|
46705
|
6625
-
6632
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"views"
|
|
179
|
32307
|
6671
-
6686
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"GetSearchView"
|
|
179
|
37241
|
6657
-
6657
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation$default$3
|
|
179
|
45668
|
6657
-
6657
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation$default$2
|
|
179
|
50593
|
6657
-
6687
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation("GetSearchView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3)
|
|
179
|
43044
|
6670
-
6670
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
179
|
49692
|
6657
-
10174
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("GetSearchView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultViewApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((auth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language])](DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forString("content")(unmarshalling.this.Unmarshaller.identityUnmarshaller[String]), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("proposalLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("organisationLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultViewApiComponent.this.countryFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language]]).apply(((content: String, proposalLimit: Option[org.make.core.technical.Pagination.Limit], questionLimit: Option[org.make.core.technical.Pagination.Limit], organisationLimit: Option[org.make.core.technical.Pagination.Limit], preferredLanguage: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], language: Option[org.make.core.reference.Language]) => {
val proposalQuery: org.make.core.proposal.SearchQuery = {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ContentSearchFilter](org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase()));
<artifact> val x$2: Some[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.OperationKindsSearchFilter](org.make.core.proposal.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$3: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.proposal.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.proposal.CountrySearchFilter.apply(country)));
<artifact> val x$4: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = language.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((l: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$11: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$12: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$13: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$14: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$15: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$16: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$17: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$18: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$19: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$20: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$4, x$3, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$2, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = proposalLimit;
<artifact> val x$34: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.languageContext.language;
<artifact> val x$35: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$36: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$37: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$33, x$37, x$34, x$38)
};
val questionQuery: org.make.core.operation.OperationOfQuestionSearchQuery = org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$39: Some[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.QuestionContentSearchFilter](org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)));
<artifact> val x$40: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$41: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.operation.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.operation.CountrySearchFilter.apply(country)));
<artifact> val x$42: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.operation.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.operation.LanguageSearchFilter.apply(language)));
<artifact> val x$43: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$44: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$45: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$46: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$49: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11;
<artifact> val x$50: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$43, x$39, x$44, x$45, x$41, x$42, x$46, x$47, x$40, x$48, x$49, x$50)
}), questionLimit, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6);
val organisationQuery: org.make.core.user.OrganisationSearchQuery = org.make.core.user.OrganisationSearchQuery.apply(scala.Some.apply[org.make.core.user.OrganisationSearchFilters]({
<artifact> val x$51: Some[org.make.core.user.OrganisationNameSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.OrganisationNameSearchFilter](org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase()));
<artifact> val x$52: Option[org.make.core.user.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.user.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.user.CountrySearchFilter.apply(country)));
<artifact> val x$53: Option[org.make.core.user.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.user.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.user.LanguageSearchFilter.apply(language)));
<artifact> val x$54: Option[org.make.core.user.OrganisationIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$1;
<artifact> val x$55: Option[org.make.core.user.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$3;
<artifact> val x$56: Option[org.make.core.user.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$4;
org.make.core.user.OrganisationSearchFilters.apply(x$54, x$51, x$55, x$56, x$52, x$53)
}), organisationLimit, org.make.core.user.OrganisationSearchQuery.apply$default$3, org.make.core.user.OrganisationSearchQuery.apply$default$4, org.make.core.user.OrganisationSearchQuery.apply$default$5, org.make.core.user.OrganisationSearchQuery.apply$default$6);
server.this.Directive.addDirectiveApply[(org.make.api.views.SearchViewResponse,)](cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalsResultSeededResponse, org.make.core.operation.indexed.OperationOfQuestionSearchResult, org.make.api.organisation.OrganisationsSearchResultResponse](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.api.proposal.ProposalsResultSeededResponse], akka.http.scaladsl.server.Directive1[org.make.core.operation.indexed.OperationOfQuestionSearchResult], akka.http.scaladsl.server.Directive1[org.make.api.organisation.OrganisationsSearchResultResponse]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)).mapN[org.make.api.views.SearchViewResponse](((proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.core.operation.indexed.OperationOfQuestionSearchResult, organisations: org.make.api.organisation.OrganisationsSearchResultResponse) => SearchViewResponse.apply(proposals, org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))), organisations)))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.views.SearchViewResponse]).apply(((x$7: org.make.api.views.SearchViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.SearchViewResponse](x$7)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]))))))
}))))))
|
|
180
|
30701
|
6720
-
6720
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
180
|
38875
|
6720
-
6738
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalMakeOAuth2
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.optionalMakeOAuth2
|
|
180
|
32912
|
6720
-
10162
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultViewApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((auth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addDirectiveApply[(String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language])](DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forString("content")(unmarshalling.this.Unmarshaller.identityUnmarshaller[String]), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("proposalLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("organisationLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultViewApiComponent.this.countryFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language]]).apply(((content: String, proposalLimit: Option[org.make.core.technical.Pagination.Limit], questionLimit: Option[org.make.core.technical.Pagination.Limit], organisationLimit: Option[org.make.core.technical.Pagination.Limit], preferredLanguage: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], language: Option[org.make.core.reference.Language]) => {
val proposalQuery: org.make.core.proposal.SearchQuery = {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ContentSearchFilter](org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase()));
<artifact> val x$2: Some[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.OperationKindsSearchFilter](org.make.core.proposal.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$3: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.proposal.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.proposal.CountrySearchFilter.apply(country)));
<artifact> val x$4: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = language.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((l: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$11: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$12: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$13: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$14: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$15: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$16: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$17: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$18: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$19: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$20: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$4, x$3, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$2, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = proposalLimit;
<artifact> val x$34: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.languageContext.language;
<artifact> val x$35: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$36: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$37: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$33, x$37, x$34, x$38)
};
val questionQuery: org.make.core.operation.OperationOfQuestionSearchQuery = org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$39: Some[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.QuestionContentSearchFilter](org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)));
<artifact> val x$40: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$41: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.operation.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.operation.CountrySearchFilter.apply(country)));
<artifact> val x$42: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.operation.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.operation.LanguageSearchFilter.apply(language)));
<artifact> val x$43: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$44: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$45: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$46: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$49: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11;
<artifact> val x$50: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$43, x$39, x$44, x$45, x$41, x$42, x$46, x$47, x$40, x$48, x$49, x$50)
}), questionLimit, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6);
val organisationQuery: org.make.core.user.OrganisationSearchQuery = org.make.core.user.OrganisationSearchQuery.apply(scala.Some.apply[org.make.core.user.OrganisationSearchFilters]({
<artifact> val x$51: Some[org.make.core.user.OrganisationNameSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.OrganisationNameSearchFilter](org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase()));
<artifact> val x$52: Option[org.make.core.user.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.user.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.user.CountrySearchFilter.apply(country)));
<artifact> val x$53: Option[org.make.core.user.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.user.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.user.LanguageSearchFilter.apply(language)));
<artifact> val x$54: Option[org.make.core.user.OrganisationIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$1;
<artifact> val x$55: Option[org.make.core.user.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$3;
<artifact> val x$56: Option[org.make.core.user.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$4;
org.make.core.user.OrganisationSearchFilters.apply(x$54, x$51, x$55, x$56, x$52, x$53)
}), organisationLimit, org.make.core.user.OrganisationSearchQuery.apply$default$3, org.make.core.user.OrganisationSearchQuery.apply$default$4, org.make.core.user.OrganisationSearchQuery.apply$default$5, org.make.core.user.OrganisationSearchQuery.apply$default$6);
server.this.Directive.addDirectiveApply[(org.make.api.views.SearchViewResponse,)](cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalsResultSeededResponse, org.make.core.operation.indexed.OperationOfQuestionSearchResult, org.make.api.organisation.OrganisationsSearchResultResponse](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.api.proposal.ProposalsResultSeededResponse], akka.http.scaladsl.server.Directive1[org.make.core.operation.indexed.OperationOfQuestionSearchResult], akka.http.scaladsl.server.Directive1[org.make.api.organisation.OrganisationsSearchResultResponse]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)).mapN[org.make.api.views.SearchViewResponse](((proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.core.operation.indexed.OperationOfQuestionSearchResult, organisations: org.make.api.organisation.OrganisationsSearchResultResponse) => SearchViewResponse.apply(proposals, org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))), organisations)))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.views.SearchViewResponse]).apply(((x$7: org.make.api.views.SearchViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.SearchViewResponse](x$7)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]))))))
}))))
|
|
181
|
38910
|
6803
-
6803
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac7
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac7[String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language]]
|
|
181
|
43334
|
6793
-
7154
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forString("content")(unmarshalling.this.Unmarshaller.identityUnmarshaller[String]), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("proposalLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("organisationLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultViewApiComponent.this.countryFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)))
|
|
182
|
36966
|
6821
-
6821
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.views.viewapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
182
|
32351
|
6821
-
6830
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forString
|
org.make.api.views.viewapitest
|
ParameterDirectives.this.ParamSpec.forString("content")(unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
182
|
44079
|
6821
-
6830
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"content"
|
|
183
|
43500
|
6885
-
6885
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.views.viewapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)
|
|
183
|
37282
|
6848
-
6886
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("proposalLimit").as[org.make.core.technical.Pagination.Limit].?
|
|
183
|
50632
|
6885
-
6885
|
Select
|
org.make.core.ParameterExtractors.limitFromIntUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.limitFromIntUnmarshaller
|
|
183
|
38918
|
6848
-
6886
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.views.viewapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("proposalLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller))
|
|
183
|
45419
|
6848
-
6863
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"proposalLimit"
|
|
184
|
44903
|
6904
-
6942
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.views.viewapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller))
|
|
184
|
31780
|
6904
-
6919
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"questionLimit"
|
|
184
|
32815
|
6941
-
6941
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.views.viewapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)
|
|
184
|
37000
|
6941
-
6941
|
Select
|
org.make.core.ParameterExtractors.limitFromIntUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.limitFromIntUnmarshaller
|
|
184
|
43827
|
6904
-
6942
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?
|
|
185
|
39376
|
7001
-
7001
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.views.viewapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)
|
|
185
|
43539
|
7001
-
7001
|
Select
|
org.make.core.ParameterExtractors.limitFromIntUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.limitFromIntUnmarshaller
|
|
185
|
30496
|
6960
-
7002
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.views.viewapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("organisationLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller))
|
|
185
|
51140
|
6960
-
7002
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("organisationLimit").as[org.make.core.technical.Pagination.Limit].?
|
|
185
|
37320
|
6960
-
6979
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"organisationLimit"
|
|
186
|
37074
|
7020
-
7054
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.views.viewapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))
|
|
186
|
36762
|
7020
-
7054
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
186
|
45662
|
7053
-
7053
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.views.viewapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)
|
|
186
|
50088
|
7053
-
7053
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.languageFromStringUnmarshaller
|
|
186
|
43869
|
7020
-
7039
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"preferredLanguage"
|
|
187
|
43297
|
7072
-
7095
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?
|
|
187
|
38870
|
7094
-
7094
|
Select
|
org.make.core.ParameterExtractors.countryFromStringUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.countryFromStringUnmarshaller
|
|
187
|
51173
|
7072
-
7081
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"country"
|
|
187
|
44384
|
7072
-
7095
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.views.viewapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultViewApiComponent.this.countryFromStringUnmarshaller))
|
|
187
|
31258
|
7094
-
7094
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.views.viewapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultViewApiComponent.this.countryFromStringUnmarshaller)
|
|
188
|
50937
|
7113
-
7138
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.views.viewapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))
|
|
188
|
49842
|
7113
-
7138
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?
|
|
188
|
45410
|
7137
-
7137
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.languageFromStringUnmarshaller
|
|
188
|
37823
|
7137
-
7137
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.views.viewapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)
|
|
188
|
36794
|
7113
-
7123
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"language"
|
|
189
|
40525
|
6793
-
10148
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addDirectiveApply[(String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language])](DefaultViewApi.this.parameters(ParameterDirectives.this.ParamSpec.forString("content")(unmarshalling.this.Unmarshaller.identityUnmarshaller[String]), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("proposalLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultViewApi.this._string2NR("organisationLimit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultViewApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Country](DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Country](DefaultViewApiComponent.this.countryFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller))))(util.this.ApplyConverter.hac7[String, Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.reference.Language], Option[org.make.core.reference.Country], Option[org.make.core.reference.Language]]).apply(((content: String, proposalLimit: Option[org.make.core.technical.Pagination.Limit], questionLimit: Option[org.make.core.technical.Pagination.Limit], organisationLimit: Option[org.make.core.technical.Pagination.Limit], preferredLanguage: Option[org.make.core.reference.Language], country: Option[org.make.core.reference.Country], language: Option[org.make.core.reference.Language]) => {
val proposalQuery: org.make.core.proposal.SearchQuery = {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ContentSearchFilter](org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase()));
<artifact> val x$2: Some[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.OperationKindsSearchFilter](org.make.core.proposal.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$3: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.proposal.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.proposal.CountrySearchFilter.apply(country)));
<artifact> val x$4: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = language.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((l: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$11: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$12: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$13: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$14: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$15: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$16: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$17: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$18: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$19: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$20: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$4, x$3, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$2, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = proposalLimit;
<artifact> val x$34: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.languageContext.language;
<artifact> val x$35: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$36: Option[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$3;
<artifact> val x$37: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$5;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$33, x$37, x$34, x$38)
};
val questionQuery: org.make.core.operation.OperationOfQuestionSearchQuery = org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$39: Some[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.QuestionContentSearchFilter](org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)));
<artifact> val x$40: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$41: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.operation.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.operation.CountrySearchFilter.apply(country)));
<artifact> val x$42: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.operation.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.operation.LanguageSearchFilter.apply(language)));
<artifact> val x$43: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$44: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$45: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$46: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$49: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11;
<artifact> val x$50: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$43, x$39, x$44, x$45, x$41, x$42, x$46, x$47, x$40, x$48, x$49, x$50)
}), questionLimit, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6);
val organisationQuery: org.make.core.user.OrganisationSearchQuery = org.make.core.user.OrganisationSearchQuery.apply(scala.Some.apply[org.make.core.user.OrganisationSearchFilters]({
<artifact> val x$51: Some[org.make.core.user.OrganisationNameSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.OrganisationNameSearchFilter](org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase()));
<artifact> val x$52: Option[org.make.core.user.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.user.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.user.CountrySearchFilter.apply(country)));
<artifact> val x$53: Option[org.make.core.user.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.user.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.user.LanguageSearchFilter.apply(language)));
<artifact> val x$54: Option[org.make.core.user.OrganisationIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$1;
<artifact> val x$55: Option[org.make.core.user.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$3;
<artifact> val x$56: Option[org.make.core.user.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$4;
org.make.core.user.OrganisationSearchFilters.apply(x$54, x$51, x$55, x$56, x$52, x$53)
}), organisationLimit, org.make.core.user.OrganisationSearchQuery.apply$default$3, org.make.core.user.OrganisationSearchQuery.apply$default$4, org.make.core.user.OrganisationSearchQuery.apply$default$5, org.make.core.user.OrganisationSearchQuery.apply$default$6);
server.this.Directive.addDirectiveApply[(org.make.api.views.SearchViewResponse,)](cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalsResultSeededResponse, org.make.core.operation.indexed.OperationOfQuestionSearchResult, org.make.api.organisation.OrganisationsSearchResultResponse](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.api.proposal.ProposalsResultSeededResponse], akka.http.scaladsl.server.Directive1[org.make.core.operation.indexed.OperationOfQuestionSearchResult], akka.http.scaladsl.server.Directive1[org.make.api.organisation.OrganisationsSearchResultResponse]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)).mapN[org.make.api.views.SearchViewResponse](((proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.core.operation.indexed.OperationOfQuestionSearchResult, organisations: org.make.api.organisation.OrganisationsSearchResultResponse) => SearchViewResponse.apply(proposals, org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))), organisations)))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.views.SearchViewResponse]).apply(((x$7: org.make.api.views.SearchViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.SearchViewResponse](x$7)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]))))))
}))
|
|
190
|
35235
|
7293
-
7293
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$7
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
190
|
43115
|
7293
-
7293
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$5
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchQuery.apply$default$5
|
|
190
|
37606
|
7293
-
7293
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
190
|
50724
|
7293
-
7293
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchQuery.apply$default$3
|
|
190
|
48032
|
7293
-
7918
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchQuery.apply(x$32, x$35, x$36, x$33, x$37, x$34, x$38)
|
|
191
|
49614
|
7334
-
7789
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.ContentSearchFilter](org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase()));
<artifact> val x$2: Some[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.OperationKindsSearchFilter](org.make.core.proposal.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$3: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.proposal.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.proposal.CountrySearchFilter.apply(country)));
<artifact> val x$4: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = language.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((l: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))));
<artifact> val x$5: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$6: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$7: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$8: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$9: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$10: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$11: Option[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$8;
<artifact> val x$12: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$13: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$14: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$15: Option[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$14;
<artifact> val x$16: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$17: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$18: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$19: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$20: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$22: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$4, x$3, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$2, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
})
|
|
192
|
37068
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
192
|
35483
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
192
|
49356
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
192
|
43076
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
192
|
34980
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$8
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$8
|
|
192
|
45190
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
192
|
30739
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
192
|
49831
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$14
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$14
|
|
192
|
50199
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
192
|
49867
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
192
|
51428
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
192
|
44702
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
192
|
50157
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
192
|
38164
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
192
|
35446
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
192
|
43287
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$6
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$6
|
|
192
|
36552
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
192
|
35996
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$1
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
192
|
43326
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
192
|
41528
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
192
|
31608
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
192
|
44665
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
192
|
41991
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
192
|
43606
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
192
|
36034
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
192
|
36584
|
7360
-
7769
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply(x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$12, x$13, x$14, x$4, x$3, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$2, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
|
|
192
|
38130
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
192
|
30782
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
193
|
36563
|
7416
-
7471
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.proposal.ContentSearchFilter](org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase()))
|
|
193
|
43821
|
7421
-
7470
|
Apply
|
org.make.core.proposal.ContentSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase())
|
|
193
|
31001
|
7450
-
7469
|
Apply
|
java.lang.String.toLowerCase
|
org.make.api.views.viewapitest
|
content.toLowerCase()
|
|
194
|
45456
|
7517
-
7579
|
Apply
|
org.make.core.proposal.OperationKindsSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.proposal.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds)
|
|
194
|
38338
|
7512
-
7580
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.proposal.OperationKindsSearchFilter](org.make.core.proposal.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds))
|
|
194
|
49318
|
7553
-
7578
|
Select
|
org.make.core.operation.OperationKind.publicKinds
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationKind.publicKinds
|
|
195
|
43091
|
7614
-
7652
|
Apply
|
scala.Option.map
|
org.make.api.views.viewapitest
|
country.map[org.make.core.proposal.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.proposal.CountrySearchFilter.apply(country)))
|
|
195
|
50377
|
7626
-
7651
|
Apply
|
org.make.core.proposal.CountrySearchFilter.apply
|
|
org.make.core.proposal.CountrySearchFilter.apply(country)
|
|
196
|
34939
|
7722
-
7745
|
Apply
|
org.make.core.proposal.LanguageSearchFilter.apply
|
|
org.make.core.proposal.LanguageSearchFilter.apply(l)
|
|
196
|
31044
|
7706
-
7746
|
Apply
|
cats.data.NonEmptyList.of
|
|
cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))
|
|
196
|
44872
|
7688
-
7747
|
Apply
|
scala.Option.map
|
org.make.api.views.viewapitest
|
language.map[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]](((l: org.make.core.reference.Language) => cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))))
|
|
200
|
41486
|
7861
-
7900
|
Select
|
org.make.core.RequestContextLanguage.language
|
org.make.api.views.viewapitest
|
requestContext.languageContext.language
|
|
202
|
47861
|
7955
-
8570
|
Apply
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$39: Some[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.QuestionContentSearchFilter](org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)));
<artifact> val x$40: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$41: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.operation.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.operation.CountrySearchFilter.apply(country)));
<artifact> val x$42: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.operation.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.operation.LanguageSearchFilter.apply(language)));
<artifact> val x$43: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$44: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$45: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$46: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$49: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11;
<artifact> val x$50: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$43, x$39, x$44, x$45, x$41, x$42, x$46, x$47, x$40, x$48, x$49, x$50)
}), questionLimit, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6)
|
|
202
|
43369
|
7955
-
7955
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5
|
|
202
|
51255
|
7955
-
7955
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4
|
|
202
|
35225
|
7955
-
7955
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6
|
|
202
|
34202
|
7955
-
7955
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
|
|
203
|
41313
|
8015
-
8511
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$39: Some[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.QuestionContentSearchFilter](org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)));
<artifact> val x$40: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$41: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.operation.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.operation.CountrySearchFilter.apply(country)));
<artifact> val x$42: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.operation.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.operation.LanguageSearchFilter.apply(language)));
<artifact> val x$43: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$44: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$45: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$46: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$47: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$48: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$49: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11;
<artifact> val x$50: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$43, x$39, x$44, x$45, x$41, x$42, x$46, x$47, x$40, x$48, x$49, x$50)
})
|
|
204
|
34490
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8
|
|
204
|
47822
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10
|
|
204
|
49607
|
8041
-
8491
|
Apply
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$43, x$39, x$44, x$45, x$41, x$42, x$46, x$47, x$40, x$48, x$49, x$50)
|
|
204
|
41275
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1
|
|
204
|
51210
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4
|
|
204
|
42315
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7
|
|
204
|
44698
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11
|
|
204
|
33677
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3
|
|
204
|
36838
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12
|
|
205
|
37360
|
8108
-
8192
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.operation.QuestionContentSearchFilter](org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)))
|
|
205
|
36349
|
8175
-
8189
|
Select
|
com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto
|
org.make.api.views.viewapitest
|
com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto
|
|
205
|
44160
|
8141
-
8160
|
Apply
|
java.lang.String.toLowerCase
|
org.make.api.views.viewapitest
|
content.toLowerCase()
|
|
205
|
49651
|
8170
-
8190
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto)
|
|
205
|
41243
|
8113
-
8191
|
Apply
|
org.make.core.operation.QuestionContentSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.operation.QuestionContentSearchFilter.apply(content.toLowerCase(), scala.Some.apply[com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto.type](com.sksamuel.elastic4s.requests.searches.suggestion.Fuzziness.Auto))
|
|
206
|
42866
|
8238
-
8301
|
Apply
|
org.make.core.operation.OperationKindsSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds)
|
|
206
|
50154
|
8275
-
8300
|
Select
|
org.make.core.operation.OperationKind.publicKinds
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationKind.publicKinds
|
|
206
|
34727
|
8233
-
8302
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds))
|
|
207
|
44658
|
8336
-
8384
|
Apply
|
scala.Option.map
|
org.make.api.views.viewapitest
|
country.map[org.make.core.operation.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.operation.CountrySearchFilter.apply(country)))
|
|
207
|
48067
|
8348
-
8383
|
Apply
|
org.make.core.operation.CountrySearchFilter.apply
|
|
org.make.core.operation.CountrySearchFilter.apply(country)
|
|
208
|
49410
|
8419
-
8469
|
Apply
|
scala.Option.map
|
org.make.api.views.viewapitest
|
language.map[org.make.core.operation.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.operation.LanguageSearchFilter.apply(language)))
|
|
208
|
35774
|
8432
-
8468
|
Apply
|
org.make.core.operation.LanguageSearchFilter.apply
|
|
org.make.core.operation.LanguageSearchFilter.apply(language)
|
|
213
|
42899
|
8611
-
8611
|
Select
|
org.make.core.user.OrganisationSearchQuery.apply$default$6
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchQuery.apply$default$6
|
|
213
|
51045
|
8611
-
8611
|
Select
|
org.make.core.user.OrganisationSearchQuery.apply$default$5
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchQuery.apply$default$5
|
|
213
|
41816
|
8611
-
8611
|
Select
|
org.make.core.user.OrganisationSearchQuery.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchQuery.apply$default$3
|
|
213
|
35015
|
8611
-
9075
|
Apply
|
org.make.core.user.OrganisationSearchQuery.apply
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchQuery.apply(scala.Some.apply[org.make.core.user.OrganisationSearchFilters]({
<artifact> val x$51: Some[org.make.core.user.OrganisationNameSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.OrganisationNameSearchFilter](org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase()));
<artifact> val x$52: Option[org.make.core.user.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.user.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.user.CountrySearchFilter.apply(country)));
<artifact> val x$53: Option[org.make.core.user.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.user.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.user.LanguageSearchFilter.apply(language)));
<artifact> val x$54: Option[org.make.core.user.OrganisationIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$1;
<artifact> val x$55: Option[org.make.core.user.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$3;
<artifact> val x$56: Option[org.make.core.user.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$4;
org.make.core.user.OrganisationSearchFilters.apply(x$54, x$51, x$55, x$56, x$52, x$53)
}), organisationLimit, org.make.core.user.OrganisationSearchQuery.apply$default$3, org.make.core.user.OrganisationSearchQuery.apply$default$4, org.make.core.user.OrganisationSearchQuery.apply$default$5, org.make.core.user.OrganisationSearchQuery.apply$default$6)
|
|
213
|
33384
|
8611
-
8611
|
Select
|
org.make.core.user.OrganisationSearchQuery.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchQuery.apply$default$4
|
|
214
|
49398
|
8664
-
9012
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.user.OrganisationSearchFilters]({
<artifact> val x$51: Some[org.make.core.user.OrganisationNameSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.OrganisationNameSearchFilter](org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase()));
<artifact> val x$52: Option[org.make.core.user.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = country.map[org.make.core.user.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.user.CountrySearchFilter.apply(country)));
<artifact> val x$53: Option[org.make.core.user.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = language.map[org.make.core.user.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.user.LanguageSearchFilter.apply(language)));
<artifact> val x$54: Option[org.make.core.user.OrganisationIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$1;
<artifact> val x$55: Option[org.make.core.user.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$3;
<artifact> val x$56: Option[org.make.core.user.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.user.OrganisationSearchFilters.apply$default$4;
org.make.core.user.OrganisationSearchFilters.apply(x$54, x$51, x$55, x$56, x$52, x$53)
})
|
|
215
|
48325
|
8690
-
8690
|
Select
|
org.make.core.user.OrganisationSearchFilters.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchFilters.apply$default$3
|
|
215
|
40782
|
8690
-
8690
|
Select
|
org.make.core.user.OrganisationSearchFilters.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchFilters.apply$default$4
|
|
215
|
35265
|
8690
-
8690
|
Select
|
org.make.core.user.OrganisationSearchFilters.apply$default$1
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchFilters.apply$default$1
|
|
215
|
36632
|
8690
-
8992
|
Apply
|
org.make.core.user.OrganisationSearchFilters.apply
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchFilters.apply(x$54, x$51, x$55, x$56, x$52, x$53)
|
|
216
|
36877
|
8763
-
8812
|
Apply
|
org.make.core.user.OrganisationNameSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase())
|
|
216
|
44453
|
8792
-
8811
|
Apply
|
java.lang.String.toLowerCase
|
org.make.api.views.viewapitest
|
content.toLowerCase()
|
|
216
|
49644
|
8758
-
8813
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.user.OrganisationNameSearchFilter](org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase()))
|
|
217
|
41775
|
8859
-
8889
|
Apply
|
org.make.core.user.CountrySearchFilter.apply
|
|
org.make.core.user.CountrySearchFilter.apply(country)
|
|
217
|
34241
|
8847
-
8890
|
Apply
|
scala.Option.map
|
org.make.api.views.viewapitest
|
country.map[org.make.core.user.CountrySearchFilter](((country: org.make.core.reference.Country) => org.make.core.user.CountrySearchFilter.apply(country)))
|
|
218
|
42857
|
8925
-
8970
|
Apply
|
scala.Option.map
|
org.make.api.views.viewapitest
|
language.map[org.make.core.user.LanguageSearchFilter](((language: org.make.core.reference.Language) => org.make.core.user.LanguageSearchFilter.apply(language)))
|
|
218
|
51003
|
8938
-
8969
|
Apply
|
org.make.core.user.LanguageSearchFilter.apply
|
|
org.make.core.user.LanguageSearchFilter.apply(language)
|
|
223
|
36872
|
9092
-
9591
|
Apply
|
scala.Tuple3.apply
|
org.make.api.views.viewapitest
|
scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.api.proposal.ProposalsResultSeededResponse], akka.http.scaladsl.server.Directive1[org.make.core.operation.indexed.OperationOfQuestionSearchResult], akka.http.scaladsl.server.Directive1[org.make.api.organisation.OrganisationsSearchResultResponse]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)
|
|
225
|
39933
|
9163
-
9186
|
Apply
|
scala.Option.map
|
org.make.api.views.viewapitest
|
auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId))
|
|
225
|
36122
|
9238
-
9242
|
Select
|
scala.None
|
org.make.api.views.viewapitest
|
scala.None
|
|
225
|
49435
|
9112
-
9243
|
Apply
|
org.make.api.proposal.ProposalService.searchForUser
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)
|
|
225
|
47814
|
9172
-
9185
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$5.user.userId
|
|
226
|
41567
|
9112
-
9276
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.views.viewapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective
|
|
227
|
50492
|
9296
-
9356
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.views.viewapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective
|
|
227
|
33423
|
9296
-
9344
|
Apply
|
org.make.api.operation.OperationOfQuestionService.search
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)
|
|
230
|
35052
|
9476
-
9476
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.views.viewapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
230
|
42654
|
9477
-
9539
|
Apply
|
org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult
|
|
org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)
|
|
230
|
47567
|
9376
-
9540
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
231
|
39968
|
9376
-
9573
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.views.viewapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective
|
|
232
|
40001
|
9092
-
10094
|
ApplyToImplicitArgs
|
cats.syntax.Tuple3SemigroupalOps.mapN
|
org.make.api.views.viewapitest
|
cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalsResultSeededResponse, org.make.core.operation.indexed.OperationOfQuestionSearchResult, org.make.api.organisation.OrganisationsSearchResultResponse](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.api.proposal.ProposalsResultSeededResponse], akka.http.scaladsl.server.Directive1[org.make.core.operation.indexed.OperationOfQuestionSearchResult], akka.http.scaladsl.server.Directive1[org.make.api.organisation.OrganisationsSearchResultResponse]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)).mapN[org.make.api.views.SearchViewResponse](((proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.core.operation.indexed.OperationOfQuestionSearchResult, organisations: org.make.api.organisation.OrganisationsSearchResultResponse) => SearchViewResponse.apply(proposals, org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))), organisations)))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
232
|
47602
|
9596
-
9596
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.views.viewapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
232
|
34808
|
9596
-
9596
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.views.viewapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
232
|
36623
|
9596
-
9596
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[org.make.api.views.SearchViewResponse]
|
|
234
|
43406
|
9681
-
10074
|
Apply
|
org.make.api.views.SearchViewResponse.apply
|
org.make.api.views.viewapitest
|
SearchViewResponse.apply(proposals, org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))), organisations)
|
|
236
|
47262
|
9784
-
9995
|
Apply
|
org.make.api.question.SearchQuestionsResponse.apply
|
org.make.api.views.viewapitest
|
org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage))))
|
|
237
|
49191
|
9843
-
9858
|
Select
|
org.make.core.operation.indexed.OperationOfQuestionSearchResult.total
|
org.make.api.views.viewapitest
|
questions.total
|
|
238
|
33170
|
9896
-
9969
|
Apply
|
scala.collection.IterableOps.map
|
org.make.api.views.viewapitest
|
questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))
|
|
238
|
41067
|
9918
-
9968
|
Apply
|
org.make.api.question.SearchQuestionResponse.apply
|
|
org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)
|
|
243
|
42128
|
10129
-
10129
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]
|
|
243
|
49953
|
10129
-
10129
|
Select
|
org.make.api.views.SearchViewResponse.encoder
|
org.make.api.views.viewapitest
|
views.this.SearchViewResponse.encoder
|
|
243
|
47303
|
10129
-
10129
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.views.viewapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]))
|
|
243
|
33205
|
10129
-
10129
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse])
|
|
243
|
35011
|
10120
-
10131
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.SearchViewResponse](x$7)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]))))
|
|
243
|
48669
|
9092
-
10132
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.views.SearchViewResponse,)](cats.implicits.catsSyntaxTuple3Semigroupal[akka.http.scaladsl.server.Directive1, org.make.api.proposal.ProposalsResultSeededResponse, org.make.core.operation.indexed.OperationOfQuestionSearchResult, org.make.api.organisation.OrganisationsSearchResultResponse](scala.Tuple3.apply[akka.http.scaladsl.server.Directive1[org.make.api.proposal.ProposalsResultSeededResponse], akka.http.scaladsl.server.Directive1[org.make.core.operation.indexed.OperationOfQuestionSearchResult], akka.http.scaladsl.server.Directive1[org.make.api.organisation.OrganisationsSearchResultResponse]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultViewApiComponent.this.proposalService.searchForUser(auth.map[org.make.core.user.UserId](((x$5: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$5.user.userId)), proposalQuery, requestContext, preferredLanguage, scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.operation.indexed.OperationOfQuestionSearchResult](DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.organisation.OrganisationsSearchResultResponse](DefaultViewApiComponent.this.organisationService.searchWithQuery(organisationQuery).map[org.make.api.organisation.OrganisationsSearchResultResponse](((results: org.make.core.user.indexed.OrganisationSearchResult) => org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)).mapN[org.make.api.views.SearchViewResponse](((proposals: org.make.api.proposal.ProposalsResultSeededResponse, questions: org.make.core.operation.indexed.OperationOfQuestionSearchResult, organisations: org.make.api.organisation.OrganisationsSearchResultResponse) => SearchViewResponse.apply(proposals, org.make.api.question.SearchQuestionsResponse.apply(questions.total, questions.results.map[org.make.api.question.SearchQuestionResponse](((x$6: org.make.core.operation.indexed.IndexedOperationOfQuestion) => org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)))), organisations)))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.views.SearchViewResponse]).apply(((x$7: org.make.api.views.SearchViewResponse) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.views.SearchViewResponse](x$7)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse]))))))
|
|
243
|
43154
|
10129
-
10130
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.views.viewapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.views.SearchViewResponse](x$7)(marshalling.this.Marshaller.liftMarshaller[org.make.api.views.SearchViewResponse](DefaultViewApiComponent.this.marshaller[org.make.api.views.SearchViewResponse](views.this.SearchViewResponse.encoder, DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.SearchViewResponse])))
|
|
252
|
47722
|
10257
-
11924
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addByNameNullaryApply(DefaultViewApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultViewApi.this.path[Unit](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("countries"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("ListAvailableCountries", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => {
val query: org.make.core.operation.OperationOfQuestionSearchQuery = org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$1: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$2: Some[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.StatusSearchFilter](org.make.core.operation.StatusSearchFilter.apply(org.make.core.operation.OperationOfQuestion.Status.Open, org.make.core.operation.OperationOfQuestion.Status.Finished));
<artifact> val x$3: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$11: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$2, x$12)
}), org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$2, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6);
server.this.Directive.addDirectiveApply[(Iterable[org.make.api.views.AvailableCountry],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.operationOfQuestionService.count(query).flatMap[Iterable[org.make.api.views.AvailableCountry]](((count: Long) => DefaultViewApiComponent.this.operationOfQuestionService.search({
<artifact> val x$13: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(count.toInt));
<artifact> val x$14: Option[org.make.core.operation.OperationOfQuestionSearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$1;
<artifact> val x$15: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$3;
<artifact> val x$16: Option[org.make.core.operation.indexed.OperationOfQuestionElasticsearchFieldName] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$4;
<artifact> val x$17: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$5;
<artifact> val x$18: Option[org.make.core.operation.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$6;
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
}).map[Iterable[org.make.api.views.AvailableCountry]](((x$9: org.make.core.operation.indexed.OperationOfQuestionSearchResult) => x$9.results.flatMap[(String, Boolean)](((ooq: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))))).foldLeft[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry]](scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry])(((x0$1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], x1$1: (String, Boolean)) => scala.Tuple2.apply[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean)](x0$1, x1$1) match {
case (_1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], _2: (String, Boolean)): (scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean))((map @ _), (_1: String, _2: Boolean): (String, Boolean)((country @ _), (open @ _))) => map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
})).values))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Iterable[org.make.api.views.AvailableCountry]]).apply(((x$12: Iterable[org.make.api.views.AvailableCountry]) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Iterable[org.make.api.views.AvailableCountry]](x$12)(marshalling.this.Marshaller.liftMarshaller[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.marshaller[Iterable[org.make.api.views.AvailableCountry]](circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]), DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]]))))))
}))))
|
|
252
|
47055
|
10257
-
10260
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.get
|
|
253
|
32660
|
10271
-
10298
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.path[Unit](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("countries"))(TupleOps.this.Join.join0P[Unit]))
|
|
253
|
43195
|
10276
-
10283
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"views"
|
|
253
|
31349
|
10271
-
11916
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addByNameNullaryApply(DefaultViewApi.this.path[Unit](DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("countries"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("ListAvailableCountries", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => {
val query: org.make.core.operation.OperationOfQuestionSearchQuery = org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$1: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$2: Some[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.StatusSearchFilter](org.make.core.operation.StatusSearchFilter.apply(org.make.core.operation.OperationOfQuestion.Status.Open, org.make.core.operation.OperationOfQuestion.Status.Finished));
<artifact> val x$3: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$11: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$2, x$12)
}), org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$2, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6);
server.this.Directive.addDirectiveApply[(Iterable[org.make.api.views.AvailableCountry],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.operationOfQuestionService.count(query).flatMap[Iterable[org.make.api.views.AvailableCountry]](((count: Long) => DefaultViewApiComponent.this.operationOfQuestionService.search({
<artifact> val x$13: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(count.toInt));
<artifact> val x$14: Option[org.make.core.operation.OperationOfQuestionSearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$1;
<artifact> val x$15: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$3;
<artifact> val x$16: Option[org.make.core.operation.indexed.OperationOfQuestionElasticsearchFieldName] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$4;
<artifact> val x$17: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$5;
<artifact> val x$18: Option[org.make.core.operation.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$6;
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
}).map[Iterable[org.make.api.views.AvailableCountry]](((x$9: org.make.core.operation.indexed.OperationOfQuestionSearchResult) => x$9.results.flatMap[(String, Boolean)](((ooq: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))))).foldLeft[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry]](scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry])(((x0$1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], x1$1: (String, Boolean)) => scala.Tuple2.apply[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean)](x0$1, x1$1) match {
case (_1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], _2: (String, Boolean)): (scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean))((map @ _), (_1: String, _2: Boolean): (String, Boolean)((country @ _), (open @ _))) => map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
})).values))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Iterable[org.make.api.views.AvailableCountry]]).apply(((x$12: Iterable[org.make.api.views.AvailableCountry]) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Iterable[org.make.api.views.AvailableCountry]](x$12)(marshalling.this.Marshaller.liftMarshaller[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.marshaller[Iterable[org.make.api.views.AvailableCountry]](circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]), DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]]))))))
})))
|
|
253
|
48108
|
10284
-
10284
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
253
|
34766
|
10286
-
10297
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("countries")
|
|
253
|
40562
|
10276
-
10297
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("views")./[Unit](DefaultViewApi.this._segmentStringToPathMatcher("countries"))(TupleOps.this.Join.join0P[Unit])
|
|
254
|
49183
|
10325
-
10349
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"ListAvailableCountries"
|
|
254
|
39502
|
10311
-
11906
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultViewApiComponent.this.makeOperation("ListAvailableCountries", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => {
val query: org.make.core.operation.OperationOfQuestionSearchQuery = org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$1: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$2: Some[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.StatusSearchFilter](org.make.core.operation.StatusSearchFilter.apply(org.make.core.operation.OperationOfQuestion.Status.Open, org.make.core.operation.OperationOfQuestion.Status.Finished));
<artifact> val x$3: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$11: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$2, x$12)
}), org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$2, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6);
server.this.Directive.addDirectiveApply[(Iterable[org.make.api.views.AvailableCountry],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.operationOfQuestionService.count(query).flatMap[Iterable[org.make.api.views.AvailableCountry]](((count: Long) => DefaultViewApiComponent.this.operationOfQuestionService.search({
<artifact> val x$13: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(count.toInt));
<artifact> val x$14: Option[org.make.core.operation.OperationOfQuestionSearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$1;
<artifact> val x$15: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$3;
<artifact> val x$16: Option[org.make.core.operation.indexed.OperationOfQuestionElasticsearchFieldName] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$4;
<artifact> val x$17: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$5;
<artifact> val x$18: Option[org.make.core.operation.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$6;
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
}).map[Iterable[org.make.api.views.AvailableCountry]](((x$9: org.make.core.operation.indexed.OperationOfQuestionSearchResult) => x$9.results.flatMap[(String, Boolean)](((ooq: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))))).foldLeft[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry]](scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry])(((x0$1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], x1$1: (String, Boolean)) => scala.Tuple2.apply[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean)](x0$1, x1$1) match {
case (_1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], _2: (String, Boolean)): (scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean))((map @ _), (_1: String, _2: Boolean): (String, Boolean)((country @ _), (open @ _))) => map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
})).values))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Iterable[org.make.api.views.AvailableCountry]]).apply(((x$12: Iterable[org.make.api.views.AvailableCountry]) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Iterable[org.make.api.views.AvailableCountry]](x$12)(marshalling.this.Marshaller.liftMarshaller[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.marshaller[Iterable[org.make.api.views.AvailableCountry]](circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]), DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]]))))))
}))
|
|
254
|
41601
|
10311
-
10311
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation$default$2
|
|
254
|
47091
|
10311
-
10350
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation("ListAvailableCountries", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3)
|
|
254
|
42946
|
10324
-
10324
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
254
|
33720
|
10311
-
10311
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation$default$3
|
|
255
|
32651
|
10382
-
10382
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4
|
|
255
|
34307
|
10382
-
10744
|
Apply
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$1: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$2: Some[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.StatusSearchFilter](org.make.core.operation.StatusSearchFilter.apply(org.make.core.operation.OperationOfQuestion.Status.Open, org.make.core.operation.OperationOfQuestion.Status.Finished));
<artifact> val x$3: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$11: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$2, x$12)
}), org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$2, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6)
|
|
255
|
34599
|
10423
-
10730
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({
<artifact> val x$1: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds));
<artifact> val x$2: Some[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.StatusSearchFilter](org.make.core.operation.StatusSearchFilter.apply(org.make.core.operation.OperationOfQuestion.Status.Open, org.make.core.operation.OperationOfQuestion.Status.Finished));
<artifact> val x$3: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8;
<artifact> val x$11: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12;
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$2, x$12)
})
|
|
255
|
41154
|
10382
-
10382
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6
|
|
255
|
40822
|
10382
-
10382
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
|
|
255
|
48693
|
10382
-
10382
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$2
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$2
|
|
255
|
49728
|
10382
-
10382
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5
|
|
256
|
38725
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2
|
|
256
|
47903
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4
|
|
256
|
46294
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12
|
|
256
|
39756
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5
|
|
256
|
34842
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3
|
|
256
|
39178
|
10443
-
10716
|
Apply
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$1, x$11, x$2, x$12)
|
|
256
|
41394
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8
|
|
256
|
48987
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$7
|
|
256
|
34276
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10
|
|
256
|
31853
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6
|
|
256
|
46253
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1
|
|
257
|
39714
|
10510
-
10579
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds))
|
|
257
|
48147
|
10515
-
10578
|
Apply
|
org.make.core.operation.OperationKindsSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.publicKinds)
|
|
257
|
34800
|
10552
-
10577
|
Select
|
org.make.core.operation.OperationKind.publicKinds
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationKind.publicKinds
|
|
258
|
48944
|
10663
-
10698
|
Select
|
org.make.core.operation.OperationOfQuestion.Status.Finished
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestion.Status.Finished
|
|
258
|
32697
|
10630
-
10661
|
Select
|
org.make.core.operation.OperationOfQuestion.Status.Open
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestion.Status.Open
|
|
258
|
33199
|
10606
-
10700
|
Apply
|
scala.Some.apply
|
org.make.api.views.viewapitest
|
scala.Some.apply[org.make.core.operation.StatusSearchFilter](org.make.core.operation.StatusSearchFilter.apply(org.make.core.operation.OperationOfQuestion.Status.Open, org.make.core.operation.OperationOfQuestion.Status.Finished))
|
|
258
|
41354
|
10611
-
10699
|
Apply
|
org.make.core.operation.StatusSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.operation.StatusSearchFilter.apply(org.make.core.operation.OperationOfQuestion.Status.Open, org.make.core.operation.OperationOfQuestion.Status.Finished)
|
|
264
|
45558
|
10834
-
10834
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.views.viewapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
264
|
41146
|
10757
-
11833
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.operationOfQuestionService.count(query).flatMap[Iterable[org.make.api.views.AvailableCountry]](((count: Long) => DefaultViewApiComponent.this.operationOfQuestionService.search({
<artifact> val x$13: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(count.toInt));
<artifact> val x$14: Option[org.make.core.operation.OperationOfQuestionSearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$1;
<artifact> val x$15: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$3;
<artifact> val x$16: Option[org.make.core.operation.indexed.OperationOfQuestionElasticsearchFieldName] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$4;
<artifact> val x$17: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$5;
<artifact> val x$18: Option[org.make.core.operation.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$6;
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
}).map[Iterable[org.make.api.views.AvailableCountry]](((x$9: org.make.core.operation.indexed.OperationOfQuestionSearchResult) => x$9.results.flatMap[(String, Boolean)](((ooq: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))))).foldLeft[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry]](scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry])(((x0$1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], x1$1: (String, Boolean)) => scala.Tuple2.apply[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean)](x0$1, x1$1) match {
case (_1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], _2: (String, Boolean)): (scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean))((map @ _), (_1: String, _2: Boolean): (String, Boolean)((country @ _), (open @ _))) => map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
})).values))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
267
|
34074
|
10934
-
10989
|
Apply
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy
|
|
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
|
|
267
|
39218
|
10958
-
10987
|
Apply
|
org.make.core.technical.Pagination.Limit.apply
|
|
org.make.core.technical.Pagination.Limit.apply(count.toInt)
|
|
267
|
41350
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$6
|
|
query.copy$default$6
|
|
267
|
48455
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$1
|
|
query.copy$default$1
|
|
267
|
40856
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$3
|
|
query.copy$default$3
|
|
267
|
45766
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$5
|
|
query.copy$default$5
|
|
267
|
35350
|
10953
-
10988
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(count.toInt))
|
|
267
|
47354
|
10975
-
10986
|
Select
|
scala.Long.toInt
|
|
count.toInt
|
|
267
|
32688
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$4
|
|
query.copy$default$4
|
|
268
|
32486
|
10879
-
11817
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultViewApiComponent.this.operationOfQuestionService.search({
<artifact> val x$13: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(count.toInt));
<artifact> val x$14: Option[org.make.core.operation.OperationOfQuestionSearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$1;
<artifact> val x$15: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$3;
<artifact> val x$16: Option[org.make.core.operation.indexed.OperationOfQuestionElasticsearchFieldName] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$4;
<artifact> val x$17: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$5;
<artifact> val x$18: Option[org.make.core.operation.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$6;
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
}).map[Iterable[org.make.api.views.AvailableCountry]](((x$9: org.make.core.operation.indexed.OperationOfQuestionSearchResult) => x$9.results.flatMap[(String, Boolean)](((ooq: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))))).foldLeft[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry]](scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry])(((x0$1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], x1$1: (String, Boolean)) => scala.Tuple2.apply[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean)](x0$1, x1$1) match {
case (_1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], _2: (String, Boolean)): (scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean))((map @ _), (_1: String, _2: Boolean): (String, Boolean)((country @ _), (open @ _))) => map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
})).values))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
268
|
40813
|
11015
-
11015
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
273
|
46834
|
11193
-
11200
|
Select
|
org.make.core.reference.Country.value
|
|
x$10.value
|
|
275
|
35094
|
11296
-
11341
|
Apply
|
java.lang.Object.==
|
|
ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open)
|
|
275
|
39256
|
11310
-
11341
|
Select
|
org.make.core.operation.OperationOfQuestion.Status.Open
|
|
org.make.core.operation.OperationOfQuestion.Status.Open
|
|
275
|
40610
|
11144
-
11343
|
Apply
|
scala.collection.StrictOptimizedIterableOps.zip
|
|
ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open)))
|
|
275
|
47898
|
11275
-
11342
|
Apply
|
scala.collection.immutable.LazyList.continually
|
|
scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))
|
|
277
|
32447
|
11404
-
11439
|
TypeApply
|
scala.collection.immutable.Map.empty
|
|
scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry]
|
|
279
|
30838
|
11528
-
11737
|
Apply
|
scala.collection.immutable.MapOps.updatedWith
|
|
map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
|
|
281
|
39015
|
11628
-
11707
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))
|
|
281
|
33500
|
11659
-
11705
|
Apply
|
scala.Boolean.||
|
|
open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))
|
|
281
|
46871
|
11633
-
11706
|
Apply
|
org.make.api.views.AvailableCountry.apply
|
|
AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations))))
|
|
281
|
45803
|
11683
-
11704
|
Select
|
org.make.api.views.AvailableCountry.activeConsultations
|
|
x$11.activeConsultations
|
|
281
|
41106
|
11667
-
11705
|
Apply
|
scala.Option.exists
|
|
existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations))
|
|
284
|
47642
|
11039
-
11795
|
Select
|
scala.collection.MapOps.values
|
|
x$9.results.flatMap[(String, Boolean)](((ooq: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))))).foldLeft[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry]](scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry])(((x0$1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], x1$1: (String, Boolean)) => scala.Tuple2.apply[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean)](x0$1, x1$1) match {
case (_1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], _2: (String, Boolean)): (scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean))((map @ _), (_1: String, _2: Boolean): (String, Boolean)((country @ _), (open @ _))) => map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
})).values
|
|
287
|
33541
|
10757
-
11860
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.views.viewapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.operationOfQuestionService.count(query).flatMap[Iterable[org.make.api.views.AvailableCountry]](((count: Long) => DefaultViewApiComponent.this.operationOfQuestionService.search({
<artifact> val x$13: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(count.toInt));
<artifact> val x$14: Option[org.make.core.operation.OperationOfQuestionSearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$1;
<artifact> val x$15: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$3;
<artifact> val x$16: Option[org.make.core.operation.indexed.OperationOfQuestionElasticsearchFieldName] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$4;
<artifact> val x$17: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$5;
<artifact> val x$18: Option[org.make.core.operation.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$6;
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
}).map[Iterable[org.make.api.views.AvailableCountry]](((x$9: org.make.core.operation.indexed.OperationOfQuestionSearchResult) => x$9.results.flatMap[(String, Boolean)](((ooq: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))))).foldLeft[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry]](scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry])(((x0$1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], x1$1: (String, Boolean)) => scala.Tuple2.apply[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean)](x0$1, x1$1) match {
case (_1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], _2: (String, Boolean)): (scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean))((map @ _), (_1: String, _2: Boolean): (String, Boolean)((country @ _), (open @ _))) => map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
})).values))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective
|
|
287
|
47342
|
11849
-
11849
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[Iterable[org.make.api.views.AvailableCountry]]
|
|
288
|
42197
|
11891
-
11892
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[Iterable[org.make.api.views.AvailableCountry]](x$12)(marshalling.this.Marshaller.liftMarshaller[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.marshaller[Iterable[org.make.api.views.AvailableCountry]](circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]), DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]])))
|
|
288
|
45759
|
11891
-
11891
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.marshaller[Iterable[org.make.api.views.AvailableCountry]](circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]), DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]]))
|
|
288
|
32950
|
11891
-
11891
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultViewApiComponent.this.marshaller[Iterable[org.make.api.views.AvailableCountry]](circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]), DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]])
|
|
288
|
47382
|
10757
-
11894
|
Apply
|
scala.Function1.apply
|
org.make.api.views.viewapitest
|
server.this.Directive.addDirectiveApply[(Iterable[org.make.api.views.AvailableCountry],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.operationOfQuestionService.count(query).flatMap[Iterable[org.make.api.views.AvailableCountry]](((count: Long) => DefaultViewApiComponent.this.operationOfQuestionService.search({
<artifact> val x$13: Some[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.technical.Pagination.Limit](org.make.core.technical.Pagination.Limit.apply(count.toInt));
<artifact> val x$14: Option[org.make.core.operation.OperationOfQuestionSearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$1;
<artifact> val x$15: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$3;
<artifact> val x$16: Option[org.make.core.operation.indexed.OperationOfQuestionElasticsearchFieldName] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$4;
<artifact> val x$17: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$5;
<artifact> val x$18: Option[org.make.core.operation.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = query.copy$default$6;
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
}).map[Iterable[org.make.api.views.AvailableCountry]](((x$9: org.make.core.operation.indexed.OperationOfQuestionSearchResult) => x$9.results.flatMap[(String, Boolean)](((ooq: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ooq.countries.map[String](((x$10: org.make.core.reference.Country) => x$10.value)).toList.zip[Boolean](scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))))).foldLeft[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry]](scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry])(((x0$1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], x1$1: (String, Boolean)) => scala.Tuple2.apply[scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean)](x0$1, x1$1) match {
case (_1: scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], _2: (String, Boolean)): (scala.collection.immutable.Map[String,org.make.api.views.AvailableCountry], (String, Boolean))((map @ _), (_1: String, _2: Boolean): (String, Boolean)((country @ _), (open @ _))) => map.updatedWith[org.make.api.views.AvailableCountry](country)(((existing: Option[org.make.api.views.AvailableCountry]) => scala.Some.apply[org.make.api.views.AvailableCountry](AvailableCountry.apply(country, open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))))))
})).values))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Iterable[org.make.api.views.AvailableCountry]]).apply(((x$12: Iterable[org.make.api.views.AvailableCountry]) => DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Iterable[org.make.api.views.AvailableCountry]](x$12)(marshalling.this.Marshaller.liftMarshaller[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.marshaller[Iterable[org.make.api.views.AvailableCountry]](circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]), DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]]))))))
|
|
288
|
40851
|
11891
-
11891
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]]
|
|
288
|
30596
|
11891
-
11891
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]
|
|
288
|
47681
|
11891
-
11891
|
ApplyToImplicitArgs
|
io.circe.MidPriorityEncoders.encodeIterable
|
|
circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]])
|
|
288
|
39050
|
11891
-
11891
|
Select
|
org.make.api.views.AvailableCountry.encoder
|
|
views.this.AvailableCountry.encoder
|
|
288
|
33286
|
11882
-
11893
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultViewApi.this.complete(marshalling.this.ToResponseMarshallable.apply[Iterable[org.make.api.views.AvailableCountry]](x$12)(marshalling.this.Marshaller.liftMarshaller[Iterable[org.make.api.views.AvailableCountry]](DefaultViewApiComponent.this.marshaller[Iterable[org.make.api.views.AvailableCountry]](circe.this.Encoder.encodeIterable[org.make.api.views.AvailableCountry, Iterable](views.this.AvailableCountry.encoder, scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]), DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]]))))
|