inakianduaga / scala-play-car-advert

Scala Play Restful example app w/ AWS DynamoDB integration
http://petstore.swagger.io/?url=http://scala-play-car-advert.herokuapp.com/swagger/car/adverts/spec.yml
Other
2 stars 0 forks source link

Move DynamoDB client to be dependency-injected #16

Closed inakianduaga closed 8 years ago

inakianduaga commented 8 years ago

Right now the DynamoDB client is generated in the DynamoDB storage class, this makes it that we have to choose between production & local there. It would be cleaner to have that decision outside and inject the client via Guice.