foal
foal copied to clipboard
Pass the request as second argument of controller methods
Issue
In controllers, it is tedious to always have to type the body
, query
and params
with some as Foobar
statements.
Solution and steps
- [x] Pass the request as second argument to controller methods.
Checklist
- [x] Add/update/check docs (code comments and docs/ folder).
- [x] Add/update/check tests.
- [x] Update/check the cli generators.