- Define
adapter
in Ecto Repo module.
-
Support Commanded v0.18.
Commanded now uses Jason for JSON serialization of events. Jason has no support for encoding arbitrary structs - explicit implementation of the
Jason.Encoder
protocol is always required.You must update all your domain event modules and scheduled command modules to include
@derive Jason.Encoder
as shown below:defmodule AnEvent do @derive Jason.Encoder defstruct [:field] end
defmodule ScheduledCommand do @derive Jason.Encoder defstruct [:field] end
- Initial release with support for scheduling one-off commands.