You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After discovering the issue of our reactors and projectors not being discovered successfully, I found the following:
We have recently restructured some code into old and new src folders. Our path mappings look as follows:
And our event-sourcing.php looks like this:
The reactors and projectors are located in src-old, but could not be discovered because it starts with src. Since the src folder was before the src-old folder, this is the folder it assumed I wanted it to discover, which is the incorrect folder. Changing the order of the mappings to have src-old come first does the trick, but I am interested if this is intended behaviour, or a bug?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After discovering the issue of our reactors and projectors not being discovered successfully, I found the following:
We have recently restructured some code into old and new src folders. Our path mappings look as follows:
And our event-sourcing.php looks like this:
The reactors and projectors are located in src-old, but could not be discovered because it starts with src. Since the src folder was before the src-old folder, this is the folder it assumed I wanted it to discover, which is the incorrect folder. Changing the order of the mappings to have src-old come first does the trick, but I am interested if this is intended behaviour, or a bug?
Beta Was this translation helpful? Give feedback.
All reactions