[mean-generator] invariants not being enforced #18
[mean-generator] accessing an entity instance may need to re-fetch it
first #17