Skip to content

web: use Apollo Client for two slowest GraphQL queries

Administrator requested to merge vb/apollo-client-integration into main

Created by: valerybugakov

Context

Preparation to land https://github.com/sourcegraph/sourcegraph/pull/23351, where Apollo Client persistent cache will be enabled.

Changes

  • Added helpers to convert Apollo Client ObservableQuery to rxjs observables.
  • Applied fromObservableQuery helper ServersideSettingsBackend.load().
  • Use Apollo Client to fetch ExtensionsRegistry and ViewerSettings

Merge request reports

Loading