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
I run into an issue if is use the NonTransactionalInMemoryEventStore.
Since the InMemoryProjectionManager expects an instance of the InMemoryEventStore, I got an exception. Same for the InMemoryEventStoreReadModelProjector, InMemoryEventStoreProjector and other classes.
So, is this intended, while the NonTransactional is not usable for projections, or is this a bug?
For the latter one I could provide a small fix by allow also the NonTransactionalInMemoryEventStore in all classes, or add a new Interface for booth EventStores and test only against that interface.
I run into an issue if is use the
NonTransactionalInMemoryEventStore
.Since the
InMemoryProjectionManager
expects an instance of theInMemoryEventStore
, I got an exception. Same for theInMemoryEventStoreReadModelProjector
,InMemoryEventStoreProjector
and other classes.So, is this intended, while the NonTransactional is not usable for projections, or is this a bug?
For the latter one I could provide a small fix by allow also the
NonTransactionalInMemoryEventStore
in all classes, or add a new Interface for boothEventStore
s and test only against that interface.Affected files:
event-store/src/Projection/InMemoryEventStoreProjector.php
Line 139 in 30b5c41
event-store/src/Projection/InMemoryEventStoreQuery.php
Line 84 in 30b5c41
event-store/src/Projection/InMemoryEventStoreReadModelProjector.php
Line 155 in 30b5c41
event-store/src/Projection/InMemoryProjectionManager.php
Line 43 in 30b5c41
The text was updated successfully, but these errors were encountered: