@ste @cllns
There are other reasons for moving validations to the operation layer: because parameter handling is a business concern, not a framework concern.
I've heard @timriley express the view pushing validation to the farthest boundary is a way to protect your code from invalid values. @katafrakt said the same thing just recently. I would prefer to emphasize the business logic layer and keep actions boring. 😉
I hope it's okay if I follow along.
=> More informations about this toot | View the thread | More toots from dcrossney@ruby.social
=> View ste@ruby.social profile | View cllns@ruby.social profile | View timriley@ruby.social profile | View katafrakt@ruby.social profile
text/gemini
This content has been proxied by September (3851b).