Clarify the Rule comment

This commit is contained in:
Theodor S. Midtlien
2026-09-16 10:37:59 +02:00
parent a585626950
commit b620173f51
+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.