Skip to content

[建议]自定义规则能不能进行传参 #28

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

Open
kratospan opened this issue Nov 21, 2023 · 0 comments
Open

[建议]自定义规则能不能进行传参 #28

kratospan opened this issue Nov 21, 2023 · 0 comments

Comments

@kratospan
Copy link

因为看到 有很多取反 或者说合并之类需求

就在想假如 自定义规则能够 传入变量的话 那么扩展性就大大提高了.

而且 我试了一下 自定义规则的方法 是会传入 rules 和 value.

但是rules 里面好像没有什么有用的东西,一个就是name 一个就是message

我到现在都没看过message里面是有值的.

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