mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
To make things more explicit and remove the global variable, this is now passed down to where it's needed. It is a bit messy right now, since it's used deep in the serve-handler but that just highlights better where it's actually used IMO. As a next step, I want to get rid of the requirement to indicate server-restart required, so we should be able to drop a bunch of the prop drilling here. Test plan: Still compiles, E2E test works. |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| httpapi_test.go | ||
| httpapi.go | ||
| init.go | ||
| parser.go | ||
| resolver_test.go | ||
| resolver.go | ||