These are chat archives for etorreborre/specs2
@etorreborre thanks for answering the question but I have a small problem, my code needs to run in AWS lambda environment, which means I can't create that instance of
MyHandler and run
handler as part of a
Main extends App object.
How can I solve this given that context, I have also left a similar comment on the stackoverflow question, sorry for not giving you enough context on this before.
def selfmight indeed be the only way out in your case. I also don’t know of a DI library able to do this kind of injection