Entry tags:
dybr
Friday, communication at work is pretty rare, everybody seems to be busy or just away.
I spent the whole day trying to make those three failing tests work. The problem was with "dependency injection", thanks to Crazy Bob and (maybe not so crazy) Kevin - their Guice, I never wanted to deal with it. Today I got into it, and, basically, decided to stay away.
Yes, you can add annotations to constructors. Then you'll need to add annotations to the data types used there. Etc. When I approached about 60 classes that need annotations (that includes
Now the question is, why does Swagger generate
The last question is probably crucial. Maybe Davis just does not test that part of the code.
So there.
Also, there was a "happy hour" meeting at 2:30; I joined, hung out there for about 10 minutes, and disconnected. Boring.
I spent the whole day trying to make those three failing tests work. The problem was with "dependency injection", thanks to Crazy Bob and (maybe not so crazy) Kevin - their Guice, I never wanted to deal with it. Today I got into it, and, basically, decided to stay away.
Yes, you can add annotations to constructors. Then you'll need to add annotations to the data types used there. Etc. When I approached about 60 classes that need annotations (that includes
Set[String], DateTime, etc, I decided that it's enough; rolled back all that shit.Now the question is, why does Swagger generate
Router class with these annotations? Also, why it has no bad impact on the tests in another project.The last question is probably crucial. Maybe Davis just does not test that part of the code.
So there.
Also, there was a "happy hour" meeting at 2:30; I joined, hung out there for about 10 minutes, and disconnected. Boring.