Skip to content

graphqlbackend: fix typed-nil error

Warren Gifford requested to merge core/fix-typed-nil into master

Created by: mrnugget

This fixes #4671 (closed)

Passing in nil into zoektIndexedRepos caused the infamous "typed nil" error in Go to pop up, which ultimately caused ListAll() to be called in zoektIndexedRepos, which caused a nil-dereference panic.

Test plan: go test

Merge request reports

Loading