marten icon indicating copy to clipboard operation
marten copied to clipboard

Clarification needed : FetchForWriting usage with MultiStream projection

Open Astenna opened this issue 4 months ago • 1 comments

According to docs and issue 3379 FetchForWriting API is only possible with single stream aggregation projections. Hence, I would expect some kind of exception / error on an attempt to use FetchForWriting<T> where T is an aggregate coming from an inline, multi-stream projection. However, it seems to work correctly without any problems.

Can someone clarify? It's probably either of these two:

  • the FetchForWriting<T> can be used with multistream, inline projections (then docs need clarification/update)
  • the FetchForWriting<T> can NOT be used with multistream (then why is no exception thrown?)

I'm using marten 7.29.0.

Astenna avatar Oct 14 '24 12:10 Astenna