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

Event Handlers Not Triggered for Entities Without Associated Read Models in Local Debugging Server #1463

Open
javiertoledo opened this issue Oct 9, 2023 · 0 comments
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.

Comments

@javiertoledo
Copy link
Member

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

  • Booster version: 1.19.0
  • Node/npm version: node 16
  • OS: OSX

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.

@javiertoledo javiertoledo added bug Something isn't working size: M Tasks where you have to change some files. provider:local dev-experience Developer Experience difficulty: medium priority: low labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
Status: No status
Development

No branches or pull requests

1 participant