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

[Egg 兼容] caseStyle 参数支持函数入参 #18

Closed
plusmancn opened this issue Nov 12, 2018 · 3 comments
Closed

[Egg 兼容] caseStyle 参数支持函数入参 #18

plusmancn opened this issue Nov 12, 2018 · 3 comments

Comments

@plusmancn
Copy link
Contributor

plusmancn commented Nov 12, 2018

场景是这样的:
我们内部封装的插件内使用到了 Egg 的 FileLoader,其中 caseStyle 参数传入的是一个 function 用于自定义挂载的节点名。
翻阅 egg-ts-helper 的源码,发现并不支持函数传入。

不知是否有支持的考虑,可以提 PR

@whxaxes
Copy link
Member

whxaxes commented Nov 12, 2018

可以,欢迎 PR

@plusmancn
Copy link
Contributor Author

@whxaxes 已提交

@whxaxes
Copy link
Member

whxaxes commented Nov 12, 2018

1.14.0

@whxaxes whxaxes closed this as completed Nov 12, 2018
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

2 participants