Skip to content

Search backend: accept only `query.Basic` for commit search

Warren Gifford requested to merge cc/query-basic-commi into main

Created by: camdencheek

The construction of a commit search query previously relied on query.Q. The was not exercised until I applied to and/or optimizations to commit search. However, it still only effectively uses the structure of query.Basic, so this just makes that restriction an explicit part of the signature.

Test plan

When updated with the new signature, all existing tests pass.

Merge request reports

Loading