Mutations
This commit is contained in:
1 parent
3b054a640b
commit
a6d844bd01
5 files changed
+104
-6
No files matched your search
@@ -4,6 +4,7 @@ use System\Classes\PluginBase;
|
||||
|
||||
use App;
|
||||
use Config;
|
||||
use Illuminate\Database\DatabaseManager;
|
||||
use Illuminate\Foundation\AliasLoader;
|
||||
use GermanAirlinesVa\Graphql\Classes\GraphqlServiceProvider;
|
||||
use Nuwave\Lighthouse\Subscriptions\SubscriptionServiceProvider;
|
||||
@@ -36,6 +37,9 @@ class Plugin extends PluginBase
|
||||
$this->bootPackages();
|
||||
App::register(GraphqlServiceProvider::class);
|
||||
App::register(SubscriptionServiceProvider::class);
|
||||
$this->app->singleton(DatabaseManager::class, function ($app) {
|
||||
return $app->make('db');
|
||||
});
|
||||
}
|
||||
|
||||
public function bootPackages()
|
||||
|
||||
Reference in new issue
Block a user