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

Make event data construction configurable #17

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

benfoster
Copy link
Owner

This PR makes it possible to override the default behaviour of how the repository creates instances of EventData. Use cases include:

  • Changing how the event_type field is obtained (defaults to @event.GetType().Name)
  • Obtaining the ID or metadata from the event itself

@benfoster benfoster merged commit 4e88afb into main Jun 30, 2023
1 check passed
@benfoster benfoster deleted the feat/make-event-data-construction-configurable branch June 30, 2023 17:42
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

Successfully merging this pull request may close these issues.

1 participant