Event Handlers Not Triggered for Entities Without Associated Read Models in Local Debugging Server #1463
Labels
bug
Something isn't working
dev-experience
Developer Experience
difficulty: medium
priority: low
provider:local
size: M
Tasks where you have to change some files.
Bug Report
Current Behavior
When an entity is not linked to a read model, it's observed that the events associated with such entity do not trigger the event handlers on the local debugging server. This hampers the local development and testing processes as the event handlers do not respond as anticipated.
Expected behavior
Event handlers should be triggered by the associated events of an entity, regardless of whether the entity is connected to a read model or not, ensuring consistent behavior across all provider implementations.
Possible Solution
Implement unit/integration tests that reproduce the issue and check that the issue is not present in other implementations apart of the local provider. Review the event handling mechanism on the local debugging server, especially focusing on the linkage between entities, read models, and event triggers.
Additional information
Environment
Comments
This issue has been reported by a user facing difficulties in local debugging due to event handlers not being triggered as expected when an entity is not associated with a read model. Addressing this issue could significantly improve the local development experience by ensuring reliable event handling.
The text was updated successfully, but these errors were encountered: