Hi,

In https://metacpan.org/pod/Dancer2::Config  I see plugins should
have their configuration in

plugins:
   plugin-name:
       key: value

but I have not found any suggestion where should one put the
application-specific configuration options.

Is there a recommended, or required hierarchy for those configuration
values?
Maybe:

applications:
   "App::Name":
      key: "value"




Oh an I think it would be also good, to add an example to that pod, showing
how to fetch configuration values:

config->{appdir}
config->{plugins}{DBIC}{default}{dsn};

and

config->{applications}{'App::Name'}{key}

regards
    Gabor
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to