Skip to content

Multiples paths for settings-resource? #12

Description

@joserick

I see that in spatie/laravel-settings you can configure multiple paths for the settings:

config/settings.php

    'settings' => [
        \user\package1\Settings\SignatureEmailSettings::class,
        \user\package2\Settings\PricesNotificationSettings::class,
    ],

    'auto_discover_settings' => [
        realpath(__DIR__.'/../../package1/src/Settings'),
        realpath(__DIR__.'/../../package2/src/Settings'),
    ],

But in this package (ferdiunal/nova-settings) you can't do that, it only allows you to load a route:

config/nova-settings.php

    'setting_resource_class_path' => realpath(__DIR__.'/../src/NovaSettings'),

It would be nice if it allowed you to load multiple paths like in spatie/laravel-settings to handle multiple settings from different packages.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions