Organising Absithe GraphQL and Ecto errors
https://medium.com/@imanhodjaev/organising-absithe-and-ecto-errors-2a2257ccdff6
I’ve been using Absinthe in my own project for some time now and wanted to share my thoughts on the topic of organising and working with errors in general and particularly with Ecto.Changeset errors. In my opinion this topic is poorly covered though there are some guidance in the official documentation and numerous other places which I tried to unify them. Also as it is quite hard to figure out the exact common shape of possible API errors at the beginning and it comes over time once you have something in place.
Read next Free ebook about Elixir