Skip to content

DependOnFunction函数中的参数Controller值可去掉后缀Controller方便使用nameof #149

@s641135196

Description

@s641135196

您的功能请求与现有问题有关吗?请描述

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

      [DependOnFunction(nameof(CustomInfoController.Query),Controller = "CustomInfo")]
        public PageData<WorkOrderOutputDto> Query(PageRequest request){
     }

描述您想要的解决方案

A clear and concise description of what you want to happen.

        [DependOnFunction(nameof(CustomInfoController.Query),Controller = nameof(CustomInfoController))]
        public PageData<WorkOrderOutputDto> Query(PageRequest request){
     }

描述你考虑过的替代方案

A clear and concise description of any alternative solutions or features you've considered.
希望Controller 可支持以去掉后面Controller字符,使用nameof会这样方便更新和发现引用项

附加上下文,比如截图

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions