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
The name DeprecatedRawName was chosen in haste; I was seeking to:
a) give a pejorative name to make people think before putting string concats composing a name into their app logic - AggregateId provides a clean way to compose a category name literal with an identifier in code
b) give a strong nudge to use AggregateId as it ensures that the out-of-the-box default separator used by EventStore ("-") gets used which makes $ec- streams etc work
c) provides scope to map AggregateId to something appropriate for any new store
On reflection, while there's nothing wrong with the above opinionated stance, the reality is that plenty existing codebases already compose names in a variety of ways, and will pick a backend and stick with it.
So, for the final v2 release, I'm open to a name change if we can settle on one. Open to any thoughts...
The text was updated successfully, but these errors were encountered:
The name
DeprecatedRawName
was chosen in haste; I was seeking to:a) give a pejorative name to make people think before putting string concats composing a name into their app logic -
AggregateId
provides a clean way to compose a category name literal with an identifier in codeb) give a strong nudge to use
AggregateId
as it ensures that the out-of-the-box default separator used by EventStore ("-"
) gets used which makes$ec-
streams etc workc) provides scope to map
AggregateId
to something appropriate for any new storeOn reflection, while there's nothing wrong with the above opinionated stance, the reality is that plenty existing codebases already compose names in a variety of ways, and will pick a backend and stick with it.
So, for the final v2 release, I'm open to a name change if we can settle on one. Open to any thoughts...
The text was updated successfully, but these errors were encountered: