Stratal API Reference
    Preparing search index...

    Class ConfigService<T>

    ConfigService with dot notation support for get/set operations

    Supports runtime overrides via set() - useful for request-specific config overrides. Use reset() to restore original values.

    // Get with dot notation
    const url = config.get('database.url')
    const fromName = config.get('email.from.name')

    // Set at runtime (e.g., in middleware for runtime override)
    config.set('email.from.name', 'Custom Name')

    // Reset to original
    config.reset('email.from.name') // reset specific path
    config.reset() // reset entire config

    Type Parameters

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods