I want to be able to set properties on the JsonSerializer used to save events. (So it can save runtime type information for event properties that are interfaces.)
Changed JsonEventFormatter (and all other places JsonSerializer is used) to ask the environment for an instance of the JsonSerializer.
Changed NcqrsEnvironment to use a factory function so GetDefault() can return a new instance each time (when appropriate.)
I want to be able to set properties on the JsonSerializer used to save events. (So it can save runtime type information for event properties that are interfaces.)
Changed JsonEventFormatter (and all other places JsonSerializer is used) to ask the environment for an instance of the JsonSerializer.
Changed NcqrsEnvironment to use a factory function so GetDefault() can return a new instance each time (when appropriate.)