Functional Web Development with Elixir, OTP, and Phoenix (Pragprog)

I have a question about persistence.

In the book, you create (and test) everything around Elixir structs.

When it comes time to persist these things with Ecto, do you just use Ecto.Schema on the your structs? Or do you leave the logic alone and write a parallel storage mechanism?

I think the book is outstanding btw and really extended my understanding.

1 Like