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
This applies to all streams with link events not just the system generated ones, that's just the simplest reproduction I thought of. Expected behavior
I would expect the link events to not appear when $includeLinks is false, and the results to be empty.
Actual behavior
They appear and don't register as link events.
Config/Logs/Screenshots
True
False
EventStore details
EventStore server version: 22.10.2
Operating system: Ubuntu
EventStore client version (if applicable): N/A
Additional context
Assuming you inserted all the ANY_EVENT_YOU_WANT events into STREAM_A, the state for the example reproduction basically looks as if you ran it against STREAM_A instead of $et-ANY_EVENT_YOU_WANT, except that the link metadata is populated. In other words, it sort of looks like having resolveLinkTos enabled via a client, (the eventType field is ANY_EVENT_YOU_WANT instead of $> for example) which might be causing the unexpected behavior? If that's the case, the resolveLinkTos kind of behavior for link events in projections is a feature I need, so if a fix for this changes that please have some way to preserve the current format of link events in projections.
The text was updated successfully, but these errors were encountered:
I don't at this moment have any need to access the link event, I only noticed that the $includeLinks option doesn't actually do what it says it should in the documentation and made a bug report for that. I don't know if the behavior was different at any time before
Describe the bug
When using projections, setting $includeLinks to false has no effect and functions the same as $includeLinks: true.
To Reproduce
Steps to reproduce the behavior:
This applies to all streams with link events not just the system generated ones, that's just the simplest reproduction I thought of.
Expected behavior
I would expect the link events to not appear when $includeLinks is false, and the results to be empty.
Actual behavior
They appear and don't register as link events.
Config/Logs/Screenshots
True
False
EventStore details
EventStore server version: 22.10.2
Operating system: Ubuntu
EventStore client version (if applicable): N/A
Additional context
Assuming you inserted all the ANY_EVENT_YOU_WANT events into STREAM_A, the state for the example reproduction basically looks as if you ran it against STREAM_A instead of $et-ANY_EVENT_YOU_WANT, except that the link metadata is populated. In other words, it sort of looks like having resolveLinkTos enabled via a client, (the eventType field is ANY_EVENT_YOU_WANT instead of
$>
for example) which might be causing the unexpected behavior? If that's the case, the resolveLinkTos kind of behavior for link events in projections is a feature I need, so if a fix for this changes that please have some way to preserve the current format of link events in projections.The text was updated successfully, but these errors were encountered: