AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Ecto-Short Is a Great Example of a Reducable Generator
I'm a big fan of creating error systems in your framework and allowing allowing your system to essentially have errors that you expect so one of the ways that we do that is by having a specific struct that is responsible for an error. I actually open source this as well there's a library that I have called error message which is just literally a wrapper for errors. By wrapping errors it allows you to have predictable errors in your system and so you can have predictable responses and pattern match off like a code for example. The ability to open up a parameter and have it automatically just work is amazing, especially once you start moving into like absent their GraphQL or even your controllers with ectoshorts.