Skip to content

web: specify GenericSearchResult for SearchResult component

Administrator requested to merge k/generic-search-result into main

Created by: keegancsmith

We omit the __typename field so that repository and commit search match the interface. This is specified so we can use it in streaming search.

Additionally we remove the HighlightRange interface since GQL.ISearchResultMatch.highlights has the same field names.

Merge request reports

Loading