We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
之前再控制上,一般设置 [ApiExplorerSettings(GroupName = "Institution")] 对接口进行分组,但是minimal api 需要再构造函数里面写,太麻烦了,希望支持在继承的ServiceBase 的类上获取 [ApiExplorerSettings(GroupName = "Institution")] 自动设置minimalapi 的分组,毕竟现在构造函数注入 不用显示写构造函数。
例如下面这样: public class VacationService(IRepository _vacationRepository, IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer) : BaseService, IVacationService
如果为了设置分组,构造函数恢复成之前的写法,太臃肿了
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
之前再控制上,一般设置 [ApiExplorerSettings(GroupName = "Institution")] 对接口进行分组,但是minimal api 需要再构造函数里面写,太麻烦了,希望支持在继承的ServiceBase 的类上获取 [ApiExplorerSettings(GroupName = "Institution")] 自动设置minimalapi 的分组,毕竟现在构造函数注入 不用显示写构造函数。
例如下面这样:
public class VacationService(IRepository _vacationRepository, IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer) : BaseService, IVacationService
.NET version
No response
MASA Framework version
No response
The text was updated successfully, but these errors were encountered: