I'm about to build a new event sourced application. I am being challenged by the higher ups to not build a new application, but to extend an existing application that already has its own marten db. There is some chance that this new functionality may be decoupled into its own application down the track, but not straight away
I think it's a bad idea, but If I absolutely have to, I'd rather add a dedicated marten store for the new functionality and scope any events to that so I don't have to dig them out from the main store later on if we do decouple. I read the article on spinning up multiple databases, but note this conversation "We don’t yet have a way to register a matching IDocumentSession or IQuerySession type to go with the separate document store". If I read this right, does that make it a non starter for an event sourced system? How do I make sure I get the right document or query session in the new functionality code?