Better fail-safes for EventSourcedAggregate: take point-in-time snapshots of event arrays when committing instead of passing an array reference (which might change); check if a snapshot strategy is present before using it.
loadAggregate now optionally makes use of a cacher (to be passed when creating the loader). The loading code has been refactored for greater clarity.
The service container now overlays resources dynamically (in the generated function) rather than statically (at the time of function creation). This allows dynamic propagation of context variables, such as user IDs, sessions etc.
Merge branch 'master' of https://github.com/rkaw92/esdf