Skip to content
New issue

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

在指定多个controller目录的自定义目录场景下,无法跳过中间目录 #84

Open
wangzhenxi opened this issue Apr 29, 2022 · 0 comments

Comments

@wangzhenxi
Copy link

wangzhenxi commented Apr 29, 2022

https://github.com/whxaxes/egg-ts-helper/blob/4cfed82e3ff89fed2b1ffb61dfa06d425721ce07/src/generators/class.ts#L42

比如项目以feature-base的方式建立了多个模块:

  • modules
    • session
      • controller
        • main.js
    • student
      • controller
        • main.js

期望可以生成 app.controller.session.main 和 app.controller.student.main 的声明,但由于目录结构是自定义的,实际只能生成 app.controller.session.controller.main 和 app.controller.student.controller.main

image

希望通过caseStyle的方式可以生成期望的声明

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant