versioning - Adding more properties to existing CQRS Events -
we using neventstore (the artist formerly known jonathan oliver's eventstore) store our cqrs events. know if necessary create new version of event if wish add new property event.
i understand should not rename existing property create problem when reading events eventstore. but, if adding new properties create issues?
depends on how serializing messages. in other words, best way phrase (/ search existing answer) identify how serializing messages , find out how mechanism deals issue.
assuming it's json json.net , simple pocos, answer adding property handled pretty cleanly - in absence of customizations (which doable), new fields come in withe default(t)
, i.e. null
or 0
each relevant value.
Comments
Post a Comment