Skip to content

增强 ValueMapper 类型 #357

@tint

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureCategorizes as related to a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions