Open slashdotdash opened 3 years ago
How do I use a different event type name provider than the default which uses the Elixir module name?
For example, use account_closed instead of Elixir.MyApp.Account.Events.AccountClosed
account_closed
Elixir.MyApp.Account.Events.AccountClosed
Hi @slashdotdash, is this actually possible. If yes... How? 😄
This could be closed now, https://hexdocs.pm/commanded/Commanded.EventStore.TypeProvider.html
config :commanded, type_provider: MyTypeProvider
How do I use a different event type name provider than the default which uses the Elixir module name?
For example, use
account_closed
instead ofElixir.MyApp.Account.Events.AccountClosed