-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Right now, if a header landed in the eventstore, you need to keep the code in place, even if you don't use the header anymore. If you remove the Header class currently the serialization process crashes.
Why is this important? There are cases where maybe a 3rd party bundle adds a header to you events and later on you remove the bundle from your dependencies. This will lead to a crash, as the header class could not be found in the header registry. This would rightnow force the user to one of the following solutions:
- Keep the bundle as a dep
- Copy the headers from the bundle and register them
- re-create the eventstore with a translator which removes the headers
I think it would be best to handle these cases more gracefully, as headers are mostly only metadata.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request