| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
118
|
48698
|
4760
-
4782
|
Select
|
org.make.api.views.ViewApi.listAvailableCountries
|
org.make.api.views.viewapitest
|
ViewApi.this.listAvailableCountries
|
|
118
|
46303
|
4705
-
4744
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.views.viewapitest
|
ViewApi.this._enhanceRouteWithConcatenation(ViewApi.this.homePageView).~(ViewApi.this.homePageViewWithLanguage)
|
|
118
|
34307
|
4720
-
4744
|
Select
|
org.make.api.views.ViewApi.homePageViewWithLanguage
|
org.make.api.views.viewapitest
|
ViewApi.this.homePageViewWithLanguage
|
|
118
|
40841
|
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
|
35347
|
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
|
41893
|
4705
-
4717
|
Select
|
org.make.api.views.ViewApi.homePageView
|
org.make.api.views.viewapitest
|
ViewApi.this.homePageView
|
|
118
|
42919
|
4747
-
4757
|
Select
|
org.make.api.views.ViewApi.searchView
|
org.make.api.views.viewapitest
|
ViewApi.this.searchView
|
|
143
|
41332
|
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
|
32688
|
5392
-
5399
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.Segment
|
|
143
|
49441
|
5404
-
5417
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply(id)
|
|
144
|
46805
|
5482
-
5496
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(id)
|
|
144
|
39242
|
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
|
34346
|
5470
-
5477
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.Segment
|
|
147
|
47095
|
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])))))))))))
|
|
147
|
34557
|
5558
-
5561
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.get
|
|
148
|
40797
|
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
|
45256
|
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
|
39002
|
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
|
49481
|
5601
-
5608
|
Select
|
org.make.api.views.DefaultViewApiComponent.DefaultViewApi.country
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.country
|
|
148
|
33496
|
5611
-
5619
|
Select
|
org.make.api.views.DefaultViewApiComponent.DefaultViewApi.language
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.language
|
|
148
|
32449
|
5585
-
5585
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
148
|
47904
|
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
|
34590
|
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
|
40882
|
5587
-
5598
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("home-page")
|
|
148
|
34102
|
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
|
47865
|
5577
-
5584
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"views"
|
|
148
|
41372
|
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
|
46839
|
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
|
32487
|
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])))))
|
|
149
|
47311
|
5656
-
5656
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultViewApiComponent.this.makeOperation$default$3
|
|
149
|
41129
|
5670
-
5687
|
Literal
|
<nosymbol>
|
|
"GetHomePageView"
|
|
149
|
34633
|
5669
-
5669
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
149
|
42217
|
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
|
33538
|
5656
-
5656
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultViewApiComponent.this.makeOperation$default$2
|
|
149
|
39036
|
5656
-
5688
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3)
|
|
150
|
47648
|
5708
-
5723
|
Select
|
org.make.api.views.HomeViewServiceComponent.homeViewService
|
|
DefaultViewApiComponent.this.homeViewService
|
|
151
|
45011
|
5708
-
5787
|
Apply
|
org.make.api.views.HomeViewService.getHomePageViewResponse
|
|
qual$1.getHomePageViewResponse(x$1, x$2, x$3)
|
|
151
|
32951
|
5739
-
5739
|
Select
|
org.make.api.views.HomeViewService.getHomePageViewResponse$default$3
|
|
qual$1.getHomePageViewResponse$default$3
|
|
151
|
40834
|
5772
-
5786
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.reference.Language](language)
|
|
152
|
41168
|
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
|
|
152
|
34064
|
5803
-
5803
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]
|
|
153
|
47688
|
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]))
|
|
153
|
47349
|
5845
-
5845
|
Select
|
org.make.api.views.HomePageViewResponse.encoder
|
|
views.this.HomePageViewResponse.encoder
|
|
153
|
45764
|
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
|
40583
|
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
|
35690
|
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
|
38468
|
5845
-
5845
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]
|
|
153
|
32989
|
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]))))
|
|
160
|
38991
|
5933
-
5936
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.get
|
|
160
|
45808
|
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]))))))
})))))))
|
|
161
|
33853
|
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
|
40618
|
5960
-
5960
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
161
|
47131
|
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
|
41664
|
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
|
32772
|
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
|
45517
|
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
|
48209
|
5962
-
5973
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("home-page")
|
|
161
|
33034
|
5976
-
5983
|
Select
|
org.make.api.views.DefaultViewApiComponent.DefaultViewApi.country
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.country
|
|
161
|
31392
|
5952
-
5959
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"views"
|
|
162
|
47643
|
6052
-
6052
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
|
DefaultViewApiComponent.this.languageFromStringUnmarshaller
|
|
162
|
32232
|
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
|
31137
|
6019
-
6053
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
162
|
39026
|
6019
-
6038
|
Literal
|
<nosymbol>
|
|
"preferredLanguage"
|
|
162
|
42172
|
6018
-
6018
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.reference.Language]]
|
|
162
|
40658
|
6052
-
6052
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultViewApiComponent.this.languageFromStringUnmarshaller)
|
|
162
|
40362
|
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
|
45556
|
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)))
|
|
163
|
31176
|
6094
-
6126
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultViewApiComponent.this.makeOperation("GetHomePageView", DefaultViewApiComponent.this.makeOperation$default$2, DefaultViewApiComponent.this.makeOperation$default$3)
|
|
163
|
48697
|
6107
-
6107
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
163
|
33280
|
6108
-
6125
|
Literal
|
<nosymbol>
|
|
"GetHomePageView"
|
|
163
|
43756
|
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
|
47177
|
6094
-
6094
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultViewApiComponent.this.makeOperation$default$2
|
|
163
|
38782
|
6094
-
6094
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultViewApiComponent.this.makeOperation$default$3
|
|
164
|
45307
|
6206
-
6219
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("BE")
|
|
164
|
37190
|
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"))
|
|
164
|
39821
|
6176
-
6189
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("FR")
|
|
164
|
32269
|
6191
-
6204
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("DE")
|
|
165
|
33324
|
6275
-
6302
|
Select
|
scala.Boolean.unary_!
|
|
excludedCountries.apply(country).unary_!
|
|
165
|
47088
|
6304
-
6317
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("BE")
|
|
165
|
38818
|
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"))
|
|
167
|
31706
|
6333
-
6444
|
Apply
|
org.make.api.views.HomeViewService.getHomePageViewResponse
|
|
DefaultViewApiComponent.this.homeViewService.getHomePageViewResponse(country, maybePreferedLanguage, postAdditionalCountry)
|
|
168
|
48734
|
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
|
39861
|
6462
-
6462
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.views.HomePageViewResponse]
|
|
169
|
45343
|
6506
-
6506
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultViewApiComponent.this.marshaller$default$2[org.make.api.views.HomePageViewResponse]
|
|
169
|
37226
|
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
|
34385
|
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
|
32728
|
6506
-
6506
|
Select
|
org.make.api.views.HomePageViewResponse.encoder
|
|
views.this.HomePageViewResponse.encoder
|
|
169
|
47127
|
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
|
31740
|
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
|
39279
|
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
|
41753
|
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]))))))
}))))))))
|
|
177
|
38292
|
6606
-
6609
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.get
|
|
178
|
44816
|
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
|
39315
|
6633
-
6633
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
178
|
46878
|
6635
-
6643
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("search")
|
|
178
|
33112
|
6625
-
6632
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"views"
|
|
178
|
31168
|
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
|
49605
|
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]))))))
})))))))
|
|
179
|
33631
|
6670
-
6670
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
179
|
36864
|
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]))))))
}))))))
|
|
179
|
40404
|
6671
-
6686
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"GetSearchView"
|
|
179
|
45296
|
6657
-
6657
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation$default$3
|
|
179
|
37724
|
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
|
32523
|
6657
-
6657
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation$default$2
|
|
180
|
46916
|
6720
-
6738
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalMakeOAuth2
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.optionalMakeOAuth2
|
|
180
|
44422
|
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]))))))
}))))
|
|
180
|
39074
|
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]]]
|
|
181
|
51383
|
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)))
|
|
181
|
46669
|
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]]
|
|
182
|
44257
|
6821
-
6821
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.views.viewapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
182
|
40151
|
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
|
30919
|
6821
-
6830
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"content"
|
|
183
|
50254
|
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
|
32555
|
6848
-
6863
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"proposalLimit"
|
|
183
|
45334
|
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
|
37480
|
6885
-
6885
|
Select
|
org.make.core.ParameterExtractors.limitFromIntUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.limitFromIntUnmarshaller
|
|
183
|
46678
|
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))
|
|
184
|
32596
|
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
|
38565
|
6904
-
6919
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"questionLimit"
|
|
184
|
30960
|
6904
-
6942
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("questionLimit").as[org.make.core.technical.Pagination.Limit].?
|
|
184
|
40915
|
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
|
44770
|
6941
-
6941
|
Select
|
org.make.core.ParameterExtractors.limitFromIntUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.limitFromIntUnmarshaller
|
|
185
|
51312
|
7001
-
7001
|
Select
|
org.make.core.ParameterExtractors.limitFromIntUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.limitFromIntUnmarshaller
|
|
185
|
45088
|
6960
-
6979
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"organisationLimit"
|
|
185
|
37516
|
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
|
39310
|
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
|
47432
|
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)
|
|
186
|
44804
|
7020
-
7054
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
186
|
30706
|
7020
-
7039
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"preferredLanguage"
|
|
186
|
45844
|
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
|
32515
|
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
|
40657
|
7053
-
7053
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.languageFromStringUnmarshaller
|
|
187
|
39066
|
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)
|
|
187
|
38042
|
7072
-
7081
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"country"
|
|
187
|
51347
|
7072
-
7095
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("country").as[org.make.core.reference.Country].?
|
|
187
|
46164
|
7094
-
7094
|
Select
|
org.make.core.ParameterExtractors.countryFromStringUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.countryFromStringUnmarshaller
|
|
187
|
31473
|
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))
|
|
188
|
32552
|
7137
-
7137
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.languageFromStringUnmarshaller
|
|
188
|
37474
|
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
|
36994
|
7113
-
7138
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._string2NR("language").as[org.make.core.reference.Language].?
|
|
188
|
44566
|
7113
-
7123
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"language"
|
|
188
|
45592
|
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)
|
|
189
|
47825
|
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
|
43309
|
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
|
45375
|
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
|
50892
|
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
|
37805
|
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
|
38890
|
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
|
36781
|
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
|
32346
|
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
|
37059
|
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
|
51127
|
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
|
39356
|
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
|
38898
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
192
|
43474
|
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
|
44353
|
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
|
31254
|
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
|
44048
|
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
|
51094
|
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
|
38850
|
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
|
44870
|
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
|
50047
|
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
|
50588
|
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
|
37265
|
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
|
43512
|
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
|
43838
|
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
|
36986
|
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
|
43796
|
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
|
45384
|
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
|
45626
|
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
|
37303
|
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
|
36953
|
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
|
43272
|
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
|
32810
|
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
|
36749
|
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
|
31775
|
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
|
30495
|
7369
-
7369
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
org.make.api.views.viewapitest
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
193
|
30661
|
7421
-
7470
|
Apply
|
org.make.core.proposal.ContentSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.proposal.ContentSearchFilter.apply(content.toLowerCase())
|
|
193
|
44007
|
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
|
39105
|
7450
-
7469
|
Apply
|
java.lang.String.toLowerCase
|
org.make.api.views.viewapitest
|
content.toLowerCase()
|
|
194
|
37029
|
7553
-
7578
|
Select
|
org.make.core.operation.OperationKind.publicKinds
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationKind.publicKinds
|
|
194
|
45632
|
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
|
32302
|
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)
|
|
195
|
50549
|
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
|
37225
|
7626
-
7651
|
Apply
|
org.make.core.proposal.CountrySearchFilter.apply
|
|
org.make.core.proposal.CountrySearchFilter.apply(country)
|
|
196
|
30700
|
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))))
|
|
196
|
38855
|
7706
-
7746
|
Apply
|
cats.data.NonEmptyList.of
|
|
cats.data.NonEmptyList.of[org.make.core.proposal.LanguageSearchFilter](org.make.core.proposal.LanguageSearchFilter.apply(l))
|
|
196
|
43021
|
7722
-
7745
|
Apply
|
org.make.core.proposal.LanguageSearchFilter.apply
|
|
org.make.core.proposal.LanguageSearchFilter.apply(l)
|
|
200
|
49802
|
7861
-
7900
|
Select
|
org.make.core.RequestContextLanguage.language
|
org.make.api.views.viewapitest
|
requestContext.languageContext.language
|
|
202
|
50116
|
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
|
35438
|
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
|
43301
|
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
|
41507
|
7955
-
7955
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
|
|
202
|
38112
|
7955
-
7955
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4
|
|
203
|
49791
|
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
|
37053
|
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
|
43578
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12
|
|
204
|
34974
|
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
|
45157
|
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
|
30781
|
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
|
49319
|
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
|
51382
|
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
|
36025
|
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
|
43262
|
8041
-
8041
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$8
|
|
205
|
45421
|
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
|
36553
|
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
|
49281
|
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))
|
|
205
|
43790
|
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
|
30998
|
8141
-
8160
|
Apply
|
java.lang.String.toLowerCase
|
org.make.api.views.viewapitest
|
content.toLowerCase()
|
|
206
|
50334
|
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
|
38319
|
8275
-
8300
|
Select
|
org.make.core.operation.OperationKind.publicKinds
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationKind.publicKinds
|
|
206
|
43068
|
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
|
31041
|
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
|
34933
|
8348
-
8383
|
Apply
|
org.make.core.operation.CountrySearchFilter.apply
|
|
org.make.core.operation.CountrySearchFilter.apply(country)
|
|
208
|
44839
|
8432
-
8468
|
Apply
|
org.make.core.operation.LanguageSearchFilter.apply
|
|
org.make.core.operation.LanguageSearchFilter.apply(language)
|
|
208
|
35987
|
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)))
|
|
213
|
50680
|
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
|
43092
|
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
|
37589
|
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
|
41465
|
8611
-
8611
|
Select
|
org.make.core.user.OrganisationSearchQuery.apply$default$4
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchQuery.apply$default$4
|
|
213
|
49575
|
8611
-
8611
|
Select
|
org.make.core.user.OrganisationSearchQuery.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchQuery.apply$default$3
|
|
214
|
36574
|
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
|
44670
|
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)
|
|
215
|
30738
|
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
|
35475
|
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
|
43053
|
8690
-
8690
|
Select
|
org.make.core.user.OrganisationSearchFilters.apply$default$1
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationSearchFilters.apply$default$1
|
|
216
|
31604
|
8792
-
8811
|
Apply
|
java.lang.String.toLowerCase
|
org.make.api.views.viewapitest
|
content.toLowerCase()
|
|
216
|
44633
|
8763
-
8812
|
Apply
|
org.make.core.user.OrganisationNameSearchFilter.apply
|
org.make.api.views.viewapitest
|
org.make.core.user.OrganisationNameSearchFilter.apply(content.toLowerCase())
|
|
216
|
36542
|
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
|
41969
|
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)))
|
|
217
|
49827
|
8859
-
8889
|
Apply
|
org.make.core.user.CountrySearchFilter.apply
|
|
org.make.core.user.CountrySearchFilter.apply(country)
|
|
218
|
50158
|
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
|
38146
|
8938
-
8969
|
Apply
|
org.make.core.user.LanguageSearchFilter.apply
|
|
org.make.core.user.LanguageSearchFilter.apply(language)
|
|
223
|
44626
|
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
|
44129
|
9238
-
9242
|
Select
|
scala.None
|
org.make.api.views.viewapitest
|
scala.None
|
|
225
|
35228
|
9172
-
9185
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$5.user.userId
|
|
225
|
36339
|
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
|
47996
|
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))
|
|
226
|
49612
|
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
|
37343
|
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
|
41223
|
9296
-
9344
|
Apply
|
org.make.api.operation.OperationOfQuestionService.search
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.operationOfQuestionService.search(questionQuery)
|
|
230
|
42843
|
9476
-
9476
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.views.viewapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
230
|
50113
|
9477
-
9539
|
Apply
|
org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult
|
|
org.make.api.organisation.OrganisationsSearchResultResponse.fromOrganisationSearchResult(results)
|
|
230
|
34722
|
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
|
48031
|
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
|
47786
|
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
|
44666
|
9596
-
9596
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[org.make.api.views.SearchViewResponse]
|
|
232
|
34485
|
9596
-
9596
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.views.viewapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
232
|
42293
|
9596
-
9596
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
org.make.api.views.viewapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
234
|
51164
|
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
|
33672
|
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
|
35765
|
9843
-
9858
|
Select
|
org.make.core.operation.indexed.OperationOfQuestionSearchResult.total
|
org.make.api.views.viewapitest
|
questions.total
|
|
238
|
41255
|
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
|
49373
|
9918
-
9968
|
Apply
|
org.make.api.question.SearchQuestionResponse.apply
|
|
org.make.api.question.SearchQuestionResponse.apply(x$6, preferredLanguage)
|
|
243
|
34197
|
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
|
36825
|
10129
-
10129
|
Select
|
org.make.api.views.SearchViewResponse.encoder
|
org.make.api.views.viewapitest
|
views.this.SearchViewResponse.encoder
|
|
243
|
41293
|
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
|
49568
|
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
|
51209
|
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])))
|
|
243
|
43344
|
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
|
35218
|
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]))))))
|
|
252
|
34594
|
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
|
34236
|
10257
-
10260
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.views.viewapitest
|
DefaultViewApi.this.get
|
|
253
|
48289
|
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])
|
|
253
|
42834
|
10286
-
10297
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.views.viewapitest
|
DefaultViewApi.this._segmentStringToPathMatcher("countries")
|
|
253
|
39158
|
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
|
35258
|
10284
-
10284
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.views.viewapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
253
|
50958
|
10276
-
10283
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"views"
|
|
253
|
40762
|
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]))
|
|
254
|
46258
|
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
|
36622
|
10325
-
10349
|
Literal
|
<nosymbol>
|
org.make.api.views.viewapitest
|
"ListAvailableCountries"
|
|
254
|
51000
|
10324
-
10324
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.views.viewapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
254
|
49361
|
10311
-
10311
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation$default$2
|
|
254
|
33379
|
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
|
41794
|
10311
-
10311
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.views.viewapitest
|
DefaultViewApiComponent.this.makeOperation$default$3
|
|
255
|
39981
|
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
|
49913
|
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
|
36613
|
10382
-
10382
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5
|
|
255
|
43381
|
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
|
42106
|
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
|
34803
|
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
|
47566
|
10382
-
10382
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
|
|
256
|
36859
|
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
|
33165
|
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
|
39948
|
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
|
35046
|
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
|
47531
|
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
|
47226
|
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
|
49155
|
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
|
33418
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$1
|
|
256
|
42632
|
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
|
41047
|
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
|
50449
|
10443
-
10443
|
Select
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2
|
|
257
|
35009
|
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
|
47778
|
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
|
42876
|
10552
-
10577
|
Select
|
org.make.core.operation.OperationKind.publicKinds
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationKind.publicKinds
|
|
258
|
49398
|
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)
|
|
258
|
36113
|
10663
-
10698
|
Select
|
org.make.core.operation.OperationOfQuestion.Status.Finished
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestion.Status.Finished
|
|
258
|
39913
|
10630
-
10661
|
Select
|
org.make.core.operation.OperationOfQuestion.Status.Open
|
org.make.api.views.viewapitest
|
org.make.core.operation.OperationOfQuestion.Status.Open
|
|
258
|
41546
|
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))
|
|
264
|
48908
|
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)
|
|
264
|
32692
|
10834
-
10834
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.views.viewapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
267
|
33200
|
10975
-
10986
|
Select
|
scala.Long.toInt
|
|
count.toInt
|
|
267
|
32907
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$5
|
|
query.copy$default$5
|
|
267
|
47267
|
10958
-
10987
|
Apply
|
org.make.core.technical.Pagination.Limit.apply
|
|
org.make.core.technical.Pagination.Limit.apply(count.toInt)
|
|
267
|
43131
|
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
|
41540
|
10934
-
10989
|
Apply
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy
|
|
query.copy(x$14, x$13, x$15, x$16, x$17, x$18)
|
|
267
|
49653
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$6
|
|
query.copy$default$6
|
|
267
|
40505
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$4
|
|
query.copy$default$4
|
|
267
|
48633
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$3
|
|
query.copy$default$3
|
|
267
|
35005
|
10940
-
10940
|
Select
|
org.make.core.operation.OperationOfQuestionSearchQuery.copy$default$1
|
|
query.copy$default$1
|
|
268
|
39694
|
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
|
48111
|
11015
-
11015
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
273
|
33243
|
11193
-
11200
|
Select
|
org.make.core.reference.Country.value
|
|
x$10.value
|
|
275
|
34761
|
11275
-
11342
|
Apply
|
scala.collection.immutable.LazyList.continually
|
|
scala.`package`.LazyList.continually[Boolean](ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open))
|
|
275
|
48072
|
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
|
47019
|
11310
-
11341
|
Select
|
org.make.core.operation.OperationOfQuestion.Status.Open
|
|
org.make.core.operation.OperationOfQuestion.Status.Open
|
|
275
|
43172
|
11296
-
11341
|
Apply
|
java.lang.Object.==
|
|
ooq.status.==(org.make.core.operation.OperationOfQuestion.Status.Open)
|
|
277
|
40542
|
11404
-
11439
|
TypeApply
|
scala.collection.immutable.Map.empty
|
|
scala.Predef.Map.empty[String, org.make.api.views.AvailableCountry]
|
|
279
|
42923
|
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
|
49147
|
11667
-
11705
|
Apply
|
scala.Option.exists
|
|
existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations))
|
|
281
|
41580
|
11659
-
11705
|
Apply
|
scala.Boolean.||
|
|
open.||(existing.exists(((x$11: org.make.api.views.AvailableCountry) => x$11.activeConsultations)))
|
|
281
|
33715
|
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
|
32655
|
11683
-
11704
|
Select
|
org.make.api.views.AvailableCountry.activeConsultations
|
|
x$11.activeConsultations
|
|
281
|
47055
|
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)))))
|
|
284
|
34795
|
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
|
33194
|
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]]
|
|
287
|
41334
|
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
|
|
288
|
47867
|
11891
-
11891
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultViewApiComponent.this.marshaller$default$2[Iterable[org.make.api.views.AvailableCountry]]
|
|
288
|
34837
|
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
|
41374
|
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]]))))
|
|
288
|
34271
|
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
|
38706
|
11891
-
11891
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[Iterable[org.make.api.views.AvailableCountry]]
|
|
288
|
31848
|
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
|
48951
|
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
|
46217
|
11891
-
11891
|
Select
|
org.make.api.views.AvailableCountry.encoder
|
|
views.this.AvailableCountry.encoder
|
|
288
|
39736
|
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]])
|