BuildContext should be dereferenced after the SearchFactory has been initialized

Description

Currently most ServiceManager clients are forced to keep a field referencing to the BuildContext.
We should allow to access the ServiceManager directly so that the buildContext references can be removed, as this holds on many temporary objects which should not be kept around at runtime.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Major