Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Recipe] Event type name provider #21

Open
slashdotdash opened this issue Mar 25, 2021 · 2 comments
Open

[Recipe] Event type name provider #21

slashdotdash opened this issue Mar 25, 2021 · 2 comments

Comments

@slashdotdash
Copy link
Member

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

@philipgiuliani
Copy link

Hi @slashdotdash, is this actually possible. If yes... How? 😄

@yordis
Copy link

yordis commented Feb 13, 2022

This could be closed now, https://hexdocs.pm/commanded/Commanded.EventStore.TypeProvider.html

config :commanded, type_provider: MyTypeProvider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants