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

如何做到先初始化完全局规则,后根据业务场景动态对请求data进行校验? #64

Open
soh0ro0t opened this issue Apr 20, 2023 · 1 comment

Comments

@soh0ro0t
Copy link

当前流程:
1.初始化engine
2.初始化datacontext
3.用datacontext加载规则
4.使用规则对数据进行判定

典型需求是先对规则完成初始化,全局加载,然后不同代码场景动态的地对请求data进行规则判定,即是实现:
1->4
2->3
2->3

不然每次检查数据,都需要完成2,3,4,规则不停重建,有什么方式能实现呢?

@littetimo567
Copy link

#63

希望能对你有帮助

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