lukashinsch / spring-angular-cache-preloader

Component to pre-fill caches for angular js rest request though index page
MIT License
0 stars 2 forks source link

Refactor transformer class #6

Open lukashinsch opened 9 years ago

lukashinsch commented 9 years ago

Since this is mostly still the result of a POC, the main functionality of this lib is included in a single class. While still manageable in terms of length, it appears to be doing too many things, violating SRP. Writing unit tests for that class felt more like writing integrationtest in terms of the complexity of the setup. Better break up the class into smaller units with single responsibility.