What next?
You can find instructions for setting up the library at its Github page. For tts_ecto_example
, note that a server is started in test_helper.exs
and the mix.exs
file instructs the compiler to compile.ex
files within thetest
subdirectory. (Example files end in.ex.)
The library is built to be "pluggable", using variants. However, the first two variants come from a Phoenix/Ecto app of mine. Because of that, it makes more sense to explain the Ecto Classic variant (the simpler of the two) first, rather than start with an explanation that applies to any possible variant.
I haven't started extracting the second variant, the Ecto View Model variant, from the app's original version of this library.
Last updated
Was this helpful?