Skip to content

BUG - Server Side Filter - Fix types and use context in resolveAggregations #1020

@joneubank

Description

@joneubank

arrangerServer takes a custom getServerSideFilter property so that each request can have filters applied based on server logic. The current type for GetServerSideFilterFn does not include the GQLRequestContext in its function arguments, which is provided the function by both buildSets, and resolveHits. We also need to update resolveAggregations to provide the context to the serverside filter.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions