Best Practices: Code Interfaces vs Resource Actions
Hi, everyone! I have one question: Should we use domain code interfaces from within resource actions? what are the best practices regarding when to use each of them?
I'm using code interfaces from Phoenix, but would like to know whether I should be using them from within resource actions too. I think it looks cleaner, but it feels weird to call the "outer" layer from an "inner" layer
I'm using code interfaces from Phoenix, but would like to know whether I should be using them from within resource actions too. I think it looks cleaner, but it feels weird to call the "outer" layer from an "inner" layer
