eidetic v0.0.2 Eidetic

Eidetic allows you, with a single line of code, to event sourced your models.

Setting up your model

defmodule Example.Person do
  use Eidetic.Model, fields: [forename: nil, surname: nil]
end

Extending your model

Now all you have to do is add defp apply_event/2 to your model

Examples

Please checkout the GitHub Examples directory