You think it’s not something I’m doing wrong but rather a behaviour of the ES itself that needs changing?
Can I clarify how this is supposed to work then, it is my understanding from the above discussion that
Using linkTo with something-X will create a stream called something-X for each X that exists
That stream will contain a link to the original event for every event that is passed in with linkTo
Because I named the stream something-X, the built in streams will create a stream called $ce-something
That $ce-something contains a link to each of the streams that was created above (/stream/something-x/)
When doing fromCategory and foreachStream what I am saying is
- “In this category, for each stream linked to by that category, run the following projection”
In this case, that would mean running the projection above over the stream
at least that’s the desired behaviour, but for some reason this isn’t the case and soon it will be and my projection will work?