SR063
Severity: error
Summary: controller before/after list is empty
What this means
An endpoint’s controller.before or controller.after is declared as an empty list []. If you declare a controller hook phase, it must contain at least one hook name. An empty list has no effect and is likely a copy-paste mistake.
Example that triggers this
endpoints:
create:
auth: public
controller: { before: [] }
How to fix it
Remove the before: or after: key entirely, or list at least one hook name:
controller: { before: [validate_currency, validate_org] }