Andrew Craven
1 min readSep 24, 2020

--

Good article, but I think your CustomerRepository, although registered as Transient, is being pulled up to be a Singleton by virtue of being injected into the Singleton CustomerQuery.

I ended up here as I'm trying to move from a Scoped Schema to a Singleton Schema but I'm having problems defining Scoped dependencies for the resolvers per request.

--

--

Andrew Craven
Andrew Craven

Written by Andrew Craven

Freelance Engineer, Architect, Problem Solver etc. https://twitter.com/acraven_dev

No responses yet