-
Notifications
You must be signed in to change notification settings - Fork 24
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
Docs have no mention of the type registry #5
Comments
@andrewwebber 👍 on this, also its confusing regarding |
Update: Made it work for now by passing Another thing I noticed is that registered events dont get match when retrieving handlers, had to do something like: eventValue := reflect.New(eventType)
e := eventValue.Interface()
...
vevent := cqrs.VersionedEvent{
ID: event.ID,
...
Event: reflect.Indirect(reflect.ValueOf(e)).Interface(),
} If I just store |
The README.md is missing how the type registry integrates, the docs no longer match the examples.
The text was updated successfully, but these errors were encountered: