Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support `@UnitOfWork` in sub-resources #1959
Currently Dropwizard doesn't open transactions in sub-resources as reported in #1806. The problem is that Dropwizard scans resource methods for
I have an alternative fix for this issue that adds the sub-resource locator methods in the
I also created a test for it based on the
Running the tests provided by @arteam with this fix the issue is not there though.
added a commit
this pull request
Mar 13, 2017
I had a look and your proposed fix and it works too. Nevertheless, I believe it's better to go with the pull request proposed by me. The motivation is too try to switch from the static lookup to dynamic to avoid guessing completely and delegate it to Jersey. We can use your fix as a backup plan in case the original fix causes any problems.