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
To my understanding both are equivalent technically, so I wonder why it's not documented. Is there any good reaso for this or should I add this to the docuementation?
One could argue Create is prefered as new documents are created. Similarly one could argue that Transform is valid, as the event is transformed into a (new) document.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For the
EventProjection
the Create() Method Convention is documented, but not the synonymTransform
.To my understanding both are equivalent technically, so I wonder why it's not documented. Is there any good reaso for this or should I add this to the docuementation?
One could argue
Create
is prefered as new documents are created. Similarly one could argue thatTransform
is valid, as the event is transformed into a (new) document.Then there are blog-posts around, like Event-driven projections in Marten explained that use
Transform
, so it may be confusing to a new user because there's no documentation.The change could be just gfoidl@02044c5 in order to don't put too much emphasis on it, but still have it documented.
Beta Was this translation helpful? Give feedback.
All reactions