sentinel-group/sentinel-rust

Attribute macros overwrite all of previous rules

Forsworns opened this issue · 1 comments

The method load_rules and load_rule_of_res in rule managers will replace all of the rules directly. Maybe a new method is necessary to append rules to the existing map. At the same time, the method should avoid appending duplicated rules.

Maybe the inner implementation of the rule manager should be changed accordingly.

See 3138460, it is an experimental implement on flow module, may be extended to other slot modules