Skip to content

web: use Apollo Client for `viewerSettings` query

Administrator requested to merge vb/apollo-client-integration-viewer-settings 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 observable.
  • Applied fromObservableQuery helper ServersideSettingsBackend.load().
  • Use Apollo Client to fetch ViewerSettings

Closes #24876 (closed)

Merge request reports

Loading