Is there any way to resolve another service or Setting while registering a dependency in your plugin DependencyRegistrar ?
I want to setup a typed client for one of my services and need to read the auth2 parameters from settings which is saved in Db before.
I tried the followings :
var settings = EngineContext.Current.Resolve<ApiSettings>();
which returns null
and
var ApiSettings = services.BuildServiceProvider().GetRequiredService<ApiSettings>();
which leads to a null reference exception.
Any Idea ?