Skip to content

Search backend: calculate DefaultLimit on demand

Warren Gifford requested to merge cc/on-demand-default-limit into main

Created by: camdencheek

Rather than pre-calculating DefaultLimit and setting it on SearchInputs, it can now be calculated from other values of SearchInputs, so this changes it to a method on the SearchInputs type. This reduces the footprint of the NewSearchImplementer function.

Test plan

Semantics-preserving.

Merge request reports

Loading