Skip to content

Search backend: remove ephemeral object newArgs

Administrator requested to merge cc/remove-unused-newargs into main

Created by: camdencheek

We only construct newArgs in order to then refer to its fields later. We can just reference the fields directly to avoid building a type where we don't actually use all the fields later.

Also fixes some complaints in my editor.

Test plan

Semantics-preserving, covered by tests.

Merge request reports

Loading