Sync-ed Invalidation
Previsouly, because invalidations were called in a go-routine, user of the generated repositoy will see inconsistent state even in single-thread/ordered calls.
Since v0.2.0, it's now synced and but still, the cache error handling is still a problem.