Skip to content

增强 ValueMapper 类型 #357

Open

Description

@tint

Describe the feature

我希望通过 ValueMapper 来增强配置值,比如:

  • 环境变量,${variable}、${variable||default}、${variable??default};
  • 值引用:%{key}、%{section.key}、%{key||default}、%{key??default};
  • 其它

Describe the solution you'd like

我需要再 ValueMapper 中获取 ini.Key、ini.Section 和 ini.File 实例

Describe alternatives you've considered

增强 ValueMapper 的能力

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    feature
    on Oct 5, 2024
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

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions