Load multiple rules in a single attribute macro #11
Labels
help wanted
Extra attention is needed
kind/feature
Category issues or prs related to feature request.
Though attribute macro is supplied for easy sentinel construction, it can only wrap a single rule on a single "resource" (method/function). It would be much convenient if multiple rules can be defined in a single attribute macro.
Both parsing and design of this attribute macro bother me. I'm considering the following two potential formats, which are compatible with current attributes:
Either of them should load three rules (
vec![flow::Rule, flow::Rule, system::Rule
) on the methodtask()
.The text was updated successfully, but these errors were encountered: