Skip to content

WIP DONOTREVIEW finish migration (rename File2 -> File in GraphQL API)

Administrator requested to merge finish-file2-migration into master

Created by: sqs

The GraphQL interface File2 was supposed to be renamed to File (as the final step in a migration to a new File interface). This completes that migration.

No API consumers use File2:

  • The docstring for File2 warned not to refer to File2 in GraphQL queries.
  • There are no consumers found in a query.

However, there are API consumers that rely on File. The browser extension search code and the web app search code both use it in union SearchSuggestion. This commit is INCOMPLETE because it does not yet address that usage.

Merge request reports

Loading