Command-Query separation in Elixir.
If available in Hex, the package can be installed
by adding cqs
to your list of dependencies in mix.exs
:
def deps do
[
{:cqs, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/cqs.
To setup the database, execute:
mix ecto.create
To run all migrations, execute:
mix ecto.migrate
To execute the entire test suite, run:
mix test
The project is described as a blogpost. You can find it here: https://blog.lelonek.me/command-query-separation-in-elixir-ac742e60fc7d