by cypriss · 13y ago · 0 comments
What I think you're getting at is: can you just replace controllers with mutations? That's an interesting concept that I've thought a bit about. In practice, we have found controllers to still be useful in collecting some information and doing 'wiring'. They're also nice because your SOA shouldn't really be concerned with the presentation of the response.
Finally, where do you put your mailings? You're right that controllers > models, but I'd also say that mutations > controllers > models.
No comments yet.