Adapters should implement the FeatureInterface CreateStreamIfNotExists when they provide such a functionality. It should be possible to turn the mechanism on or off.
EventStore has to check if adapter can handle on the fly generation and throw an exception if not.
EventStore should trigger the creation only when a new entity should be persisted and the store has no entity of same type in the identity map.
EventStore provide event-driven possiblity to abort the try.
Adapters should implement the FeatureInterface CreateStreamIfNotExists when they provide such a functionality. It should be possible to turn the mechanism on or off.
EventStore has to check if adapter can handle on the fly generation and throw an exception if not.
EventStore should trigger the creation only when a new entity should be persisted and the store has no entity of same type in the identity map.
EventStore provide event-driven possiblity to abort the try.