Deferred provider not merging config

Posted 3 months ago by artcore

I have a package added to the service providers as deferred and it doesn't merge the config.

protected $defer = true;
 $this->mergeConfigFrom(
        __DIR__.'/path/to/config/something.php', 'something'
    );

It works fine if not deferred. I prefer not having it loaded by default. Am I missing something?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.