In the docs, it says that projections will still receive a streams metadata events and that I should ignore event types of $metadata, but then it doesn’t say how to that. How do I ignore event types in evenstore (javascript) projections?
What we’re actually trying to solve is: we deleted a stream and a projection faulted with some errors saying that certain events were already processed. I’m assuming what’s happening is that tombstone events were created and are now being sent through the projection, and the projection is looking at the index or event number or something and since they’ve already been processed, it’s faulting. If that is true, then I suppose I just need to ignore those types but I’m unclear as to how.