Skip to content

Config file load for custom #167

@zoujiaqing

Description

@zoujiaqing

Config files:

config/application.conf
config/custom.conf

Create config class:

module app.config.CustomConfig;

class CustomConfig
{
    // define some config items
}

Get config object:

// Get config/application.conf
auto appConfig = app().config();

// Get config/custom.conf
auto customConfig = app().config!CustomConfig("custom");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions