This refactors a bit how the connection to the repository is done in the graphql handler, so that we can properly commit transactions.
This refactors a bit how the connection to the repository is done in the graphql handler, so that we can properly commit transactions.