Clarify the Rule comment

This commit is contained in:
Theodor S. Midtlien
2026-09-08 18:41:38 +02:00
parent 608b1c747b
commit 718bb1b22e
+2 -2
View File
@@ -13,8 +13,8 @@ type Request struct {
Msg any
}
// Rule is an additional constraint beyond the method's level. Every rule on a
// method must pass.
// Rule is an additional constraint beyond the method's level, for example
// checking permissions on a field of a message. Every rule on a method must pass.
type Rule func(Request) error
// The generated getters the profile RPCs expose.