elliotritchie/NES — pull request #2 by mj1856 (2012-04-04 14:28:32+00:00)
Title: Check for null before registering an eventsource.

If you try to get an aggregate from a repository and it doesn't exist, it should not register the null as an eventsource. If it does, and you have other events to commit when the unit of work ends, it blows up with a null reference exception in NES.EventSourceMapper.Set.