BlueBrain / BlueBrain/nexus

Refactor listing and aggregation operation to avoid unnecessary complexity

Open
#4,033 0 comments 0 reactions 0 assignees View on GitHub
delta
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

**Motivation**
When performing an aggregation, we currently need to pass on pagination and sort even if they are not used when perfoming the aggregation to Elasticsearch.
A refactoring should help with that.

**Acceptance criteria**
1. The route does not need to pass on default values for pagination and sort when performing an aggregation
2. There is no impact on the API itself

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.