Skip to content

Commit

Permalink
Restore the warning, but make it more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslevesque authored and mysticmind committed Sep 25, 2024
1 parent 62f8a8b commit 84b6300
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/events/projections/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ There is also a matching asynchronous `AggregateStreamAsync()` mechanism as well

## Inline Projections

_First off, be aware that some event metadata (`IEvent.Version` and `IEvent.Sequence`) is not available during the execution of inline projections when using the ["Quick" append mode](/events/appending). If you need to use this metadata in your projections, please use asynchronous or live projections, or use the "Rich" append mode._

If you would prefer that the projected aggregate document be updated _inline_ with the events being appended, you simply need to register the aggregation type in the `StoreOptions` upfront when you build up your document store like this:

<!-- snippet: sample_registering-quest-party -->
Expand Down
2 changes: 2 additions & 0 deletions documentation/documentation/events/projections/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ There is also a matching asynchronous `AggregateStreamAsync()` mechanism as well

## Inline Projections

_First off, be aware that some event metadata (`IEvent.Version` and `IEvent.Sequence`) is not available during the execution of inline projections when using the ["Quick" append mode](/events/appending). If you need to use this metadata in your projections, please use asynchronous or live projections, or use the "Rich" append mode._

If you would prefer that the projected aggregate document be updated _inline_ with the events being appended, you simply need to register the aggregation type in the `StoreOptions` upfront when you build up your document store like this:

<[sample:registering-quest-party]>
Expand Down

0 comments on commit 84b6300

Please sign in to comment.